Hi there,
I try to make a material that can ben modified at the run time.
In the doc i found the AnimateBitmapMaterials class.
Material is well applyed on the _playFiled but when, i add some new MovieClip inside the source movie clip of an AnimateBitmapMaterials (autoPlay=true) this doesn’t affect the map directly (but the movieClip is added the the source clip.. tested).
_playFieldMap = new AnimatedBitmapMaterial(_shell,false,true)
_playField = new Plane(_playFieldMap,256,64,5,5)
_playField.addEventListener(MouseEvent3D.MOUSE_DOWN,touchBeginHanlder)
protected function touchBeginHanlder(e:MouseEvent3D):void{
if (!_shell.contains(_line)){
_shell.addChild(_line)
trace ("adding the line ")
}
_playFieldMap.updateTexture()
}
There is another material that can do this?
Thank fo hepl