BETA ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Hide Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes

Language Reference only
Filters: AIR 32.0 and earlier, Flash Player 32.0 and earlier, Flash Lite 4
None
Hide Filters
mx.core 

DesignLayer  - AS3 Flex

(Preview)
Packagemx.core
Classpublic class DesignLayer
InheritanceDesignLayer Inheritance EventDispatcher Inheritance Object
Implements IMXMLObject

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

The DesignLayer class represents a visibility group that can be associated with one or more IVisualElement instances at runtime. DesignLayer instances support a visible and alpha property that when set will propagate to the associated layer children.



Public Properties
 PropertyDefined By
  alpha : Number
The alpha for this design layer instance, between 0.0 and 1.0.
DesignLayer
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  effectiveAlpha : Number
[read-only] Property that returns the effective alpha, between 0.0 and 1.0, of this design layer.
DesignLayer
  effectiveVisibility : Boolean
[read-only] Returns the effective visibility of this design layer.
DesignLayer
  id : String
ID of the layer component.
DesignLayer
  numLayers : int
[read-only] The number of DesignLayer children directly parented by this layer.
DesignLayer
  parent : DesignLayer
[read-only] This layer's parent layer.
DesignLayer
  visible : Boolean
The visibility for this design layer instance.
DesignLayer
Public Methods
 MethodDefined By
  
Constructor.
DesignLayer
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
EventDispatcher
  
Adds a DesignLayer child to this layer.
DesignLayer
 Inherited
Dispatches an event into the event flow.
EventDispatcher
  
Returns the DesignLayer child at the specified index.
DesignLayer
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
  
Called after the implementing object has been created and all component properties specified on the MXML tag have been initialized.
DesignLayer
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
  
Removes a DesignLayer child from this layer.
DesignLayer
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Events
 Event Summary Defined By
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active.EventDispatcher
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive.EventDispatcher
  Dispatched by the layer when either effectiveVisibility or effectiveAlpha changes.DesignLayer
Property Detail
Constructor Detail
Method Detail
Event Detail