mx.controls.*;
import
public function init():void{
var Mylabel:Label=new Label; "Welcome";
Mylabel.move(10,10);
Mylabel.text=
when i use this code it shows Overrides Object.init issue wats wrong in this?can any one provide me right way
I pasted your code into an <fx:Script> block of a new Flex Project in Flash Builder 4 and didn't get any compilation error. If you're getting a compilation error, please post the complete code and the exact wording of the error.
Gordon Smith
Adobe Flex SDK Team