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
> 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,
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
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
4 matches
Mail list logo