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

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

Share and Enjoy:
  • Print
  • email
  • PDF
  • Digg
  • Facebook
  • LinkedIn
  • Twitter
  • Live
  • Yahoo! Bookmarks
  • Google Bookmarks

Related posts:

  1. Creating PDF files from data in DataBase
  2. Flex Tree Component and SWF files
  3. Flex Tree Component and SWF files
  4. Creating PDF from a Flex DataGrid
  5. Creating custom components in Flex?
  6. Interesting read: creating facebook application with flex
  7. How to Prevent Temprary Internet files using Flex 3…..?
  8. Playing other types of video files (e.g. avi, mov, mp4) using Flex
  9. How to delete Temprary Internet files using Flex 3…..?
  10. Creating screen cast in flex/AIR – Need urgent help

Leave a Reply