Hey Ian,
You have to set the index.
Its easy as that. If it plays, setting the index will work like a gotoAndPlay
setting it while stoped will work as gotoAndStop

the set frames is to be used if you want to animate dynamically generated images or if you want to update the sources.
Those are bmd's.

in the temple demo for instance, i use this to set the sources of the pool. the trick is to make one empty animated material, then you generate your images, then set them as sources. The result in this case was a series of 20 bmd's alpha perlinnoised running at the same speed as regular material and of course much faster than with the noise applied each render.

This material is less friendly than the moviematerial, but if you are familiar to bitmapdata animations, you would preffer it. And last but not least, its primary use is to display animation like movieclips that are just playing in loops on a much more
efficient way.

Fabrice


On Sep 26, 2008, at 9:22 PM, Ian Stokes wrote:


Hi Away team,

I've been in the wiki trying to understand if setFrames for
AnimatedBitmapMaterial
is some kind of feature so i can control which part of an
AnimatedBitmapMaterial
I want to control..like a movie clip, like "play frame 1 thru 10" then
10~20 later. I keep
remembering I saw something about htis but i cant seem to find it.

Cheers

Ian Stokes

* or is it just a mater of making multiple skins and swapping?

Reply via email to