wood burning stoves*
The moose likes Java in General and the fly likes Is flash present Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Is flash present" Watch "Is flash present" New topic
Author

Is flash present

Bill Vai
Greenhorn

Joined: Dec 07, 2002
Posts: 22
I can't seem to remember how to check if a person has flash on there system or not . Can I get a hint please.
Thanks
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
hi:
ask them visit this site. if asked to install flash, then there is not on their computer.
Bill Vai
Greenhorn

Joined: Dec 07, 2002
Posts: 22
Maybe I should clarify. When someone goes to my site I have a little bit of flash on it. If the person going to my site does not have the ability to view flash I have alternate coding for this. The thing I need to know is how to find out whether they have flash on there machine or not.
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
in practice, i saw most web pages leave options to user whether they want to go with flash one or the plain one.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61010
    
  65

To actually answer the question:
There is no standard way to check for the availabilty of plugins with the browsers. Netscape (and surprisingly, IE on the Mac) support a plugin object that you can query.
I'd noodle around the Macromedia dev forums to see how to test for it on the various browsers. There is an ActiveX control that you can use to test for flash in IE/Win. Not sure what is available for lesser-known browsers.
hth,
bear
P.S. You might also find more help in the HTML/Javascript forum since this isn't really Java related.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bill Vai
Greenhorn

Joined: Dec 07, 2002
Posts: 22
Thank you Bear.
satish_kumar
Greenhorn

Joined: Jun 07, 2003
Posts: 1
hi ,
check if this helps you.
http://www.webreference.com/js/column84/3.html
satish
Bill Vai
Greenhorn

Joined: Dec 07, 2002
Posts: 22
In case someone wanted to know. I made a very small 18px by 18px swf file and if it found the player it redirected to the real swf file I wanted to play else it just refreshed after 4 seconds to a page without the flash.
Amy Phillips
Ranch Hand

Joined: Apr 02, 2003
Posts: 280
Yeah I think normally you just get a flash enter button if you see it click it otherwise choose the HTML version.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is flash present