[Solved]SWF version for adobe air project

wanted to build air mobile app, with openfl, but got stuck with swf-version
I added <app main="Main" path="export" file="app" swf-version="40" />,
but got error error 305: Intial window content SWF version 51 exceeds namespace version http://ns.adobe.com/air/application/29.0 I am doing something wrong ?, as I don’t get how 40 can become 51. Checked lime code but it doesStd.parseFloat there so should be ok.

Thank you

Hi Hersir.

I might be wrong but as far as I can remember Haxe’s maximum is swf-version=17.

Ok found solution
<set name="SWF_VERSION" value="29.0" /> is set to 40.0 looks like 11 is added to version but could not find anything in source

I think this is the reason:

1 Like