[FlashCodersNY] "Zoom" vBox along the z-depth
Newen Fara
00newen at gmail.com
Mon Sep 22 11:13:33 PDT 2008
I dodn' know much about using vBox. but can't youplace that vBox inside a
sprite with AS, adn then scale the sprite?
i say this cause by changing the sprite, it changes everything inside it.
On Mon, Sep 22, 2008 at 12:10 PM, geng wang <wanggeng at gmail.com> wrote:
> I am trying to do a "zoom out" kind of effect on a VBox in Flex and I
> soon realize it's not as easy as it seemed to me:)
>
> Say if you click a button, the vBox, which contains a list of 100
> images of slightly various sizes, zooms out (like camera zooms out
> along the z-depth) for a second and then zooms back in to it's
> original size.
>
> Currently I have tried Zoom effect and what I did was simply to
> zoomHeightFrom 1 to .5 and then reverse the effect. It quickly turned
> out to be wrong ;) since what I need is to scale *individual* image
> separately proportionally and let the vBox update the layout. Is this
> something I should do? (Like in a loop, scale each image->at the end
> of the loop, invalidate VBox, etc.)? Or there are any better/more
> correct approaches out there?
>
> I guess I could have used something like Papervision3D but it seems
> it's overkilled for things like this, along with the possible overhead
> on loading and other animations?
>
> Thanks.
>
> _______________________________________________
> FlashCodersNY mailing list
> FlashCodersNY at flashcodersny.org
>
> http://mail.flashcodersny.org/mailman/listinfo/flashcodersny_flashcodersny.org
>
--
Newen, the guy with blue hair.
www.vrolfak.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.flashcodersny.org/pipermail/flashcodersny_flashcodersny.org/attachments/20080922/7b00c57f/attachment.html>
More information about the FlashCodersNY
mailing list