Packagevegas.display.coverflow
Classpublic class CoverFlow
InheritanceCoverFlow Inheritance flash.display.Sprite

The cover flow container.



Public Properties
 PropertyDefined By
  fieldOfView : Number
Specifies an angle, as a degree between 0 and 180, for the field of view in three dimensions.
CoverFlow
  index : int
The index of the selected cover in the coverflow.
CoverFlow
  length : int
[read-only] Indicates the number of covers register in the coverflow container.
CoverFlow
  offsetAngle : Number
The offset angle value of the covers (default 45).
CoverFlow
  offsetCenterLeft : Number
The offset space between two covers in the left area of the coverflow.
CoverFlow
  offsetCenterRight : Number
The offset space between two covers in the right area of the coverflow.
CoverFlow
  offsetCover : Number
The offset value between two covers (default 100).
CoverFlow
  offsetDepth : Number
The offset depth value of the covers (default 256).
CoverFlow
  size : Number
Indicates the size of the coverflow effect (visible area size).
CoverFlow
Public Methods
 MethodDefined By
  
CoverFlow(size:Number = 740, auto:Boolean = true, init:Object = null)
Creates a new CoverFlow instance.
CoverFlow
  
addCover(cover:Cover):void
Adds a new Cover in the coverflow.
CoverFlow
  
clear():void
Removes all childs in the container.
CoverFlow
Property Detail
fieldOfViewproperty
fieldOfView:Number

Specifies an angle, as a degree between 0 and 180, for the field of view in three dimensions.


Implementation
    public function get fieldOfView():Number
    public function set fieldOfView(value:Number):void
indexproperty 
index:int

The index of the selected cover in the coverflow.


Implementation
    public function get index():int
    public function set index(value:int):void
lengthproperty 
length:int  [read-only]

Indicates the number of covers register in the coverflow container.


Implementation
    public function get length():int
offsetAngleproperty 
offsetAngle:Number

The offset angle value of the covers (default 45).


Implementation
    public function get offsetAngle():Number
    public function set offsetAngle(value:Number):void
offsetCenterLeftproperty 
offsetCenterLeft:Number

The offset space between two covers in the left area of the coverflow.


Implementation
    public function get offsetCenterLeft():Number
    public function set offsetCenterLeft(value:Number):void
offsetCenterRightproperty 
offsetCenterRight:Number

The offset space between two covers in the right area of the coverflow.


Implementation
    public function get offsetCenterRight():Number
    public function set offsetCenterRight(value:Number):void
offsetCoverproperty 
offsetCover:Number

The offset value between two covers (default 100).


Implementation
    public function get offsetCover():Number
    public function set offsetCover(value:Number):void
offsetDepthproperty 
offsetDepth:Number

The offset depth value of the covers (default 256).


Implementation
    public function get offsetDepth():Number
    public function set offsetDepth(value:Number):void
sizeproperty 
size:Number

Indicates the size of the coverflow effect (visible area size).


Implementation
    public function get size():Number
    public function set size(value:Number):void
Constructor Detail
CoverFlow()Constructor
public function CoverFlow(size:Number = 740, auto:Boolean = true, init:Object = null)

Creates a new CoverFlow instance.

Parameters
size:Number (default = 740) — The width of the coverflow effect.
 
auto:Boolean (default = true) — Indicates if the coverflow effect is active when the coverflow is added in the display list.
 
init:Object (default = null) — A generic object containing properties with which to populate the newly instance. If this argument is null, it is ignored.
Method Detail
addCover()method
public function addCover(cover:Cover):void

Adds a new Cover in the coverflow.

Parameters

cover:Cover

clear()method 
public function clear():void

Removes all childs in the container.