TweenEvent

Kind of class:class
Inherits from:BasicEvent
Version:1.0
Author:Francis Bourre
Classpath:com.bourre.transitions.TweenEvent
File last modified:Wednesday, 31 October 2007, 07:35:30
TweenEvent defines event model for Tween API.

Based on com.bourre.events.BasicEvent class.

TweenEvent events are broadcasted by ITween instances.

Summary

Constructor
Instance properties
Instance properties inherited from BasicEvent
Instance methods
Instance methods inherited from BasicEvent

Constructor

TweenEvent

function TweenEvent (
Constructs a new TweenEvent instance broadcasted by ITween
family classes.

Example

var e:TweenEvent = new TweenEvent(TweenFPS.onMotionFinished, this);
Parameters:
e :
event type (event name).
oTween:
event source (ITween instance).

Instance methods

getTween

function getTween (
) : ITween
Returns ITween event source.

Example

var t:TweenMS = TweenMS( e.getType() );
Returns:
ITween instance

toString

function toString (
) : String
Returns the string representation of this instance.

com.bourre.events.BasciEvent.toString overridding

Returns:
String representation of this instance