Stones
05-14-2001, 08:17 AM
I'm trying to get my flash movie to detect wether the user has the latest version of flashplayer.
This is my script:
version = getVersion();
flash_ver = version.split(",");
ver = flash_ver[2];
if (ver > 42) {
gotoAndPlay ("Scene 1", 1);
} else {
gotoAndPlay (2);
}
stop ();
I have downloaded the latest version of flashplayer on to my browser and yet I keep going to frame 2 instead of Scene1
,frame 1.
Is the number that I'm giving as the version No, incorrect.
thanks for your help
This is my script:
version = getVersion();
flash_ver = version.split(",");
ver = flash_ver[2];
if (ver > 42) {
gotoAndPlay ("Scene 1", 1);
} else {
gotoAndPlay (2);
}
stop ();
I have downloaded the latest version of flashplayer on to my browser and yet I keep going to frame 2 instead of Scene1
,frame 1.
Is the number that I'm giving as the version No, incorrect.
thanks for your help