Not a member? Sign Up! |
Login
Home / Tutorials / ActionScript / Creating and Applying Texture to a Cube in Away3D 3.6 /
Posted by : FireCode on Aug 01, 2011
5.0/5
Click to download the Source Code
Preparation »
1 comment
Add comment
djumeau
I ran the code and discovered that : cube.faces is a read-only property.
So to assign each of the faces on the cube the line should be:
cube.cubeMaterials = cubedata;
1 comment
Add comment
djumeau
I ran the code and discovered that : cube.faces is a read-only property.
So to assign each of the faces on the cube the line should be:
cube.cubeMaterials = cubedata;
#  /  PM  /  posted on May 24, 2012