I cant see the problem as I pass a class with a mesh property .
I am using AS3 and away3D 3.6. Everything loads fine .


Description     Resource        Path    Location        Type
1195: Attempted access of inaccessible method enemyMesh through a
reference with static type ClassEnemyCube.


        public function moveForward(amt:int,models:Array):void
                {
                         var enemyMesh2:Mesh;

                        for each (var el:ClassEnemyCube in models)
                        {
                        enemyMesh2=el.enemyMesh(); //error
-------------------
calls this property

        public function get enemyMesh():Mesh
                {
                        return model5;
                }

Reply via email to