Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Detect Flash

Status
Not open for further replies.

mrroberts

Technical User
Jun 5, 2001
19
GB
Hi there,

I am wondering how you can get you opening web page to auto detect if someone has flash or not.
I have searched and read some other posts but am still not sure how its done.
Does it have to be done in Dreamweaver using HTML code or can it be done just in Flash and either way how exactly do you do this. I just think the auto detect thing looks better than just a link saying
"if you dont have flash download it here" (which I have at the monent).....

Any help appreciated.....

Cheers....

Aaron
 
Someone here will most likley know but things seem a bit quiet at the moment. You will need to use Javescript so you might want to check the javescript forum. There are plenty of detection scripts out there so someone should be able to give you the script. roda B-)

Learning is like rowing against the current. As soon as you stop, you start going backwards.
 
I do know that Flash 5 publish settings will create an HTML page for you with the swf embedded into it. This file is coded to automatically detect the flash player and will suggest the download from Macromedia.com if it is not found.

This prevents Flash programmers from having to bother with that end of the process. It also prevents you from having that overused macromedia logo on your front page with a question under it like..."can you see the moving dots above?.. if not you must download Flash player"

Here is a sample of the code that is automatically embedded into the HTML page:

<OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;
codebase=&quot; WIDTH=100% HEIGHT=100%>
<PARAM NAME=movie VALUE=&quot;welcome.swf&quot;> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src=&quot;welcome.swf&quot; menu=false quality=high bgcolor=#000000 WIDTH=100% HEIGHT=100% TYPE=&quot;application/x-shockwave-flash&quot; PLUGINSPAGE=&quot;</OBJECT> Ya' Gotta Love It!
sleepyangelsBW.jpg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top