Event metadata should not be affecting the classes linked in.  Usually, there 
is an event handler with a parameter of that type

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of richardsza...@rocketmail.com
Sent: Monday, August 03, 2009 9:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Class linking with custom Metadata



Referencing a class in [Event] metadata (ie. [Event(type="something"]) has the 
same affect as referencing it through code: the class is linked and included in 
the output. Is there a compiler flag that will allow me to enable class linking 
for my own metadata fields (ones that were included via -keep-as3-metadata)?

If the answer is yes (if not, you can skip this part), does that functionality 
"stick" to libraries like -keep-as3-metadata does? (ie. if you 
-keep-as3-metadata in libraryA and reference it from applicationB, applicationB 
will also keep that metadata)

Reply via email to