>;
private function initCollections():void {
menuBarCollection = new XMLListCollection(menubarXML);
}
[Bindable]
private var d:ArrayCollection=new ArrayCollection([{slno:"1",name:"Joseph",age:"23"},{slno:"2",name:"Jeena",age:"21"},{slno:"3",name:"Jerry",age:"4"}
,{slno:"4",name:"Tom",age:"1"},{slno:"5",name:"Rick",age:"12"},{slno:"6",name:"John",age:"52"}]);
public function onBtnClick(event:Event):void
{
trace(event.currentTarget.label);
ta.text=event.currentTarget.label+" is clicked";
}
public function enterShowStatusState():void
{
this.title="show status state: this is a new status";
this.status="show status: new title";
this.alwaysInFront=true;
this.label1.visible=true;
}
public function enterShowMenuState():void
{
this.alwaysInFront=false;
}
]]>