basic configuration on flash develop

Software: Away3D 4.x

Annita, Newbie
Posted: 30 March 2012 11:37 PM   Total Posts: 3

Hello everyone.

First of all, thanks for reading my post.

I’m trying to run a basic example on flash develop, but it throws tons of errors..

package 
{
 import away3d
.containers.View3D;
 
import flash.display.Sprite;
 
import flash.events.Event;
 
 
/**
  * ...
  * @author Anna
  */
  
 
public class Main extends Sprite 
 {
  
public var view:View3D = new View3D();
  public function 
Main():void 
  {
   
if (stageinit();
   else 
addEventListener(Event.ADDED_TO_STAGEinit);
  
}
  
  
private function init(e:Event null):void 
  {
   removeEventListener
(Event.ADDED_TO_STAGEinit);
   
view.backgroundColor 0x000000;
   
addChild(view);
   
  
}
  
 }
 

So I think it’s something wrong with the configuration.

The imports were made automatically by the flashbuilder editor.. so I know it can read the files.. but it just cant work with them..

Any ideas how to solve this??

Thanks a lot for your time.

smile

 

   

charlito, Jr. Member
Posted: 31 March 2012 06:50 AM   Total Posts: 36   [ # 1 ]

i had the same problem few days ago

just check this page

www+mclelun+com/blog/2011/08/flashdevelop-stage3d-away3d/

change + with .

greatings..

smile

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X