So, the popup manager really is the div layer of an HTML DOM.
Well not quite ;-) But in symbol it represents the same 'idea'.
Mike
On 1/19/07, Michael Schmalle <[EMAIL PROTECTED]> wrote:
> Perhaps it's the name "PopUp".
Just alittle more tidbit here;
PopUp is a perfect name in the Flex paradigm. Reason being, the Flex model
starts at the Application tag. All flex applications have to be of type
mx.core.Application.
That being said, Application is a container that holds things. So if you
follow the rules of layout, every control and container HAS TO be a child of
the main Application container.
The PopUpManager is a facade to the systemManager which actually owns the
Application as it's child. So it is a way to abstract the Flash Player's
Stage and create a start point of layout.
Anyone can bypass the PopUpManager and access the rootSystemManager and
add children to it. It has toolTipChildren, popUpChildren and it's own child
list. It gets really complicated.
So, the popup manager really is the div layer of an HTML DOM.
anyway, :)
Peace, Mike
On 1/19/07, Matt Maher <[EMAIL PROTECTED]> wrote:
>
> Genius! This helped me tremendously. I was wondering the same thing.
>
> It may be interesting to the Flex designers that this is, by no mean,
> an obvious solution to the problem. Perhaps it's the name "PopUp".
> Somehow that relates directly to things like dialogs and alerts.
>
> Certainly my own mistake, but it wasn't obvious.
>
> Thanks for all in this thread for the help!
>
> --- In [email protected] <flexcoders%40yahoogroups.com>,
> "missgiggygirl" <[EMAIL PROTECTED]>
> wrote:
> >
> > --- In [email protected] <flexcoders%40yahoogroups.com>,
> "Michael Schmalle"
> > <teoti.graphix@> wrote:
> > >
> > > Hi,
> > >
> > > For instance;
> > >
> > > private var hoverMenu:Menu;
> > >
> > > hoverMenu = Menu(PopUpManager.createPopUp(this, Menu));
> > >
> > > hoverMenu.x = calcXCoord;
> > > hoverMenu.y = calcYCoord;
> > >
> > > hoverMenu.dataProvider = hoverMenuDP;
> > >
> > > You have complete control over the popup once it is created. All the
> > popup
> > > manager does is stick it into the systemManager as a child which
> then
> > > becomes parented by the systemManager not the Application.
> > >
> > > Peace, Mike
> > >
> >
> > Thanks for taking the time to help a newb! I get it now! :)
> >
> > -- Ann
> >
>
>
>
--
Teoti Graphix
http://www.teotigraphix.com
Blog - Flex2Components
http://www.flex2components.com
You can find more by solving the problem then by 'asking the question'.
--
Teoti Graphix
http://www.teotigraphix.com
Blog - Flex2Components
http://www.flex2components.com
You can find more by solving the problem then by 'asking the question'.