Hi Ward,

I don't think that switching to an absolute layout would have the desired 
effect. For one thing, your thumbnails probably have no explicit location and 
are just being positioned by the Canvas layout manager, so if you switch to 
absolute, they might just decide to go put themselves at (0,0).

You could turn off autoLayout for the duration of the effect, but that's 
usually a temporary thing done during and effect and not a long-term situation 
you want to be in.

One solution might be for your Canvas to be wrapped in a custom component, 
subclassing UIComponent. When you click on a thumbnail, put a copy of the image 
into the wrapping container and zoom in on that. It will then cover everything 
below it. When you zoom back out, remove it from the wrapping component, and 
you'll see everything behind it again.

Chet.


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Ward 
Loockx
Sent: Tuesday, December 02, 2008 5:42 AM
To: [email protected]
Subject: [flexcoders] Zoom effect absolute positioning


Hello,

I have a canvas within my application that contains polaroid images (own
flex component). When I click on a polaroid I wan't it to zoom all over
my application. When I do this now it stays within the canvas and I get
scrollbars (on that canvas). Is there a way to keep the pictures on the
canvas and still be able to zoom over my whole application (When zooming
-> go to absolute layout)? Somebody that knows if this is possible ?

Thanks,
Ward

Reply via email to