Component: FZAbstractButton

Component show the abstract button – text or image, or SWF (in future versions). It's a ideal solution for different widget's buttons, which must be customized by user or designer.

Property text:String

Text of the button.

Property buttonXML:XML

This property configure the component decoration.
It's recommended to receive configuration XML, using FZAbstractButtonEditor component.

Event: buttonClick

Dispatched, when user press the button.

Property linkURL:String

Page or external URL, where user will automatically move after button click.
This property isn't required, so you can process buttonClick on your own.

Function highlightCurrent(isHighlight:Boolean)

If isHighlight, move AbstractButton to DOWN state; otherwise, move to NORMAL state. Can be used, when you want process clicks on your own (for example, if you want to highlight current track in MP3 playlist).


Developer guide