mjstone323
Technical User
Hi there! I'm stuck.
I've been trying to use this ASP and Javascript together to open a new window when a user clicks a button in my Flash movie. I start by putting this ASP code in my .fla:
on (release) {
getURL ("javascriptpenNewWindow('my_popup.html','height=675,width=500,toolbar=no,scrollbars=no')"
}
I publish my movie using "Flash Only" settings. Then I edit the .html file using this code in the head:
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>
saving the .html file.
When I test the movie, it opens a browser window, but it's empty, with an "object expected" error. The file that "my_popup.html" represents does exist. What am I doing wrong?
Thanks!
Marianne
I've been trying to use this ASP and Javascript together to open a new window when a user clicks a button in my Flash movie. I start by putting this ASP code in my .fla:
on (release) {
getURL ("javascriptpenNewWindow('my_popup.html','height=675,width=500,toolbar=no,scrollbars=no')"
}
I publish my movie using "Flash Only" settings. Then I edit the .html file using this code in the head:
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>
saving the .html file.
When I test the movie, it opens a browser window, but it's empty, with an "object expected" error. The file that "my_popup.html" represents does exist. What am I doing wrong?
Thanks!
Marianne