Design flaw of lower Flash version - you can run swfobject.getFlashPlayerVersion() (see http://code.google.com/p/swfobject/wiki/api ) so check what if any version of Flash they have before trying to even do an embedSWF() etc. This would allow you to run multiple sets of logic to catch your various conditions.
ExpressInstall - only works with 6.0.65+ I take it you were working with a version above that? Yes, browser testing is a pain. Have you found http://www.pluginswitcher.de/ or http://www.sephiroth.it/firefox/flash_switcher/ (FF add-on) ExternalInterface - It's really easy actually :) // here we are defining AS function which will call a JS function, and getting the return value. // Nothing extra required on the browser side (other than defining a doEcho function) import flash.external.ExternalInterface; function doEchoJS(msg : String):String { var returnStr : String = ExternalInterface.call("doEcho", msg); return returnStr; }; Cheers, Aran -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of dck Sent: Wednesday, 10 December 2008 5:58 PM To: SWFObject Subject: Re: Having difficulty with Firefox I was reading some articles that suggest to put it after div, but then I tried on head and it works anyway. I found one flaw in that design. When flash is not running because of lower flash version, both alternate contents and warning showed up. (Not sure what happened to expressInstall). So I mess around a bit and by placing <script>removeWarning();</ script> before closing the flash div tag, it should work since javascript would be running anyway. (haven't tried again with lower flash version) For some reason IE6 wouldn't run the site so tried updating flash manually and it worked (again, whatever happens to expressInstall...) Then I upgrade to IE8beta2 and the "add-on" blocks swf from running. Though the alternate contents is showing. And since warning still shows I presume javascript is still running. Can't seem to install/ download flash automatically either. Tells me some add-ons have been deactivated. I used FF3 to download flash player plugin again and install again. Then it works. Compatibily testing is a big pain sometimes. Opera and chrome seems to do ok. not sure how to use externalinterface. heh. that thing never been very agreeable with me. I m gonna do some more research bout that. Thanks for the info. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
