event bubbling

yes you can bubble an event up in Flex 1.5.? See

http://www.jessewarden.com/archives/2005/11/event_bubbling.html

in short use bubbles: true in the dispatcher

dispatchEvent({type: “myEvent”, bubbles: true, target: this});


One Response to “event bubbling”

  1. douglas knudsen
    November 26th, 2005 | 11:00 am

    note, the event target changes as the event bubbles and it can not be set, Flex/Flash overrides it. To keep the original target in the event add a property. eg

    dispatchEvent({type: “myEvent”, bubbles: true, target: this, originaleventtarget : this});

Leave a reply