Hello guys!
I have this JS function that I use to control a flash movie:
function controlFlashMovie(objElement, strValue){
var objFlash, currentSelection;
objFlash = eval("document." + objElement);
if (objFlash.PercentLoaded() == 100)
{
try{
currentSelection = objFlash.GetVariable("_global.menu_selection"); if(currentSelection != strValue)
{
objFlash.TGotoLabel("_level0.main.movie" + strValue, "pressed");
objFlash.SetVariable("_global.menu_selection", strValue);
}
}
catch(strError)
{
}
}
}
Everything works just fine in IE ... but in Opera and Mozilla this script is not working....Any ideas?
Thanks!
Regards,
Dragos.
I have this JS function that I use to control a flash movie:
function controlFlashMovie(objElement, strValue){
var objFlash, currentSelection;
objFlash = eval("document." + objElement);
if (objFlash.PercentLoaded() == 100)
{
try{
currentSelection = objFlash.GetVariable("_global.menu_selection"); if(currentSelection != strValue)
{
objFlash.TGotoLabel("_level0.main.movie" + strValue, "pressed");
objFlash.SetVariable("_global.menu_selection", strValue);
}
}
catch(strError)
{
}
}
}
Everything works just fine in IE ... but in Opera and Mozilla this script is not working....Any ideas?
Thanks!
Regards,
Dragos.