This is a discussion on "Script to detect flash?" within the JavaScript Forum section. This forum, and the thread "Script to detect flash? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Script to detect flash?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Script to detect flash?
Hi, I am a beginner in flash and need a little help. I have an animated gif banner and a flash banner. What I want is to have a code...either javascript or actionscript to check if a visitor has flash or not. If they do have flash, i want the flash file to play and if the visitor does not have flash, I want the animated gif image to play. What would be the proper code for this? Thanks
|
|
|
|
||||
|
Re: a little help with script??plzz
This would be JavaScript, or maybe PHP?? I will move this to the JavaScript area for ya, and you can see what they say.
|
|
||||
|
Re: a little help with script??plzz
PHP can't detect plugins as far as I know.
|
|
|||
|
Re: a little help with script??plzz
Quote:
ok thnks JacobHaug, hope i get some answers cuz i searched alot and cant figure it out. |
|
|||
|
Re: a little help with script??plzz
Here you go fezunit - this site has the appropriate code! (Doesn't work with netscape and Konqueror though...)
http://www.quirksmode.org/js/flash.html |
![]() |
| Tags |
| action, java, script |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| php script handling flash Actionscript? | lisafelst12 | PHP Forum | 2 | Dec 10th, 2007 04:48 |
| Radio request script in Flash | liljokajosh | Flash & Multimedia Forum | 2 | Sep 5th, 2007 16:34 |
| Javascript detect Flash, change CSS? | bigd | JavaScript Forum | 0 | May 3rd, 2007 08:20 |
| Popup Name Detect | RobinDeanDotCom | JavaScript Forum | 0 | Feb 24th, 2007 22:35 |
| Detect IE | Totti | JavaScript Forum | 4 | Dec 6th, 2006 00:48 |