[flexcoders] Re: Making a Hover menu with Flex

2007-01-19 Thread Matt Maher
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,

Re: [flexcoders] Re: Making a Hover menu with Flex

2007-01-19 Thread Michael Schmalle
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

Re: [flexcoders] Re: Making a Hover menu with Flex

2007-01-19 Thread Michael Schmalle
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

[flexcoders] Re: Making a Hover menu with Flex

2007-01-18 Thread missgiggygirl
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, I would construct your custom 'menu' in whatever component you like that fits your requirements. Create an interface to it if it extends anything core. Then use the PopUpManager.addPopUp() to create the

Re: [flexcoders] Re: Making a Hover menu with Flex

2007-01-18 Thread Michael Schmalle
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

[flexcoders] Re: Making a Hover menu with Flex

2007-01-18 Thread missgiggygirl
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] 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