This is a discussion on "Detecting Flash" within the Flash & Multimedia Forum section. This forum, and the thread "Detecting Flash are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Detecting Flash
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Detecting Flash
<font face="Tahoma">
<font size="2"> <font color="blue"> I've used various techniques for detecting flash and showing different content depending upon whether their browser handles flash or not. I found one which is flash was installed showed the flash movie, if not then show an image - I have been unable to locate the code - can anyone help me out? I need it to de done on the same page - no redirect - just if flash then show flash movie else show this image. Muchos Grassiasos for anyone who can help me out </font id="blue"> </font id="size2"> </font id="Tahoma"> |
|
|
|
|||
|
This very code is available in the Flash application itself!
Open your movie in flash and go to File > Publish Settings. Click on the HTML tab and under "Template" select, "Detect for Flash X" where X is the version of flash you want to detect for. If you click on "Info" you will read: "Uses browser scripting to detect the presence of the Macromedia Flash Player. If Flash player 6 or above does not exist an image alternative will be loaded." Ensure you also tell flash to publish either a GIF or JPEG image (your preference) so that the code links to the image flash also produces. The code produced is the following:
|
![]() |
| Tags |
| detecting, flash |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| wrapper not detecting content | saltedm8 | Web Page Design | 4 | Apr 6th, 2008 22:31 |
| Detecting characters between < and > ? | Kerosene | JavaScript Forum | 5 | Jan 16th, 2008 16:32 |
| Detecting form navigation | amits | JavaScript Forum | 4 | Aug 24th, 2007 16:26 |
| Detecting Browsers and un-registered globals | Steve Mellor | PHP Forum | 4 | Apr 18th, 2007 17:26 |
| Detecting JRE version using javascript | Nagendra | JavaScript Forum | 0 | Sep 18th, 2006 05:08 |