Package | sekati.transitions |
Class | public class Motion |
Tweener.addTween( mySprite, base:Motion.base, x:100 ); // a base transition Tweener.addTween( mySprite, base:Motion.base, transition:Motion.o.expo, y:100 ); // a customized base transition
Property | Defined by | ||
---|---|---|---|
base : Object [static][read-only]
| Motion | ||
baseLong : Object [static][read-only]
| Motion | ||
baseMedium : Object [static][read-only]
| Motion | ||
baseShort : Object [static][read-only]
| Motion | ||
baseXLong : Object [static][read-only]
| Motion | ||
fadeIn : Object [static][read-only]
| Motion | ||
fadeOut : Object [static][read-only]
| Motion |
Method | Defined by | ||
---|---|---|---|
Motion()
Motion Static Constructor
| Motion | ||
burst(o:DisplayObject, c:Number, cb:Function):void
[static]
Create a small "burst" transition
| Motion | ||
colorTo(c:Number):Object
[static]
Return a base tween object color transition
| Motion | ||
fadeTo(a:Number):Object
[static]
| Motion | ||
glow(a:Number, b:Number, c:Number, s:Number):Object
[static]
Return a base tween object glow transition
| Motion | ||
normalize(o:DisplayObject):void
[static]
Normalize a clip
| Motion |
Constant | Defined by | ||
---|---|---|---|
i : Object [static]
EaseIn Shortcuts
| Motion | ||
io : Object [static]
EaseInOut Shortcuts
| Motion | ||
o : Object [static]
EaseOut Shortcuts
| Motion | ||
time : Object [static]
Time Shortcuts
| Motion |
base | property |
base:Object
[read-only]Implementation
public static function get base():Object
baseLong | property |
baseLong:Object
[read-only]Implementation
public static function get baseLong():Object
baseMedium | property |
baseMedium:Object
[read-only]Implementation
public static function get baseMedium():Object
baseShort | property |
baseShort:Object
[read-only]Implementation
public static function get baseShort():Object
baseXLong | property |
baseXLong:Object
[read-only]Implementation
public static function get baseXLong():Object
fadeIn | property |
fadeIn:Object
[read-only]Implementation
public static function get fadeIn():Object
fadeOut | property |
fadeOut:Object
[read-only]Implementation
public static function get fadeOut():Object
Motion | () | constructor |
public function Motion()
Motion Static Constructor
burst | () | method |
public static function burst(o:DisplayObject, c:Number, cb:Function):void
Create a small "burst" transition
Parameterso:DisplayObject |
|
c:Number |
|
cb:Function |
colorTo | () | method |
public static function colorTo(c:Number):Object
Return a base tween object color transition
Parametersc:Number |
Object |
fadeTo | () | method |
public static function fadeTo(a:Number):Object
Parameters
a:Number |
Object |
glow | () | method |
public static function glow(a:Number, b:Number, c:Number, s:Number):Object
Return a base tween object glow transition
Parametersa:Number — alpha [0-1]
|
|
b:Number — blur [0-255]
|
|
c:Number — color [hex]
|
|
s:Number — strength [0-255]
|
Object — Object
|
normalize | () | method |
public static function normalize(o:DisplayObject):void
Normalize a clip
Parameterso:DisplayObject |
i | constant |
public static const i:Object
EaseIn Shortcuts
io | constant |
public static const io:Object
EaseInOut Shortcuts
o | constant |
public static const o:Object
EaseOut Shortcuts
time | constant |
public static const time:Object
Time Shortcuts