SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict dtracker's Avatar
    Join Date
    Feb 2002
    Location
    Montreal, Canada
    Posts
    284
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Flash 6 detect??

    Is there a script or a plugin that enables flash 6 detection?
    Peace - Paz - Paix

  2. #2
    SitePoint Member
    Join Date
    Apr 2002
    Location
    Little country called Estonia..
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is your goal to detect the version (6th) of Flash or just Flash?

    You can implement it with Flash itself for example.
    In Flash there you can use ActionScript to detect version.

    Hope this helps.
    Gaspar Sukk - "Thirsty? Go to internet.."

  3. #3
    SitePoint Wizard Bill Posters's Avatar
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you are using a page solely for Flash 6 detection/redirection then a simple, 100% reliable alternative to the often long and messy javascripts would be to use a small, single-frame Flash 6 swf file to do the 'detecting' for you.

    • Create a small flash document in Flash Mx and place a getURL actionscript in the first frame that directs the browser to the flash content page with _self as the target.
    Publish the swf in Flash 6 format.

    • Create a basic HTML page to hold the swf.

    • Add a meta refresh tag to the header of the page and set it for a few seconds delay.
    Have the meta refresh tag redirect to the non-Flash page.

    If the Flash 6 plugin is present/active, the swf will play and the getURL actionscript in the swf will redirect the browser to the flash content.
    If Flash 6 isn't present/active (or a version of Flash lower than 6 is present) then the swf will not be played and the Meta refresh will kick in and redirect the browser to the non-Flash 6 content.

    This method is 100% cross-browser/cross-platform compatible.


    Anyway, just a thought
    New Plastic Arts: Visual Communication | DesignateOnline

    Mate went to NY and all he got me was this lousy signature

  4. #4
    SitePoint Wizard silver trophy TheOriginalH's Avatar
    Join Date
    Aug 2000
    Location
    Thailand
    Posts
    4,811
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Indeed it is, but it also puts a barrier up to users who may have downloaded the plug-in.

    I'd say you'd need to (on your meta-redirected page), give users the opportunity to download the plug-in and return to shmancy land, even if it's just a little introductory sentance (or feature of a side bar).
    ~The Artist Latterly Known as Crazy Hamster~
    922ee590a26bd62eb9b33cf2877a00df
    Currently delving into Django, GIT & CentOS

  5. #5
    SitePoint Wizard Bill Posters's Avatar
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was simply answering dtracker's needs as he/she stated them.
    How s/he handles his/her visitors is not really my concern.

    Nonetheless, it's a good point, TOH.

    I shall bolt that little addendum onto the end next time I roll out this method (if I'm feeling user-friendly)
    New Plastic Arts: Visual Communication | DesignateOnline

    Mate went to NY and all he got me was this lousy signature


Bookmarks

Posting Permissions

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