[flexcoders] Bubbling custom events

2007-09-05 Thread donvoltz
Hello everyone, I think the following question is an easy one, however, I can not seem to find an answer in the documents. Calling a standard event such as the following var myEventObj:Event = new CustomEventEvent( myCustomEvent ); Will not bubble unless I set the bubble property to true like

Re: [flexcoders] Bubbling custom events

2007-09-05 Thread Scott - FastLane
Don - In the constructor for your custom event you can set the bubbles param when you call super as in the following example. import flash.events.Event; import mx.controls.CheckBox; public class CheckBoxListEvent extends Event { public var data:Object; public var