Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-14-2001, 08:17 AM   #1
Registered User
Join Date: Apr 2001
Posts: 35

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
Stones is offline   Reply With Quote
Old 05-14-2001, 09:05 AM   #2
Registered User
Join Date: Dec 2000
Location: Down Under
Posts: 48
Send a message via ICQ to seventhmonkey

try using if (ver >= 42) { instead.

If the latest version is only 42, as you said in your other post, than it won't be picked up by the code..

seventhmonkey is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Developing a flash site, Part1: Some thoughts Bloom22 Other Flash General Questions 6 09-29-2006 02:10 AM
[Q] Flash Player version issue... CyanBlue Other Flash General Questions 14 07-12-2004 01:45 PM
detecting flash - another method?? texbala Simple Stuff (Newbies) 4 05-06-2003 10:30 PM
Bar Code Readers, PDQs and Flash and ColdFusion niklas ActionScript 1.0 (and below) 5 04-09-2003 05:32 PM
Flash MX version check comicGeek ActionScript 1.0 (and below) 1 08-13-2002 01:35 AM

All times are GMT. The time now is 09:06 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.