Thanks Fabrice. It works now. Kapil
On Jan 18, 10:31 am, Fabrice3D <[email protected]> wrote: > > I have added the Away3D folder > > You probably just need to add the parent folder of away3d instead of away3d > folder in your path config. > > Fabrice > > On Jan 18, 2010, at 12:11 AM, Kapil wrote: > > > Hi > > > I am new to Away3d. I am trying to setup the environment for Away3D > > 3.4.0 in Flex Builder. > > > I have created a new ActionScript project. In the ActionScript Build > > Path configuration I have added the Away3D folder. In the Project > > Properties ActionScript Compiler configuration section, I have > > selected Flex SDK 3.5 and Require Flash Player Version is set to > > 10.0.0. > > > I am using the following code: > > > package { > > import away3d.containers.View3D; > > import away3d.primitives.Sphere; > > import flash.display.Sprite; > > public class Basic01 extends Sprite { > > public function Basic01() { > > var view:View3D = new View3D({x:200,y:200}); > > addChild(view); > > var sphere:Sphere = new Sphere(); > > view.scene.addChild(sphere); > > view.render(); > > } > > } > > } > > > When I try to build the project I get few erros. > > > The first error is in the first import statement. > > "1172: Definition away3d.containers:View3D could not be found." > > > Any help is appreciated. > > Thanks > > Kapil
