TIGSource Forums

Developer => Technical => Topic started by: TadeuBAS on July 20, 2012, 04:50:47 PM



Title: Is it normal to AIR increases your game file size in 1600% ? [SOLVED]
Post by: TadeuBAS on July 20, 2012, 04:50:47 PM
My AS3 project compiled for AIR has 21MB on the .swf, and the same when compiled for flash player.

But when I execute the command for package (adt -package -storetype pkcs12 -keystore cert.pfx myGame.air application.xml .), the generated myGame.air file has 336MB ! :wtf:

What is wrong ? I am using AIR 3.3 (ADT) and have tested the generated file ... and the game worked, but I am not happy with this huge file size...  :concerned:


Title: Re: Is it normal to AIR increases your game file size in 1600% ?
Post by: larsiusprime on July 20, 2012, 05:31:45 PM
Do you have a bunch of unecessary stuff in your /bin folder? That usually gets packaged in along with your main swf file.


Title: Re: Is it normal to AIR increases your game file size in 1600% ?
Post by: TadeuBAS on July 20, 2012, 05:54:21 PM
 ;)Man you were right, adobe package up everything; .fla files and other stuff  :nono: :nono:

Sorry to bother you guys :facepalm:


Title: Re: Is it normal to AIR increases your game file size in 1600% ? [SOLVED]
Post by: larsiusprime on July 20, 2012, 07:44:03 PM
NP I only know that because it happened to me once and I was scratching my head for hours :P