| Package | com.ammap.mapClasses |
| Class | public class MapArea |
| Inheritance | MapArea MapObject flash.events.EventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
![]() | alpha : Number
Opacity of MapObject
| MapObject | |
| areaMC : MovieClip
Movie clip of the area
| MapArea | ||
| autoZoom : Boolean
specifies if the area should be zoomed-in when user clicks on it, event if zoom properties are not set
| MapArea | ||
![]() | balloonText : String
Text which is displayed in a roll-over balloon.
| MapObject | |
![]() | bringForwardOnHover : Boolean
Specifies if movie or line should be moved to front level when user rolls-over it
| MapObject | |
![]() | color : Number
Color of MapObject
| MapObject | |
![]() | customData : Object
a custom data holder
| MapObject | |
![]() | description : String
Description of MapObject.
| MapObject | |
![]() | descriptionWindowHeight : Number
Height of description window
| MapObject | |
![]() | descriptionWindowY : Number
y position of description window
| MapObject | |
![]() | descriptionWindowWidth : Number
Width of description window
| MapObject | |
![]() | descriptionWindowX : Number
x position of description window
| MapObject | |
![]() | displayObject : DisplayObject
DisplayObject of a MapObject
| MapObject | |
![]() | filters : Array
Array of filters which will be applied to the object.
| MapObject | |
![]() | fixedSize : Boolean
Specifies if the object should change the size together with the map or keep fixed size.
| MapObject | |
![]() | groupId : String
id of a group.
| MapObject | |
| instanceName : String
Instance name of a movieClip.
| MapArea | ||
![]() | lines : Array
Array of MapLine objects
| MapObject | |
![]() | linkWith : Array
Array of object id's with which this object is linked.
| MapObject | |
![]() | mouseEnabled : Boolean
If you want to preserve original mouse events of your movie, set this to false.
| MapObject | |
![]() | movies : Array
Array of MapMovie objects.
| MapObject | |
![]() | oid : String
unique id of map object
| MapObject | |
![]() | passZoomValuesToTarget : Boolean
Specifies if current zoom values should be passed to target MapObject
Useful when building drill down maps.
| MapObject | |
| preserveOriginalColors : Boolean
Specifies if the original area's color should be kept
| MapArea | ||
![]() | remainVisible : Boolean
Specifies if the MapObject should remain visible if it was clicked and it has children MapObjects.
| MapObject | |
![]() | rollOverAlpha : Number
Roll over opacity
| MapObject | |
![]() | rollOverColor : Number
Roll over color of of the object
| MapObject | |
![]() | rollOverFilter : Object
filter to be applied for an object when the mouse is over it
| MapObject | |
![]() | selectable : Boolean
Specifies if the object can be selected even if it is not clickable.
| MapObject | |
![]() | selectedColor : Number
Color of an object when it is selected (somebody clicked on it)
| MapObject | |
![]() | showAsSelected : Boolean
Specifies if selectedColor should be applied to the object.
| MapObject | |
![]() | showInList : Boolean
Specifies if this object must be displayed in ObjectsList
Title should be defined in order the object to appear there.
| MapObject | |
![]() | title : String
Title of a MapObject
| MapObject | |
![]() | url : Object
url of an object.
| MapObject | |
![]() | urlTarget : String
Target of an URL, if URL is a string.
| MapObject | |
![]() | useTargetsZoomValues : Boolean
Specifies if MapObject's, specified in the url zoom values should be used.
| MapObject | |
![]() | value : Number
Value of the object.
| MapObject | |
![]() | visible : Boolean
specifies if map object is visible
| MapObject | |
![]() | zoomY : Number
Specifies y position (in percents of stage height) to which map should be moved when this object is clicked
You can also use zoomLat and zoomLong instead of zoomY and zoomY
| MapObject | |
![]() | zoomLat : Number
Specifies Latitude to which map should be moved when this object is clicked
| MapObject | |
![]() | zoomLevel : Number
Specifies map scale to which map should be rescaled when this object is clicked
| MapObject | |
![]() | zoomLong : Number
Specifies Longitude to which map should be moved when this object is clicked
| MapObject | |
![]() | zoomX : Number
Specifies x position (in percents of stage width) to which map should be moved when this object is clicked.
| MapObject | |
| Method | Defined by | ||
|---|---|---|---|
|
MapArea()
Constructor.
| MapArea | ||
![]() |
adds MapObject
| MapObject | |
![]() |
removeObject(object:MapObject):void
removes MapObject
| MapObject | |
| areaMC | property |
areaMC:MovieClip [read-write]Movie clip of the area
Implementation public function get areaMC():MovieClip
public function set areaMC(value:MovieClip):void
| autoZoom | property |
autoZoom:Boolean [read-write]specifies if the area should be zoomed-in when user clicks on it, event if zoom properties are not set
The default value is false.
public function get autoZoom():Boolean
public function set autoZoom(value:Boolean):void
| instanceName | property |
instanceName:String [read-write]Instance name of a movieClip. Instance name is set in fla file, using Adobe Flash software. All areas of swf maps included with ammap has instance name already defined.
Implementation public function get instanceName():String
public function set instanceName(value:String):void
| preserveOriginalColors | property |
preserveOriginalColors:Boolean [read-write]Specifies if the original area's color should be kept
The default value is false.
public function get preserveOriginalColors():Boolean
public function set preserveOriginalColors(value:Boolean):void
| MapArea | () | constructor |
public function MapArea()Constructor.