Hmm.. I might not be understanding what you're suggesting, but...

I have the exact component that I want to overlay... really the
question is what to addChild it to. Can I access the main
displayContainer and if so how? My Application.application uses
horizontal layout so it's not a candidate. 

--- In [email protected], "Blake Barrett" <[EMAIL PROTECTED]> wrote:
>
> I'm not sure about this, but you could try capturing a bitmap on
> MouseOver (of every component) of event.target
> 
>       var bd : BitmapData (event.target);
>       bd.draw (300, 300);
>       var bmp : Bitmap ( bd );
> 
> then try adding that bitmap to the main displayContainer ("the stage").
> I hope this works as a starting point.
>  
> Blake
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of bithroop
> Sent: Thursday, December 06, 2007 2:13 PM
> To: [email protected]
> Subject: [flexcoders] How can I overlay a UIComponent on top of my
> application?
> 
> 
> 
> Trying to figure out the best way to do this...
> 
> I have an image in my UI which is small. I want a larger version of it
> to draw, attached to the mouse cursor, when the user rolls over it.
> Kinda like a tooltip but moving along with the cursor. (Mixbook does
> this if you've ever seen it)
> 
> I have it mostly working but my main issue is that I know I always
> want the zoomed version of the image to draw on top of the entire UI.
> These small images can be in any number of different types of
> containers, so I can't addChild the UIComponent to the small image or
> to its parent... needs to be something like a popup or tooltip. 
> 
> Peeked a bit at SystemManager for this since that's what PopupManager
> talks about... anyway, anyone have any insight on this? Should I make
> it a cursor?
>


Reply via email to