You’re gonna have to provide more information than this.  Give everyone ids and you’ll be able to reach them by dotting down.

 

<comp1:myComp1 id=”mc1” />

 

<Subcomp2:mySubComp2 id=”msc2” />

 

mc1.msc2.dispatchEvent({type: “change”});

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ghislain Simard
Sent: Saturday, July 30, 2005 10:55 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] broadcasting to a sub-component

 

How to broadcast an event to a component inside a component?

main.mxml
<comp1:myComp1/>

myComp1.mxml
<Subcomp2:mySubComp2/>

mySubComp2.mxml





--
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