| Methods | Properties | Effects | Events | Styles | Examples | Frames | No Frames |
The Link control is essentially a borderless Button whose contents highlight when the mouse hovers over it. These traits are often exhibited by links contained within a browser page. In order for the Link to perform some action, as is the case with a Button, you must specify a click hander.
MXML Syntax
The <mx:Link> tag inherits all the properties of its parent classes, and the following properties:
<mx:LinkClick here to view the Examples
rollOverColor="0xE3FFD6"
selectionColor="0xCDFFC1"
textSelectedColor="0x000000"
/>
| Methods |
| Methods inherited from class mx.core.UIComponent |
drawFocus
getFocus
getFocusManager
setEnabled
setFocus
|
| Properties | |
static | version:
StringVersion string for this class. |
| Properties inherited from class mx.controls.Button |
icon
label
labelPlacement
version
|
| Properties inherited from class mx.controls.SimpleButton |
falseDisabledSkin
falseDownSkin
falseOverSkin
falseUpSkin
selected
toggle
trueDisabledSkin
trueDownSkin
trueOverSkin
trueUpSkin
version
|
| Properties inherited from class mx.core.UIComponent |
enabled
errorString
tabEnabled
tabIndex
version
|
| Effects |
| Effects inherited from class mx.core.UIComponent |
focusInEffect
focusOutEffect
|
| Effects inherited from class mx.core.UIObject |
creationCompleteEffect
hideEffect
mouseDownEffect
mouseOutEffect
mouseOverEffect
mouseUpEffect
moveEffect
resizeEffect
showEffect
|
| Events |
| Events inherited from class: mx.controls.Button |
click |
| Events inherited from class: mx.controls.SimpleButton |
buttonDown buttonDragOut click |
| Events inherited from class: mx.core.UIComponent |
focusIn focusOut invalid keyDown keyUp valid valueCommitted |
| Styles | |
cornerRadius |
Type:
Number
CSS Inheritance:
noCorner radius of hilite rectangle. The default value is 4. |
rollOverColor |
Type:
Number
Format:
Color
CSS Inheritance:
yesColor of link as you move the mouse pointer over it. The default value is 0xE3FFD6. |
selectionColor |
Type:
Number
Format:
Color
CSS Inheritance:
yesBackground color of the link as you press it. The default value is 0xCDFFC1. |
textRollOverColor |
Type:
Number
Format:
Color
CSS Inheritance:
yesText color of the link as you move the mouse pointer over it. The default value is 0x2B333C. |
textSelectedColor |
Type:
Number
Format:
Color
CSS Inheritance:
yesText color of the link as you press it. The default value is 0x000000. |
| Styles inherited from class mx.controls.Button |
borderThickness
cornerRadius
horizontalGap
textRollOverColor
textSelectedColor
verticalGap
|
| Styles inherited from class mx.controls.SimpleButton |
repeatDelay
repeatInterval
|
| Styles inherited from class mx.core.UIObject |
color
fontFamily
fontSize
fontStyle
fontWeight
horizontalGap
leading
marginLeft
marginRight
textAlign
textDecoration
textIndent
verticalGap
|
| Property Detail |
static
version:
String
| Examples |
| SimpleLink.mxml |
|
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flex/15/asdocs_en/mx/controls/Link.html