A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: flash detection example

  1. #1
    Member
    Join Date
    Aug 2002
    Location
    Switzerland
    Posts
    71

    flash detection example

    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:

    PHP Code:
    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.
    Bruno

    www.tonetube.ch

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244

    player_version

    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
    Last edited by blanius; 04-09-2003 at 02:57 PM.

  3. #3
    Member
    Join Date
    Aug 2002
    Location
    Switzerland
    Posts
    71
    i've heard that the mac OS has problems with this flash-commands, but i don't know.
    i don't use mac.
    Bruno

    www.tonetube.ch

  4. #4
    hates sounds in preloaders.
    Join Date
    Nov 2002
    Location
    Sweden
    Posts
    361
    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.
    hurg.

  5. #5
    Senior Member lopez1_de's Avatar
    Join Date
    Oct 2001
    Location
    Germany
    Posts
    299

    Re: player_version

    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?

  6. #6
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center