;

PDA

Click to See Complete Forum and Search --> : flash detection example


chriegszocker
04-09-2003, 02:48 PM
hm, i know there are already post with this content, but i thought i could write something about it.

there's a way to detect a flash plugin, that is higher then 4.

just put in first frame a script like:


test = "test";
if (test == "test"){
GotoFrame Scene 3; /*here depends the writing form the version and system you use. in macromedia it is gotoAndPlay(3);

then write the end tag
*/


in the second frame stop the movie. and write something about needing a flashversion 5 or higher.

in the third frame put your normal movie.


this workes, because the flash plugin 4 and lower don't understand the equality sighns (==), so the if-statement won't work.

blanius
04-09-2003, 03:55 PM
In V4 you can use the system command

player_version

Will show OS and player version for example I show
WIN 6,0,65,0

So It's Windows Player 6

And I see the 6,0,79 is current so updating mine right now

chriegszocker
04-09-2003, 06:19 PM
i've heard that the mac OS has problems with this flash-commands, but i don't know.
i don't use mac.

Twisted Mind
04-10-2003, 07:28 AM
Originally posted by chriegszocker
i've heard that the mac OS has problems with this flash-commands, but i don't know.
i don't use mac.

Flash isn't optimized for Mac at all. There are BIG wieving problems with MAC. The biggest is that the framerate wo'nt work, it can display in 63 fps, 30.1 fps or 20.1 fps. It's really strange.

lopez1_de
01-17-2004, 07:49 PM
Originally posted by blanius

player_version

Will show OS and player version for example I show
WIN 6,0,65,0

So It's Windows Player 6


i think this is not correct. i have flash player mx (7.0) and my result is:
WIN 6,0,47,0

maybe the last three letters are the version?
has anybody an older version of flash installed?

blanius
01-17-2004, 09:46 PM
Hmm I get the same here, I'm pretty sure this worked before I had v7, must be a bug either in the flash player of the way this function works in 3dfa.