Normally, you use -link-report on the main app, not the module, and use
load-externs on the module using the main apps link-report

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dr_dumb99
Sent: Saturday, May 24, 2008 7:13 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex3---Reduced by size module doesn't show Button

 

Hi!
I have compiled module with 'MXMLC' command. Its size is more than 
100 K. It contains only one button. when I call this module in main 
application, it is called perfectly and button is showed on the 
screen.

2nd Time:

Now I want to reduce the size of the module. And for this I do 
following.... 

I have complied the module using 'MXMLC' command using '-link-report' 
switch. It generates a XML file. Then I use again 'MXMLC' command 
using '-load-externs' switch.

All works well, but when I compile and run the same application 
through FLEX 3 builder, I am unable to view the button [which was 
seen earlier before reducing the size of module]. 

Can some one guide me about the problem.

Thanks in advance

 

Reply via email to