make a benchmark and find out.

On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote:

What is the fastest way to animate a series of bitmaps (say 20 frames).

Here's a couple of ideas:

A single big image behind a frame sized mask, move it one frame onEnterFrame.

A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame.

A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame.

Anything faster is nice too - particularly on mobile.

Thanks!

Kevin N.


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to