* A Boolean value that determines whether the texture is animated.
*
* If set, the material must be included into the scene so the BitmapData texture can be updated when rendering. For performance reasons, the default value is false.
*/
public function get animated():Boolean
{
return animatedMaterials[ this ];
}
public function set animated( status:Boolean ):void
{
animatedMaterials[ this ] = status;
}
// ______________________________________________________________________ NEW
/**
* The MovieMaterial class creates a texture from an existing MovieClip instance.
*
* @param asset A String that contains an existing MovieClip library id.
* @param transparent [optional] - If it's not transparent, the empty areas of the MovieClip will be of fill32 color. Default value is false.
* @param initObject [optional] - An object that contains additional properties with which to populate the newly created material.
*/
public function MovieMaterial( asset:*, transparent:Boolean=false, initObject:Object=null )