flex - Why does Flexmojos produce a different size swf to mxmlc? -


i compiling simple app, main.mxml:

<?xml version="1.0" encoding="utf-8"?> <s:application      xmlns:fx="http://ns.adobe.com/mxml/2009"     xmlns:s="library://ns.adobe.com/flex/spark">      <s:label         text="flex"/>  </s:application> 

with mxmlc (sdk 4.0.0.14159):

mxmlc  -context-root=a  -services=.\src\main\webapp\web-inf\flex\services-config.xml  src\main\flex\main.mxml  -output src\main\webapp\main.swf 

and flexmojos 3.9 & 4.0-rc2, using sdk 4.0.0.14159:

<configuration>     <output>src/main/webapp/main.swf</output>     <services>src/main/webapp/web-inf/flex/services-config.xml</services>     <contextroot>a</contextroot> </configuration> 

the output both builds creates valid swf file works expected, yet swf file mxmlc smaller flexmojos version:

mxmlc      main.swf   43k flexmojos  main.swf  367k 

this quite worrying because developing in eclipse (which uses mxmlc) yet master build script (which uses flexmojos) producing totally different file.

can tell me why is, , how rectify it?

thanks

it seems, compilation flexmojos includes flex framework classes in output swf. , compilation mxmlc in case uses framework swfs rsl.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -