A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Easy way to stop Flash 5 player running MX SWFs?

  1. #1
    Harry Tuttle phantomflanflinger's Avatar
    Join Date
    Aug 2001
    Location
    Somewhere in the 20th Century...
    Posts
    387

    Easy way to stop Flash 5 player running MX SWFs?

    Yes, I want to stop Flash 5 player running version 6 SWFs; I thought if you compressed them they'd be unplayable but no.

    Why? There are tons of pages I have to sort out where to check player they've put a little version 6 swf which takes you on to the desired URL and if it doesn't kick in, HTML sends you to the player download site.

    They thought Flash 5 wouldn't play them, and neither did I.

    These little forwarding movies need to be small and simple (so the clients can make them in future, choose the URL themselves).

    Any help appreciated.
    We're all in it together

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    What if you slap a component off stage in the movie?

    Or what's the cab version in the embed tags of the html you're using to display these check movies?

  3. #3
    Harry Tuttle phantomflanflinger's Avatar
    Join Date
    Aug 2001
    Location
    Somewhere in the 20th Century...
    Posts
    387
    Cab version is 6,0,0,0 or 6,0,29,0 , it makes no difference, Flash 5 can still play them.

    Adding a component may work, but there's a get command that can ask what version of the player is running, although I've never used it...
    We're all in it together

  4. #4
    Senior Member
    Join Date
    Aug 2001
    Posts
    106

    this might work..

    I'm not sure if it'll work but it should ..all you got to do is use getVersion()
    like this:

    ad this on the first and


    ver = getVersion(); // gets version
    thespace = ver.indexOf(" "); // looks for the first space in the variable ver
    thevesionNum = ver.substr(thespace+1, 1); // checks to see the caracter after the space ... the main version

    if (thevesionNum>=6) { // if it larger or equal to 6
    gotoAndPlay("hasPlayer");
    } else { //if not
    stop();
    }


    here you go
    _yorgo

  5. #5
    Harry Tuttle phantomflanflinger's Avatar
    Join Date
    Aug 2001
    Location
    Somewhere in the 20th Century...
    Posts
    387
    Thanks, that works.

    Turns out the clients PCs had been in Internet cafes, so installation on demand of anything was blocked. So player 6 couldn't be installed.
    We're all in it together

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