title: Away3D Context3D not available
body: <p>I'm checking out Flash's 3D capabilities with <a href="http://www.away3D.com" rel="nofollow">Away3D</a>, and I'm following the tutorial <a href="http://www.flashmagazine.com/Tutorials/detail/away3d_4_basics_-_a_simple_class_explained/" rel="nofollow">here</a>. I've run into a major problem though. Everytime I run my project in the browser, I get this error:</p>
  
  <blockquote>
    <p>Error #2044: Unhandled ErrorEvent:. text=Error #3702: Context3D not available.</p>
  </blockquote>
  
  <p>I can't see where this error comes from, but it happens after my constructor function ends and before the <code>ENTER_FRAME</code> handler starts.</p>
  
  <p>My code is like this:</p>
  
  <pre><code>package {
      import away3d.containers.View3D;
      import away3d.entities.Mesh;
      import away3d.materials.ColorMaterial;
      import away3d.primitives.SphereGeometry;
      import flash.display.Sprite;
      import flash.events.Event;
  
      [SWF(backgroundColor="#000000", frameRate="60", width="1024", height="768")]
      public class TestAway extends Sprite {
          private var view:View3D;
  
          public function TestAway() {
              view=new View3D();
              addChild(view);
              var sphereGeometry:SphereGeometry=new SphereGeometry(350);
              var sphereMaterial:ColorMaterial=new ColorMaterial(0xff0000);
              var mesh:Mesh=new Mesh(sphereGeometry, sphereMaterial);
              view.scene.addChild(mesh);
              addEventListener(Event.ENTER_FRAME, onEnterFrame);
          }
  
  
          private function onEnterFrame(event:Event):void {
              view.render();
              removeEventListener(Event.ENTER_FRAME, onEnterFrame);
          }
      }
  }
  </code></pre>
  
  <p>Now the wierd thing is, when I run it on my browser (FP 11.2), it doesn't work (gives that error), but I can run the swf from the desktop perfectly.</p>
  
  <p>Also, the example file on the tutorial page runs perfectly. What setting is missing, and how can I fix it?</p>