title: as3 starling using box2d
body: <p>I have a problem using DebugDraw in box2d when it is integrated in starling object.</p>
  
  <pre><code>var debugSprite:Sprite = new Sprite();
  addChild(debugSprite);
  var debugDraw:b2DebugDraw = new b2DebugDraw();
  debugDraw.SetSprite(debugSprite);
  debugDraw.SetDrawScale(30);
  debugDraw.SetLineThickness( 1.0);
  debugDraw.SetAlpha(1);
  debugDraw.SetFillAlpha(0.4);
  debugDraw.SetFlags(b2DebugDraw.e_shapeBit);
  PhysicsCore.World.SetDebugDraw(debugDraw);  
  </code></pre>
  
  <p>In the code above I have problem using flash.display.sprite and even starling.core.Starling
  does anyone have solution?   </p>