Feeds:
Posts
Comments

Posts Tagged ‘spark’

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 »

@font-face {

font-family: “scFont”;

src: url(“assets/fonts/mriam.ttf”);

embedAsCff: true;

}

mx|Alert, mx|Button, mx|Form,mx|FormItem, mx|FormItemLabel{

font-family: scFont;

textFieldClass: ClassReference(“mx.core.UIFTETextField”);

}

mx|DateField {

font-family: Tahoma;

textInputClass: ClassReference(“mx.controls.MXFTETextInput”);

textFieldClass: ClassReference(“mx.core.UIFTETextField”);

}

mx|Label {

textFieldClass: ClassReference(“mx.core.UIFTETextField”);

}

Read Full Post »