A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: how to detect flashversion from inside flashmovie without javascript?

  1. #1
    Member
    Join Date
    Jun 2003
    Posts
    76

    how to detect flashversion from inside flashmovie without javascript?

    is it possible to check the flashplayer version from inside the movie without using javascript?

    i have seen on some hacking sites that they just uninstall the flash8 player and use the flash7 player to easily find the values in memory

    so i want my flashmovie to only work with the new flashplayer 9+

  2. #2
    Member
    Join Date
    May 2004
    Posts
    60
    // FLASH DETECTION

    targetVersion = new Array(9,0,28,0); //define target version arrays

    flashVersion = System.capabilities.version; // output: WIN 8,0,1,0
    flashVersion_A = flashVersion.split(" ",2);
    tempVar = flashVersion_A[1];
    flashVersionNumber = tempVar.split(",");

    if(flashVersionNumber[0] < targetVersion[0]){

    gotoAndStop(1);

    }
    else {
    gotoAndStop(5);


    }

  3. #3
    Member
    Join Date
    Jun 2003
    Posts
    76
    works great, thanks alot

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