Animate alpha broomstick

Software: Away3D 4.x

view, Newbie
Posted: 13 March 2012 01:57 PM   Total Posts: 12

Hi everyone. in a3d 3.6 you could animate the alpha of the obj3dcontainer, this does not seem to be supported in v4? I have a mesh in an obj3dcontainer, the mesh has the relevant material set, but would like it to fade out. I can set the alpha in the material, but is there a way to animate this?

example

TweenLite.to(level1[i]1{rotationZ:90,scaleX:0.1,delay:newdelayonComplete:level1Open,onCompleteParams:[i]});

public function 
level1Open(param1:Number):void{
   
if (param1 ==level1.length-1)
   
{
    
//trace("level 1 open");
    
nothovering=true;
   
}

   
var tempObj:Mesh level1[param1] as Mesh;
   
// tempObj is in its own container
//Alpha here 
  
  

Cheers

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X