A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Detection For Flash 5

  1. #1
    Member
    Join Date
    Nov 2000
    Posts
    72

    Exclamation

    Does anyone know an effective way of detecting the flash 5 player across macs and pc's. I've tried the deployment kit but find that a lot of intranets won't allow you to use VBScript and its causeing the page to flicker.

    Any Hope out there?

  2. #2
    Member
    Join Date
    Nov 2000
    Posts
    58

    Lightbulb An idea...

    One way of doing it is to put a simple swf onto an html page. The SWF needs to have some code in it the says something similar to:

    if (4+4=44) {
    getURL (index2.html)
    }

    what this does is in flash 4, 4 + 4 would equal 8. in flash 5, 4 + 4 equals 44 due to string concatination.
    So if the have flash5 player the browser will go to the page you tell it. If they don't have the flash 5 player all you have to do is use a meta tag in the HTML to tell the page to refresh after 10 seconds and go to another page
    wich you can put a link to the current flash player at Macromedia's site. the meta tag would look like this:

    <meta http-equiv="REFRESH" content="10; url=need_f.html">

    if the code doesn't show up sorry i thought HTML was turned of in this forum.

    hope this helps,
    james

  3. #3
    Member
    Join Date
    Nov 2000
    Posts
    72
    Brilliant: cheers James.

    I used that technique for flash 4 but couldn't figure out a way of distinquishing between 4 and 5.

    This will be usefull for other stuff also.

    Cheers

    Ronan

  4. #4
    you might try this (comprehensive) tute:

    http://polar-lights.com/fla/detection.html

    For simple 4 or 5 you just as well use macromedia's one, smthg like

    with(redirectMC){
    gotoAndPlay("redirto5frame");
    }

  5. #5
    Member
    Join Date
    Nov 2000
    Posts
    58

    Smile No Problem...

    No problem, Have fun....

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