|
You can tell the Panel instance to
createChild and pass in the MXML component you want it to instantiate. I’m
assuming you want to do this programmatically, this isn’t a Panel containing
a single kind of component that you could easily write in MXML? When you say
the Panel needs to lay on top, does it need to stick around for a while? Or
this the sort of thing you could use the PopUpManager for? If you need it to
move around but not be a popup you’re going to need to have your
Application have a Canvas. Then the Canvas can contain a VBox that is sized to
the same size as the Canvas. And then you can add the Panel to the Canvas
which will allow the Panel to move around and on top of the VBox. HTH, Matt From: Hi all, I need to create a panel control and load
another mxml component into that and partially lay the panel on top of the current app. How do I go about doing that? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766
|
Title: Loading mxml Components
- RE: [flexcoders] Loading mxml Components Matt Chotin
- RE: [flexcoders] Loading mxml Components Mehdi, Agha
- [flexcoders] Re: Loading mxml Components Andrew Spaulding
- RE: [flexcoders] Loading mxml Components Matt Chotin
- [flexcoders] Input formatting James
- Re: [flexcoders] Input formatting Aldo Bucchi
- Re: [flexcoders] Input formatting Darron J. Schall
- RE: [flexcoders] Loading mxml Components Mehdi, Agha

