If you use the mx:Image or mx:Loader tags to show your swfs and include an id(mySwf), you can access their public members through the content property.

 

mySwf.content.color = “whatever”

 

Tracy

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Torben Nielsen
Sent: Thursday, October 20, 2005 5:41 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] targeting swf file imported into Flex

 

Hi,

 

I am trying to do the following:

 

I have an SWF file that contains a movieclip that have other sub movieclips. I would like to be able to colour these sub movie clips through actionscript.

I assume that I have to create a component, but since I never really did this before I don’t really know where to start.

 

NB: I am working with this on an experimental basis in Flex 2.

 

Thanks.

 

Best regards.

 

Torben Nielsen

 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to