"For some reason, the startflash does not work for IQ or FF."
Are you trying to reference the var "startflash"? Because
swfobject.embedSWF() does not return a reference to the swf by calling the
function.
This means startflash = swfobject.embedSWF(....) will always = undefined
Or do you mean the alert('Start flash') line in function
picMenu_DoFSCommand() is never called?
Aran
Here is a fully working version of your code:
http://www.misterhee.com/tests/ngsi3.html
I had to add Philip's nice replace code so that after you clicked on one
company, and his the FS_command button, and then made a new selection, that
it would successfully overwrite the old movie.
Aran
-----Original Message-----
From: swfo...@googlegroups.com [mailto:swfo...@googlegroups.com] On
Behalf Of Jwos
Sent: Friday, 29 August 2008 10:14 AM
To: SWFObject
Subject: Re: Won't show swf file using dynamic swfobject.embedSWF and
fscommand
I added swfobject.createCSS("#picMenu", "visibility:visible;"); after the
createSWF() call and all is well.
You can see an example here:
http://www.misterhee.com/tests/ngsi4a.html
I can however crash Safari (PC) with this method.
Realistically, I have spent all the time I can to get this FS_command system
working. It is a really antiquated method of browser < > flash communication
which is not recommended to use any more. For two major flash player
versions, the recommended method is to use ExternalInterface. I would
suggest you implement ExternalInterface for your files, and I think these
issues will go away.