Help

Hello Everyone, I'm having a very basic problem here.
This is how my class looks like :

Code:
package vlad
{
   import Box2D.Collision.Shapes.b2PolygonShape;
   import Box2D.Common.Math.b2Vec2;
   import Box2D.Dynamics.b2Body;
   import Box2D.Dynamics.b2BodyDef;
   import Box2D.Dynamics.b2FixtureDef;
   import Box2D.Dynamics.b2World;
   
   import flash.display.Sprite;
   import flash.events.Event;
   
   public class BasicDisplay extends Sprite
   {
      public var world:b2World;
      public var sq1:b2Body;
      public var sq2:b2Body;
      
      public var sq1Def:b2BodyDef;
      public var sq1BoxDef:b2PolygonShape;
      public var sq1FixDef:b2FixtureDef;
      
      public function BasicDisplay()
      {
         world = new b2World( new b2Vec2(0,10.0),true);

         // var m:VladB2Box = new VladB2Box(sq1,world,250,90);

         sq1Def = new b2BodyDef();
         sq1BoxDef = new b2PolygonShape();
         sq1FixDef = new b2FixtureDef();
         
         
         
         sq1Def.position.Set(250/30, 90/30);
         sq1Def.type=b2Body.b2_dynamicBody;
         sq1BoxDef.SetAsBox(50/30, 10/30);
         sq1FixDef.shape=sq1BoxDef;
         sq1FixDef.density=1;
         sq1FixDef.friction=1;// was boxDef.friction=1;
         sq1FixDef.restitution=0.1;// was boxDef.restitution=0.1;
         sq1=world.CreateBody(sq1Def);
         sq1.CreateFixture(sq1FixDef);// was body.CreateShape(boxDef); */
         
         sq1Def.position.Set(250/30, 200/30);
         sq1BoxDef.SetAsBox(600/30, 20/30);
         sq1FixDef.shape=sq1BoxDef;
         sq1FixDef.friction=1;// was boxDef.friction=1;
         sq1FixDef.density=1;// was boxDef.density=0;
         sq2=world.CreateBody(sq1Def);
         sq2.CreateFixture(sq1FixDef);//
         
         addEventListener(Event.ENTER_FRAME,update);
      }
      
      public function update(e:Event):void
      {
         world.Step(1/30,10,10);
         world.ClearForces();
      }
   }
}


I took the basic example from Emanuele Feronato's homepage and started rebuilding it, but it doesn't seem to work 😐..

Does anyone have any advices ?
There doesn't seem to be any code that does any sort of drawing to the screen, unless that is done in an other class of course. My advice would be to play around with debug draw, and see if that can shed some light on what's going on.

Have a look here http://www.emanueleferonato.com/2008/12/10/understanding-box2d-debug-draw/

Original thread: https://box2d.org/forum/viewtopic.php?t=4368