Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 19th, 2002, 07:03 PM
mizzory mizzory is offline
Sencha Developer
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2001
Location: STL
Posts: 547 mizzory Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 Day 14 h 42 m 29 sec
Reputation Power: 0
Send a message via Google Talk to mizzory
Flash Detection

Is there a way I can detect the version of Flash a user has using PHP or is it javascript or any language?

Reply With Quote
  #2  
Old August 20th, 2002, 02:04 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,966 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 52 m 24 sec
Reputation Power: 189
you can. and you can not. it depends on the browser and the userīs settings.

www.macromedia.com has a script for that, but i found better ones on the web.
they work like this:
- check browser AND OS (eg. on IE/MacOS there is no VBScript! and for MacOS, Netscape and Flash<=5 the FSCommand interface does not work - and so on)
-- IE/Windows: create object using vbscript, if it fails there is no flash
-- IE/Mac - output the flash tags with auto-download option.
-- NS: check the navigator.plugins array for occurences of "flash"
-- if none of these succeeds, output a 1x1 flash movie that only forwards the user to another page (the entry to the pages with flash) and use <meta refresh> to load the non-flash page after some seconds.

you can see, if javascript is disabled, you cannot detect flash. the only reliable way is to let the user choose...
this is why i donīt use flash for web-pages but only decoration and nice menus
(you can supply <noscript> and <noembed> tags to display another menu instead if there is no flash, but i donīt consider this "plugin detection")

and the same deal with MF QuickTime!
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Flash Detection

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap