Hi.

The problem is that SWF format doesn't contain a field that specifies the
version it was compiled for. There is FileAttributes tag in SWF, but it only
contains information on VM version and there are the "magic letters" in the
file header that provide you the file version. More info here:
https://docs.google.com/viewer?url=http://www.adobe.com/devnet/swf/pdf/swf_file_format_spec_v9.pdf

But, it is not possible to tell if the version the SWF was compiled for is
greater then the player version for example. This is why you would get
VerifyError if you used Vector.<T> and run it in FP9 - the player has no way
to know it can't play the SWF, it'll find that out the hard way.

So, the advise would be, same as for JavaScript - "test for feature, not
version" :)

Best.

Oleg

Reply via email to