Groups | Blog | Home
all groups > flash ad development > june 2006 >

flash ad development : How do i close a flash overlay ?


vron55
6/1/2006 9:08:37 AM
Hi,

Im trying to float a swf intro/ad in a div over my html content. I would like
the swf to close itself when a button is pressed but have not found anything on
the web to help with this. I am also finding that the flash doesnt show up in
firefox (only IE)....

Im new to the whole flash banner overlay thing and any pointers would be
greatly appreciated!

Thanks :)
etruthflash
6/2/2006 5:32:18 PM
Hey,

For a quick and dirty solution...

Let all the visible layers end at say frame 100. On that same frame in an
actionscript layer put a stop action. On frame 101 put a stop action and label
the frame something like "closed." Have your close button actionscript goto the
frame labeled "closed".

This of course also assumes you are using the wmode transparent in your embed
or active x workaround in your web page. That way when it hits "closed" nothing
shows on the screen.

-Mark
AddThis Social Bookmark Button