something else i have done is to add components similar to this to the
parent component's rawchildren but i am not really sure if this is a
recommended way to go...

On Tue, Dec 2, 2008 at 9:12 PM, Fotis Chatzinikos <
[EMAIL PROTECTED]> wrote:

> You could add a transparent full screen canvas overlay, on click add the
> 'polaroid' on the correct overlay location
> (via localToGlobal, or content to global) and then zoom it...
>
>
> On Tue, Dec 2, 2008 at 5:39 PM, Chet Haase <[EMAIL PROTECTED]> wrote:
>
>>    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
>>
>>    
>>
>
>
>
> --
> Fotis Chatzinikos, Ph.D.
> Founder,
> Phinnovation
> [EMAIL PROTECTED],
>



-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
[EMAIL PROTECTED],

Reply via email to