The amplitude of the sine wave used to place cards in the layout, given as a
fraction of the target height (nominally, sineAmp is in the range 0 to 1).
The list of attachments being displayed (as cards)
This property can be used as the source for data binding.
Implementation public function get list():CardList public function set list(value:CardList):void
maxCardPosition
property
maxCardPosition:Number
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
The maximum horizontal position that a card can have.
This is dependent on the target width.
This property can be used as the source for data binding.
Implementation public function get maxCardPosition():Number public function set maxCardPosition(value:Number):void
pendingCardPosition
property
pendingCardPosition:Number
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
The pendingCard position
Implementation public function get pendingCardPosition():Number public function set pendingCardPosition(value:Number):void
perspectiveProjection
property
protected var perspectiveProjection:PerspectiveProjection
scrollAgain
property
protected var scrollAgain:Boolean
sineAmp
property
sineAmp:Number
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
The amplitude of the sine wave used to place cards in the layout, given as a
fraction of the target height (nominally, sineAmp is in the range 0 to 1).
This property can be used as the source for data binding.
Implementation public function get sineAmp():Number public function set sineAmp(value:Number):void
sinePhase
property
sinePhase:Number
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
The starting phase angle for the wave function
This property can be used as the source for data binding.
Implementation public function get sinePhase():Number public function set sinePhase(value:Number):void
sizeInvalid
property
protected var sizeInvalid:Boolean
target
property
target:GroupBase[override]
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
The target component
Implementation public function get target():GroupBase public function set target(value:GroupBase):void
thumbFitSize
property
thumbFitSize:Point
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
The size to use for preview thumbnails
Implementation public function get thumbFitSize():Point public function set thumbFitSize(value:Point):void
totalWidth
property
protected var totalWidth:Number
yAngle
property
yAngle:Number
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Controls the y-axis rotation of cards other than the focus card
This property can be used as the source for data binding.
Implementation public function get yAngle():Number public function set yAngle(value:Number):void
zAngle
property
zAngle:Number
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
The y-axis rotation of cards other than the focus card
This property can be used as the source for data binding.
Implementation public function get zAngle():Number public function set zAngle(value:Number):void
zDistance
property
zDistance:Number
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Controls the z-distance of cards other than the focus card
This property can be used as the source for data binding.
Implementation public function get zDistance():Number public function set zDistance(value:Number):void
See also
flash.geom.PerspectiveProjection
zDistancePower
property
zDistancePower:Number
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
The z-distance of cards is determined (in part) by zDistance^^zDistancePower
This property can be used as the source for data binding.
Implementation public function get zDistancePower():Number public function set zDistancePower(value:Number):void
Constructor Detail
WaveLayout
()
Constructor
public function WaveLayout()
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Constructor
Method Detail
addListenAndWatch
()
method
public function addListenAndWatch():void
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Add event listeners and change watchers to the navigator.
cardIndexFromPosition
()
method
protected function cardIndexFromPosition(cardPosition:Number):int
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Returns the index value for the card at the given horizontal position
the cards index value.
Parameters
cardPosition:Number — The horizontal position of the card, in pixels
Returns
int — The index value of the card at the given position
cardPositionFromIndex
()
method
protected function cardPositionFromIndex(index:int):Number
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Returns the horizontal card position, in pixels, given
the cards index value.
Parameters
index:int — The index value for the card
Returns
Number — the horizontal position of the card, given in pixels
centerCard
()
method
protected function centerCard(newCardPosition:Number):void
Parameters
newCardPosition:Number (default = NaN)
commitProperties
()
method
protected function commitProperties():void
elementAdded
()
method
override public function elementAdded(index:int):void
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Parameters
index:int
elementRemoved
()
method
override public function elementRemoved(index:int):void
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Parameters
index:int
enableCards
()
method
protected function enableCards(enabled:Boolean):void
Parameters
enabled:Boolean
fadeInCards
()
method
protected function fadeInCards():void
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Runs the fadeInCards animation effect.
findCardsThatIntersect
()
method
public function findCardsThatIntersect(marqueeRect:Rectangle):Vector.<int>
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Find the list of cards that overlap the specified marquee rectangle.
Parameters
marqueeRect:Rectangle — A bounding rectangle
Returns
Vector.<int> — A vector of integers that represent the indexes
of the cards in the layout that intersect the specified marquee rectangle.
getCard
()
method
public function getCard(cardPosition:Number):ISimpleCard
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Get the card that has the specified card position
Parameters
cardPosition:Number — The horizontal position of the card, in pixels.