Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
02-20-2003, 10:11 PM #1
- Join Date
- Feb 2003
- Ottawa, Ontario
- Thanked 0 Times in 0 Posts
Script works in IE but not Netscape
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.
Thank-you in advance. Peter
var moviename = "testcommand";
var movie_ready = "false";
//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)
if(movie_ready == "false")
while(movie_ready == "false")
if(movieobject(moviename).PercentLoaded() == 100)
movie_ready = "true";