till then, fix the highlighted line in your code:

On Tue, Apr 19, 2011 at 12:57 AM, GizmoBradwell <[email protected]> wrote:

> package
> {
>        import away3d.containers.View3D;
>        import flash.display.Sprite;
>        import flash.events.Event;
>
>        public class MyFirstApp extends Sprite
>        {
>                private var view : View3D;
>
>                public function MyFirstApp()
>                {
>                        view = new View3D();
>                        view.x = 275;
>                        view.y = 200;
> *                        addChild(view);*
>                        addEventListener(Event.ENTER_FRAME, onEnterFrame);
>                 }
>
>                private function onEnterFrame(ev : Event) : void
>                         {
>                        view.render();
>                        }
>        }
> }
>

Reply via email to