| Package | flexlib.controls |
| Class | public class ImageMap |
| Inheritance | ImageMap mx.controls.Image |
See also
| Property | Defined By | ||
|---|---|---|---|
| map : Array
The <map /> HTML block that is normally used for the image map in an HTML file. | ImageMap | ||
| showToolTips : Boolean = false
Indicates whether tool tips should be shown for each area. | ImageMap | ||
| toolTipField : String = alt
Field of the <area /> item that will be used for the tooltip. | ImageMap | ||
| Method | Defined By | ||
|---|---|---|---|
ImageMap() | ImageMap | ||
| Method | Defined By | ||
|---|---|---|---|
createChildren():void [override] | ImageMap | ||
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void [override] | ImageMap | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Fired when an area is clicked. | ImageMap | |||
| Fired when an area is double clicked. | ImageMap | |||
| Fired when the mouse is pressed down on an area. | ImageMap | |||
| Fired when the mouse moves out of an area. | ImageMap | |||
| Fired when the mouse moves over an area. | ImageMap | |||
| Fired when the mouse is released on an area. | ImageMap | |||
| map | property |
map:ArrayThe <codeph><map /></codeph> HTML block that is normally used for the image map in an HTML file. This should be wrapped as an XMLList and can either be cuopy/pasted straight into the MXML file, or set via Actionscript.
public function get map():Array public function set map(value:Array):void| showToolTips | property |
public var showToolTips:Boolean = falseIndicates whether tool tips should be shown for each area.
The default value is false.
| toolTipField | property |
public var toolTipField:String = altField of the <codeph><area /></codeph> item that will be used for the tooltip.
The default value is "alt".
| ImageMap | () | Constructor |
public function ImageMap()| createChildren | () | method |
override protected function createChildren():void| updateDisplayList | () | method |
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):voidParameters
unscaledWidth:Number | |
unscaledHeight:Number |
| shapeClick | Event |
flexlib.events.ImageMapEventflexlib.events.ImageMapEvent.SHAPE_CLICKFired when an area is clicked.
| shapeDoubleClick | Event |
flexlib.events.ImageMapEventflexlib.events.ImageMapEvent.SHAPE_DOUBLECLICKFired when an area is double clicked.
| shapeDown | Event |
flexlib.events.ImageMapEventflexlib.events.ImageMapEvent.SHAPE_DOWNFired when the mouse is pressed down on an area.
| shapeOut | Event |
flexlib.events.ImageMapEventflexlib.events.ImageMapEvent.SHAPE_OUTFired when the mouse moves out of an area.
| shapeOver | Event |
flexlib.events.ImageMapEventflexlib.events.ImageMapEvent.SHAPE_OVERFired when the mouse moves over an area.
| shapeUp | Event |
flexlib.events.ImageMapEventflexlib.events.ImageMapEvent.SHAPE_UPFired when the mouse is released on an area.