Feeds:
Posts
Comments

Posts Tagged ‘Spark ButtonBar’

On middle ButtonBarButton SkinĀ  creationComplete

protected function onCreationComplete(evt:FlexEvent):void {
var dataObj:Object = hostComponent.data;
if(dataObj.hasOwnProperty(‘icon’)){
img.source = dataObj.icon;
hostComponent.toolTip = dataObj.label;
}
}

Read Full Post »