5 Replies Latest reply on Aug 13, 2007 2:02 PM by kglad

    Moving Created Buttons

    ChrisBlackburn
      This works, but uses the default looking button:

      var btn:Button = new Button();
      btn.move(200,200);
      addChild(btn);



      This doesn't, with my pretty button:

      var btn1:Button1 = new Button1();
      btn1.move(200,200); // If I comment this line out, the button draws, but is in the upper left as expected
      addChild(btn1);

      The linkage for my created button has Button1 for the Class, and flash.display.SimpleButton for the default class.