Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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
Webmaster - Trying
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 490 mizzory User rank is Lance Corporal (50 - 100 Reputation Level)mizzory User rank is Lance Corporal (50 - 100 Reputation Level)mizzory User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 6 h 52 m 50 sec
Reputation Power: 8
Send a message via ICQ 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,969 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 1 Day 22 h 42 m 50 sec
Reputation Power: 184
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


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT