Packagecom.ammap.mapClasses.settings
Classpublic class AreasSettings
InheritanceAreasSettings Inheritance BaseSettings Inheritance flash.events.EventDispatcher

AreasSettings is a class which holds common settings of all MapArea objects.



Public Properties
 PropertyDefined by
 Inheritedalpha : Number
Opacity of MapObject
BaseSettings
  autoZoom : Boolean
specifies if the areas should be zoomed-in when user clicks on them, event if zoom properties are not set
AreasSettings
 InheritedballoonText : String
Text which is displayed in a roll-over balloon.
BaseSettings
 InheritedbringForwardOnHover : Boolean
Specifies if the line or movie should be moved to front level when user rolls-over it
BaseSettings
  color : Number
[write-only] Color of the areas
AreasSettings
  colorSolid : Number
Color of area with highest value.
AreasSettings
  initialAnimationDuration : Number
Duration of animation while areas gain colors.
AreasSettings
 InheritedrollOutAnimationDuration : Number
Time in seconds at which object gains back it's color after user rolls-out of the MapObject
BaseSettings
 InheritedrollOverAlpha : Number
Opacity of the MapObject when users rolls-over it.
BaseSettings
 InheritedrollOverColor : Number
Color of the MapObject when users rolls-over it.
BaseSettings
 InheritedrollOverFilter : Object
filter to be applied for a hovered object
BaseSettings
 InheritedselectedColor : Number
Color of currently selected MapObject
BaseSettings
  unlistedAreasAlpha : Number
Opacity of all areas (movieClips) which are in the map swf file, but not listed as areas in DataSet.
AreasSettings
  unlistedAreasColor : Number
Color of all areas (movieClips) which are in the map swf file, but not listed as areas in DataSet.
AreasSettings
Public Methods
 MethodDefined by
  
Constructor.
AreasSettings
Property detail
autoZoomproperty
autoZoom:Boolean  [read-write]

specifies if the areas should be zoomed-in when user clicks on them, event if zoom properties are not set

The default value is false.

Implementation
    public function get autoZoom():Boolean
    public function set autoZoom(value:Boolean):void
colorproperty 
color:Number  [write-only]

Color of the areas

The default value is 0xFFCC00.

Implementation
    public function set color(value:Number):void
colorSolidproperty 
colorSolid:Number  [read-write]

Color of area with highest value. Colors for areas with values less then highest will be colored with intermediate colors between color and colorSolid

The default value is 0x990000.

Implementation
    public function get colorSolid():Number
    public function set colorSolid(value:Number):void
initialAnimationDurationproperty 
initialAnimationDuration:Number  [read-write]

Duration of animation while areas gain colors. This animation will be visible only if values for the areas are set.

The default value is 2.

Implementation
    public function get initialAnimationDuration():Number
    public function set initialAnimationDuration(value:Number):void
unlistedAreasAlphaproperty 
unlistedAreasAlpha:Number  [read-write]

Opacity of all areas (movieClips) which are in the map swf file, but not listed as areas in DataSet.

The default value is undefined.

Implementation
    public function get unlistedAreasAlpha():Number
    public function set unlistedAreasAlpha(value:Number):void
unlistedAreasColorproperty 
unlistedAreasColor:Number  [read-write]

Color of all areas (movieClips) which are in the map swf file, but not listed as areas in DataSet.

The default value is undefined.

Implementation
    public function get unlistedAreasColor():Number
    public function set unlistedAreasColor(value:Number):void
Constructor detail
AreasSettings()constructor
public function AreasSettings()

Constructor.