Here’s a great example of bi-directional communication with Flash / Actionscript and Javascript inside an HTML form using SWFObject with my SWFFormFix patch.
http://devel.teratechnologies.net/swfformfix/extinterfaceexample.php
Unlike my previous example pages, this one includes the source code for the Flash movie (the FLA). Let me know if you like it! »
I have patched the newest version of SWFObject (1.5) to include FlashFormFix 1.0.0. If you use this version in place of the standard SWFObject it will automatically apply SWFFormFix (bugfix for ExternalInterface() in a Form with IE) when you use it - this means all you have to do is replace your standard swfobject.js with the new swfobject_swfformfix.js and you’re done!
Here’s the optimized version: http://devel.teratechnologies.net/swfformfix/swfobject_swfformfix.js (to download it right click and “Save Link As” or something similar) »
I just finished SWFFormFix 1.0.0 - a BIG update from the 0.1.0 prerelease! This new version introduces Auto Mode which takes care of everything for you! All you need to do is include the script in you and call SWFFormFixAuto() before the closing tag!
For more specific instructions or to download it go here:
http://devel.teratechnologies.net/swfformfix/swfformfix.js (to download it right click and “Save Link As” or something similar)
This version also contains an updated version of the previous function “SWFFormFix()” that is more optimized and probably faster than the Auto version. »
It seems every time I try something new I need to fix other people’s problems to get it to work, arrrrg! [:(] I decided to try use Flash 8’s ExternalInterface() class to communicate with the Javascript function on my page. I liked the sound of this method because I can pass an array of arguments with it and return a variable back from the Javascript to my Actionscript - all in one command! »
Have you ever seen the annoying gray box around Flash content on websites? If you have, you must have done the unthinkable and used Windows Update [:O]. To make a long story short, a company called Eolas Technologies got in a yelling match with Microsoft and the two companies have since tried to make life more difficult for each other. Microsoft decided to require Internet Explorer users to click once on EVERY ActiveX control (actually anything in an EMBED or OBJECT tag) as a safety precaution. »