A swc is a .zip file so you can examine its contents.  You will find a
.xml file describing what is in the SWF and the SWF data that will be
linked into the app.

 

Not all data in the SWF data goes into the app., and any class goes in
once.

 

The only true test is to link up an application SWF and see how big it
got, or look at its link-report.

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthias Grumet
Sent: Thursday, April 17, 2008 8:04 AM
To: [email protected]
Subject: [flexcomponents] file size of custom components very big

 

hello, 
i am developing a flex application and i want to use some custom 
components which i made in flash cs3. however when i export my 
symbols to swc using the flash component kit the filesize of those 
components is very large. above 400k. when i export the flashcs3 
project, it has only below 100k.

i do have some libraries on my actionscript3 classpath. is it 
possible that all those source as3 files are also compiled into the 
swc component although not all of them are used?

if so, how can i avoid that?

will the final flex application also contain all those classes? will 
it include each class only once, if it is included in several 
components?

thanks!

 

Reply via email to