Package | org.apache.flex.effects |
Class | public class Resize |
Inheritance | Resize ![]() ![]() ![]() ![]() |
Implements | IDocument |
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Property | Defined By | ||
---|---|---|---|
![]() | activeTweens : Object [static]
The list of tweens that are currently playing. | Tween | |
![]() | currentTime : Number = NaN [static]
Used by effects to get the current effect time tick. | Tween | |
![]() | duration : Number
Duration of the animation, in milliseconds. | Effect | |
![]() | easingFunction : Function [write-only]
Sets the easing function for the animation. | Tween | |
![]() | endValue : Number
Final value of the animation. | Tween | |
heightBy : Number
The change in height. | Resize | ||
heightFrom : Number
Starting height value. | Resize | ||
heightTo : Number
Ending height value. | Resize | ||
![]() | listener : Object
Object that is notified at each interval of the animation. | Tween | |
![]() | startValue : Number
Initial value of the animation. | Tween | |
target : String
The target as the String id
of a widget in an MXML Document. | Resize | ||
widthBy : Number
The change in width. | Resize | ||
widthFrom : Number
Starting width value. | Resize | ||
widthTo : Number
Ending width value. | Resize |
Method | Defined By | ||
---|---|---|---|
Constructor. | Resize | ||
![]() | captureEndValues():void | Effect | |
![]() | captureStartValues():void | Effect | |
![]() | endTween():void
Interrupt the tween, jump immediately to the end of the tween,
and invoke the onTweenEnd() callback function. | Tween | |
onTweenEnd(value:Number):void | Resize | ||
onTweenUpdate(value:Number):void | Resize | ||
![]() | pause():void [override]
Pauses the effect until you call the resume() method. | Tween | |
![]() | play():void [override]
Stops the tween, ending it without dispatching an event or calling
the Tween's endFunction or onTweenEnd(). | Tween | |
![]() | resume():void [override]
Resumes the effect after it has been paused
by a call to the pause() method. | Tween | |
![]() | reverse():void [override]
Plays the effect in reverse,
starting from the current position of the effect. | Tween | |
![]() | seek(playheadTime:Number):void
Advances the tween effect to the specified position. | Tween | |
setDocument(document:Object, id:String = null):void | Resize | ||
![]() | stop():void [override]
Stops the tween, ending it without dispatching an event or calling
the Tween's endFunction or onTweenEnd(). | Tween |
heightBy | property |
public var heightBy:Number
The change in height.
heightFrom | property |
public var heightFrom:Number
Starting height value. If NaN, the current height value is used
heightTo | property |
public var heightTo:Number
Ending height value.
target | property |
public var target:String
The target as the String id of a widget in an MXML Document.
widthBy | property |
public var widthBy:Number
The change in width.
widthFrom | property |
public var widthFrom:Number
Starting width value. If NaN, the current width value is used
widthTo | property |
public var widthTo:Number
Ending width value.
Resize | () | Constructor |
public function Resize(target:IUIBase = null)
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Constructor.
Parameterstarget:IUIBase (default = null ) — Object ID or reference to an object that will
have its x and/or y property animated.
|
onTweenEnd | () | method |
public function onTweenEnd(value:Number):void
Parameters
value:Number |
onTweenUpdate | () | method |
public function onTweenUpdate(value:Number):void
Parameters
value:Number |
setDocument | () | method |
public function setDocument(document:Object, id:String = null):void
Parameters
document:Object | |
id:String (default = null )
|