I need to set color of the Cube faces after it craetion. So we can do
in this way :
private var c:Cube;
private var m:CubeMaterialsData=new CubeMaterialsData({left:'black',
right:'yellow', top:'green', bottom:'white', back:'blue'});
var c:Cube=new Cube({faces:m});
but I need to do this like:
private var c:Cube;
private var m:CubeMaterialsData=new CubeMaterialsData({left:'black',
right:'yellow', top:'green', bottom:'white', back:'blue'});
var c:Cube=new Cube();
c.faces=m; //here is a problem - I can't do
this.
Please Help!
To unsubscribe from this group, send email to
away3d-dev+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.