Not positive about flex 2, but in Flex 1.5 I would do
DesignView.getChildAt(0).addEventListener(eventType, handler); (assuming
DesignView is the parent container).

Does that work in F2B2?

|<

Karl Johnson
Cynergy Systems, Inc.


-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of vestcomprogrammer
Sent: Tuesday, April 25, 2006 4:39 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adding addEventListener too a Child object

I am trying to add a addEventListener to a child object in Flex 2.0 beta
2 and I have tried this "DesignView[0].addEventListener
("selectionChanged", valueChanged(this));" but this does not seem to
work.  Anyone know how?


Thanks
Bill





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








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