Javascript to unload or stop Flash?
Hi all,
I am curently assembling some Macromedia Captivate Flash movie on one web page for my students.
When my user clicks on one of my links, a javascript function makes my DIV content visible simulating a modal window. After, when my user clicks on my X icon I then hide the DIV (visibility:hidden).
All works well but my embedded Flash continues playing! (well I hear the sound cause the DIV is now hidden...)
How can I flush-unload-stop the player elegantly from a javascript function? I must not run into memory issues cause my students can peek at many videos within a session.
Thanks for reading!
Can I have the script sample..
I have been searching around the web and finally I found the right one.... Please can you share the script with me....