Posts Tagged ‘swfcache’

Manual flex compling creating two files as .swf and .swf.cache

Posted in Adobe on October 2nd, 2009 by Saba – Be the first to comment

Hi,

I have complied my mxml in flex builder and it generates the .swf file in 5251478 bytes size.

In Same way , When i complied the same in linux box as instructed below link

http://asantoso.wordpress.com/2008/05/18/flex-3-sdk-command-line-development-with-example-on-linux/

I Could able to generate the swf file as .swf file size 3985282 and generated another swf as .swf.cache file size 13162929

Can any one help me why it has generated in such way and i cannot able to run the generated .swf file.

Below is the command i have used

mxmlc -load-config flex-config.xml -locale=en_US -include-resource-bundles=SharedResources,charts,collections,containers,controls,core,datamanagement,effects,formatters,locale,logging,messaging,rpc,skins,styles,validators -source-path+=/home/myproj/myproj_Compile/workspace/locale/{locale},/home/myproj/myproj_Compile/workspace/src,/home/myproj/myproj_Compile/flexsdk/3.2.0/fbpro/projects/datavisualization/bundles/{locale} -show-binding-warnings=false -show-actionscript-warnings=false -show-deprecation-warnings=false -warnings=false /home/myproj/myproj_Compile/workspace/src/myproj.mxml -incremental=true -keep=true -output /home/myproj/myproj_Compile/workspace/bin/myproj.swf