TweenEventType

Kind of class:class
Inherits from:EventType < String
Version:1.0
Author:Francis Bourre
Classpath:com.bourre.transitions.TweenEventType
File last modified:Wednesday, 31 October 2007, 07:35:30
TweenEventType defines all available event's name in Tween API.

Event "strong" type declaration is part of Pixlib Event API.

Events broadcasted by ITween family classes.

  • onStart
  • onStop
  • onMotionFinished
  • onMotionChanged

Example

var e:TweenEvent = new TweenEvent( TweenEventType.onMotionFinished, this );

Constructor

TweenEventType

function TweenEventType (
s:String)
Constructs a new TweenEventType instance
Parameters:
s:
Event name

Class properties

onMotionChangedEVENT

static onMotionChangedEVENT:TweenEventType = new TweenEventType("onMotionChanged")
(read,write)
Broadcasted to listeners when property value is updated.
Component metadata:
Event
onMotionChanged

onMotionFinishedEVENT

static onMotionFinishedEVENT:TweenEventType = new TweenEventType("onMotionFinished")
(read,write)
Broadcasted to listeners when tween is finished.
Component metadata:
Event
onMotionFinished

onStartEVENT

static onStartEVENT:TweenEventType = new TweenEventType("onStart")
(read,write)
Broadcasted to listeners when tween starts.
Component metadata:
Event
onStart

onStopEVENT

static onStopEVENT:TweenEventType = new TweenEventType("onStop")
(read,write)
Broadcasted to listeners when tween stops.
Component metadata:
Event
onStop