Packagecom.gestureworks.cml.away3d.elements
Classpublic class Layout3D
InheritanceLayout3D Inheritance com.gestureworks.cml.core.CMLObject
Implements ILayout3D
Subclasses CircleLayout3D, RandomLayout3D

Loads Layout3D instances in CML through the ref attribute and serves as the abstract class for all 3D layouts.



Public Properties
 PropertyDefined By
  autoplay : Boolean
Automatically tweens when layout method is called.
Layout3D
  easing : *
Specifies the easing equation.
Layout3D
  layoutTween : TimelineLite
[read-only] Read-only accessor to layout tweener.
Layout3D
  name : String
Layout3D
  onComplete : Function
Function to call on layout complete
Layout3D
  onUpdate : Function
Function to call on layout update
Layout3D
  tween : Boolean
Flag indicating the display objects will animate to their layout positions.
Layout3D
  tweenTime : Number
The time(ms) the display objects will take to move into positions
Layout3D
Protected Properties
 PropertyDefined By
  childTransforms : Vector.<LayoutTransforms>
Layout3D
  childTweens : Array
Layout3D
  _layoutTween : TimelineLite
Layout3D
Public Methods
 MethodDefined By
  
Constructor
Layout3D
  
killTween(child:* = null):void
Kills the tweening of the provided child.
Layout3D
  
layout(container:ObjectContainer3D):void
Layout3D
  
parseCML(cml:XMLList):XMLList
[override]
Layout3D
Property Detail
_layoutTweenproperty
protected var _layoutTween:TimelineLite

autoplayproperty 
autoplay:Boolean

Automatically tweens when layout method is called. If false you call play() on the layoutTween property.


Implementation
    public function get autoplay():Boolean
    public function set autoplay(value:Boolean):void
childTransformsproperty 
protected var childTransforms:Vector.<LayoutTransforms>

childTweensproperty 
protected var childTweens:Array

easingproperty 
easing:*

Specifies the easing equation. Argument must be an Ease instance or a String defining the Ease class either by property syntax or class name (e.g. Expo.easeOut or ExpoOut).


Implementation
    public function get easing():*
    public function set easing(value:any):void
layoutTweenproperty 
layoutTween:TimelineLite  [read-only]

Read-only accessor to layout tweener.


Implementation
    public function get layoutTween():TimelineLite
nameproperty 
public var name:String

onCompleteproperty 
onComplete:Function

Function to call on layout complete


Implementation
    public function get onComplete():Function
    public function set onComplete(value:Function):void
onUpdateproperty 
onUpdate:Function

Function to call on layout update


Implementation
    public function get onUpdate():Function
    public function set onUpdate(value:Function):void
tweenproperty 
tween:Boolean

Flag indicating the display objects will animate to their layout positions. If false, the objects will be positioned at initialization.

The default value is true.


Implementation
    public function get tween():Boolean
    public function set tween(value:Boolean):void
tweenTimeproperty 
tweenTime:Number

The time(ms) the display objects will take to move into positions

The default value is 500.


Implementation
    public function get tweenTime():Number
    public function set tweenTime(value:Number):void
Constructor Detail
Layout3D()Constructor
public function Layout3D()

Constructor

Method Detail
killTween()method
public function killTween(child:* = null):void

Kills the tweening of the provided child. If a child is not provided, the group tween is killed.

Parameters

child:* (default = null)

layout()method 
public function layout(container:ObjectContainer3D):void

Parameters

container:ObjectContainer3D

parseCML()method 
override public function parseCML(cml:XMLList):XMLList

Parameters

cml:XMLList

Returns
XMLList