Error with classes

Software: Away3D 4.x

garynich, Newbie
Posted: 11 January 2013 08:55 PM   Total Posts: 3

Hello everybody.

I need your help… I have installed away3D 4.1.0 Alpha on FlashDevelop 4.2 and I have Flex SDK 4.5.1 I am trying an Basic_View example but I have a 2 mistakes, which say:

E:\New\src\Main.as(46): col: 71 Error: Access of undefined property Cast.
_plane = new Mesh(new PlaneGeometry(700, 700), new TextureMaterial(Cast.bitmapTexture(FloorDiffuse)));


E:\New\src\Main.as(7): col: 21 Error: Definition away3d.utils could not be found.
import away3d.utils.*;

I have Flash Player 11.5.

I will be very grateful if you will help me.
Thank you.

   

Avatar
loth, Sr. Member
Posted: 12 January 2013 02:49 PM   Total Posts: 236   [ # 1 ]

do you add
-swf-version=13
in compliler arguments

   

garynich, Newbie
Posted: 12 January 2013 03:39 PM   Total Posts: 3   [ # 2 ]

Yes, I added “-swf-version=13” and also tried with version=15 but it did not help…

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X