[flexcoders] Determining which version of FlashPlayer was compile/linked?

2010-03-26 Thread jp...@pacbell.net
Let's say you have compiled your app to use 10.0.0 or maybe 9.0.124 or whatever.When the app is running, is there an easy way to determine (from within the app)which version of flash player it was compiled for?Some API like: getGlobalPlayerVersion():String or some such? [while trying to find bugs

Re: [flexcoders] Determining which version of FlashPlayer was compile/linked?

2010-03-26 Thread Oleg Sivokon
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: