PDA

View Full Version : How to check for flash player version



DoubleInfinity
July 17th, 2008, 03:40 PM
I need my autorun cd of a flash file to detect the OS's current version of flash player and offer an update to 9... how can i do this? Is it possible?

thanks

SparK_BR
July 17th, 2008, 05:44 PM
I recall of my dad messing with the windows registry to gather information about the system...(using Flash 5)

he made an application that needed to be registered or would be cut in 30days(trial)
it's possible but i don't know how to do it

Swederius
July 17th, 2008, 05:49 PM
I found this flash detection kit: http://www.kirupa.com/developer/mx/detection.htm

However... I am not sure where I can write the specific version number of the flashplayer needed?
I would really need it to check for the latest version 9.0.124

Anyone know where to write it in the first code? (in the redirect code, it sounds awesome... as long as it can check for the latest flash version that is ;) )

glosrfc
July 17th, 2008, 05:56 PM
File, Publish Settings...under the HTML tab there should be an option to detect the plug-in. You should also be able to enter minor version upgrade numbers there.

If you're using SWFObject to embed your SWF, you can also enter majorVersion.minorVersion.revision numbers as one of the parameters, e.g.
var so = new SWFObject("movie.swf", "mymovie", "200", "100", "9.0.124", "#336699");

You can also use ExpressInstall http://blog.deconcept.com/swfobject/#expressinstall

Swederius
July 17th, 2008, 06:17 PM
If you're using SWFObject....

You can also use ExpressInstall...

I am not using SWFObject... and I would really prefer not to put some extra SWF objects in the webpage gallery. The redirect-solution in the link I provided sounds perfect, only it doesen´t say where to put the version numbers... :(

Anyone here who know javascripting that could tell where to put the versionnumbers?
Please, please, pretty please... :)

glosrfc
July 17th, 2008, 06:23 PM
It's not perfect because the link you provided only accounts for major versions whereas you're specifically looking to detect both a major version and revision change.

I've given you three places to get the correct javascript from but you've dismissed them out of hand...so good luck in your search.

Swederius
July 17th, 2008, 06:28 PM
The thing is I am not going to display flash movies, flv or swf files. I will display mp4 files wih a player that is compatible with both flash and mp4. And it needs a specific version to be able to play mp4 files (one of the latest version).

So the solutions connected with swf-objects doesen´t fit my needs. :(

Thanks for the good luck, I will need it.
(I have been searching for a solution for quite some time now).