i am currently using away3d 3.6 and flex 4.6 for a project
for(var i:int = 0; i < cubeMesh.numChildren; ++i)
var m:Mesh = (cubeMesh.getChildAt(i) as Mesh)
m.material = new ColorMaterial("EEEEEE");
i am unable to get a call to getchildat() and numchildren as it is giving error
Access of possibly undefined property numChildren through a reference with static type away3d.core.base:Object3D.
Call to a possibly undefined method getChildAt through a reference with static type away3d.core.base:Object3D.
can anyone suggest a solution???
Retrieving data ...