Groups | Blog | Home
all groups > macromedia players flash > august 2006 >

macromedia players flash : A way to detect what FlashPlayer version a SWF was compiled in?



red_5_standing_by
8/17/2006 3:11:13 PM
Thanks in advance for any assistance. Visiting a client web site, expecting
Flash to play. Doesn't work, and I'm assuming it's because the browser doesn't
have up-to-date FlashPlayer. Is there a way to detect -- via FlashPlayer or
Flash -- which version of FlashPlayer the SWF was compiled for?

We're trying to troubleshoot for lower-end users who may not have upgraded
their players. Any insight would be appreciated. Thanks!
Jeckyl
8/23/2006 12:00:00 AM
[quoted text, click to view]

Sorry ... That does not really tell you .. it only tells you what the HTML
author THOUGHT was the player version required to play. it may be too high,
or too low.

To tell what version of Flash Player it is published for, look at the fourth
byte of the SWF file .. that is the version number (ieg 0x04 means version 4
etc)

--
Jeckyl

mpaquette
8/23/2006 2:22:32 AM
Hi, i'm new to flash, but in my recent devopment of flash objects, you can
check the source file on the page in question and do a find for the "object"
tag. it should look something like this:

<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=5,0,42,0"
[quoted text, click to view]


the above code says my file is a flash five file.
mp
AddThis Social Bookmark Button