0 Replies Latest reply on Dec 9, 2010 12:23 AM by senthil s

    problem in creating new label in flashbuilder using script

    senthil s Level 1

      import

       

       

       

       

      mx.controls.*;

      public function init():void{

       

      var Mylabel:Label=new Label;

       

      Mylabel.move(10,10);

      Mylabel.text=

      "Welcome";

       

      when i use this code it shows Overrides Object.init issue wats wrong in this?can any one provide me right way?