Pir8 97
11-07-2008, 06:35 PM
I have some green screened footage of people and animals that walk across my website. Normally I would remove the div at the end of the video or when the user clicks the hide button. In this case we have a handful of vids that play at different intervals so I need to keep the div with my swf up (unless the user clicks hide).
The problem is, depending on the user's settings, there may be links or a login form behind the swf. Since it is transparent the user will see the links, but not be able to use them.
I found an old solution in this thread http://www.actionscript.org/forums/showthread.php3?p=293125&posted=1#post293125. It uses JS to set onfocus/onblur to toggle between the movie and the HTML. Unfortunately it uses the old school <object> code which calls the script. I'm not sure how to integrate that in to the modern swfobject JS.
Any suggestions?
The problem is, depending on the user's settings, there may be links or a login form behind the swf. Since it is transparent the user will see the links, but not be able to use them.
I found an old solution in this thread http://www.actionscript.org/forums/showthread.php3?p=293125&posted=1#post293125. It uses JS to set onfocus/onblur to toggle between the movie and the HTML. Unfortunately it uses the old school <object> code which calls the script. I'm not sure how to integrate that in to the modern swfobject JS.
Any suggestions?