I have my index page which is a .swf inside a dreamweaver html page. my other pages are .swf as well. I have chosen to load and unload the swf's inside the same html page that the index page sits in.
On one of my pages I have a magnifying glass which will show a larger picture of the jpeg in a pop window. I have placed the jpeg image inside of a html page.
The script attached to the flash button inside the swf is:
on (release) {
getURL ("java script:spawnWindow('http://www.chemistryadvertising.com/BigCWS-Program.htm','College World Series Ad','toolbar=yes,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=425,height=550')");
}
I then put this script between the HEAD tags in the html file that holds the image I want to pop up:
<script language="Javascript">
<!--
function spawnWindow(URL,Name,features) {
window.open(URL,Name,features);
}
//-->
</script>
Now I do not want to publish an html file in Flash and put coding inside of it. I simply want to put the action on the button and put the action in the html file that holds the image.
Thanks so much for reading. Hopefully, someone will actually be able to give me an answer.
Cheers, Jason

New Topic/Question
Reply



MultiQuote






|