you can mask MovieMaterial but it still draw bitmap anyway
i think you should draw old bitmap with new bitmapdata
with some matrix position/scale and use rectangle as fake mask

all this in 1 draw function on 1 bitmap should save both fps and ram

hth

On 26 May 2010 22:39, wsvdmeer <[email protected]> wrote:

> Hey All,
>
> I'm working on a coverflow component which crops piece of a image and
> displays it on a square plane.
> One of the new functions i want to implement is the ability to zoom in
> when a item is active.
> I now draw a new bitmap when the plane is animating but this takes a
> lot of memory see my example :
> http://labs.speak.nl/coverflow/zoom/bin/index.html
> Is it posible to mask a Material  in away3dLite, and then animate the
> mask so that the complete picture is visible resulting in the same
> effect as in my example?
> Or do you have another solution?
>
> Hope you can help :)
>
> Greets WS
>



-- 
Regards
-----------------------------------------------------------
katopz, http://sleepydesign.com
Away3D and JigLibFlash Developer Team

Reply via email to