RE: [flexcoders] Adding addEventListener too a Child object

2006-04-25 Thread Karl Johnson
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

RE: [flexcoders] Adding addEventListener too a Child object

2006-04-25 Thread Gordon Smith
You don't want to be calling valueChanged; you want to be passing a reference to it: DesignView[0].addEventListener(selectionChanged, valueChanged); - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vestcomprogrammer Sent: Tuesday,