Skip to content Skip to sidebar Skip to footer

Get Ie Object To Control Flash Buttons

In the following code there are buttons in the flash which i am trying to make it accessible by html buttons. so when record button is pressed the mode will be 'record' and the r

Solution 1:

You should take your swf by an id attribute on IE, but by a name attirbute in other browsers.

if (navigator.appName.indexOf("Microsoft") == -1)
    swfObject = document["mozillaEmbedName"];
else
    swfObject = window["ieObjectID"];

Solution 2:

You did not specify the error you get, if it is a reference error (can't find flash)

I suggest using swfobject that will return a reference to your object, check this out: http://code.google.com/p/swfobject/

Post a Comment for "Get Ie Object To Control Flash Buttons"