Hello!

I have a script for starting a Flash .swf movie, embedded in an HTML page, at a specific frame number. In this case frame 50

This script works fine in Internet Explorer but not in Netscape (the versions I have are 4.7, 6.0, and 7.0)

Can anyone tell me what, if any, changes can be made to the script to have it perform the required function in Netscape.

I am not proficient in the writing of javaScript but can work with snippets.

Thank-you in advance. Peter

<SCRIPT LANGUAGE="JavaScript">
<!--
var moviename = "testcommand";
var movie_ready = "false";

function movieobject(moviename)
{
//IE and Netscape refer to the movie object differently.
//This function returns the appropriate syntax depending on the browser.

if (navigator.appName.indexOf ("Microsoft") !=-1)
{
return window[moviename]
}

else
{
return document[moviename]
}
}



function go()
{
if(movie_ready == "false")
{
while(movie_ready == "false")
{
if(movieobject(moviename).PercentLoaded() == 100)
{
movieobject(moviename).GotoFrame(50);
movie_ready = "true";
}
}
}

else
{
movieobject(moviename).GotoFrame(50);
}
}




//-->
</SCRIPT>