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!

detect plugin & backwards compatibility.

Status
Not open for further replies.

styleBunny

Technical User
Jun 20, 2002
133
AU
I recently made a flash movie in MX then embedded it using dreamweaver 4, only to find that when it was supposed to decect the plugin, it wouldnt install the most recent version. I looked at the code created by dreamweaver4 to find that it was referencing ver. 5,0,0,0 for the flash plugin (the current ver at the time DW4 was released i presume) So i updated it to the 6,0,40,0 and we all lived happily ever after. It got me to thinking why, didnt DW check in the SWF file for what version of the plugin it would need to detect and download seems strang to me, ne1 had a similar experiance or suggestions?
p.
 
I've got a plugin detection movie that I can mail you. If the version isn't greater than or equal to 6, 0, 40, 0 then it directs them to a page which lets them know they need to update.
Otherwise it goes to a page which lets them know its OK.

I've tested this on Flash Player 3, 4, 5 and 6, and all seemed OK.

Regards
 
really? so it sends them to a different page before the download? The way its done in DW, where it pops up the dialouge box is a bit abrupt, im sure u noticed. my email is zero_45@hotmail.com

thanks!
paul.
 
Email has been sent.

Regards
 
Hi, I would also be interested in it.... could you send it to me to...... please...... winterluna@hotmail.com

Thanx

Marc
 
Its realy simple, just add this to your first frame:

Code:
if ($version.indexOf("6,0,40,0") != -1) {
	gotoAndPlay (2);
} else {
	getURL ("upgrade.htm");
}
Regards

David Byng

spider.gif


davidbyng@hotmail.com

if (My Answer == "Good Post") {
print (
star.gif
);
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top