0 Replies Latest reply on Jul 28, 2010 10:43 AM by monty_hall

    What mxml used to play a "class X extends MovieClip"?

    monty_hall

      I'm experimenting with box2d and the demo application is an action script class:

       

          [SWF(width='640', height='360', backgroundColor='#292C2C', frameRate='30')]
          public class Main extends MovieClip{
              public function Main() {
              .....

       

      I would like to get this to execute.  What xml would I use to launch?  When I compile "<Main/>", mxmlc complains it's not a mx.core.IUIComponent. Any advice appreciated.

       

      Monty