RE: [flexcoders] Re: Event Dispatching through more than one component

2007-03-23 Thread Alex Harui
oders] Re: Event Dispatching through more than one component > Is bubbling then set to true by default? As Alex said, "Events have a constructor parameter as to whether the event bubbles or not." In other words it is up to the code that creates the event to decide whether it bubble

RE: [flexcoders] Re: Event Dispatching through more than one component

2007-03-23 Thread Gordon Smith
> Is bubbling then set to true by default? As Alex said, "Events have a constructor parameter as to whether the event bubbles or not." In other words it is up to the code that creates the event to decide whether it bubbles or not. For each event dispatched by the Player or Flex Framework classes,

RE: [flexcoders] Re: Event Dispatching through more than one component

2007-03-21 Thread Alex Harui
The top of the display list is the stage. The stage always has one child (the root) which in Flex apps is a SystemManager. The app and all popups are children of the systemManager. Stage -> SystemManager -> Application PopUp1

RE: [flexcoders] Re: Event Dispatching through more than one component

2007-03-20 Thread Alex Harui
Each popup is parented by the systemManager so it won't bubble from one popup to the next. However, each popup can listen to the systemManager for the event to bubble to it, or listen in capture phase so you don't have to use bubbling. From: flexcoders@yahoogr