TweenEvent
| Kind of class: | public class |
|---|---|
| Package: | org.casalib.events |
| Inherits from: | Event |
| Dispatched by: | |
| Version: | 10/27/08 |
| Author: | Mike Creighton, Aaron Clinger |
| Classpath: | org.casalib.events.TweenEvent |
| File last modified: | Monday, 01 December 2008, 11:16:36 |
An event dispatched from Tween.
Summary
Constructor
- TweenEvent (type:String, bubbles:Boolean = false, cancelable:Boolean = false)
- Creates a new TweenEvent.
Instance properties
Constructor
TweenEvent
public function TweenEvent (
type:String,
bubbles:Boolean = false,
cancelable:Boolean = false)
Creates a new TweenEvent.
Parameters:
type :
The type of event.
bubbles :
Determines whether the Event object participates in the bubbling stage of the event flow.
cancelable:
Determines whether the Event object can be canceled.
Constants
COMPLETE
public static const COMPLETE:String = 'complete'
(read)
RESUME
public static const RESUME:String = 'resume'
(read)
START
public static const START:String = 'start'
(read)
STOP
public static const STOP:String = 'stop'
(read)
UPDATE
public static const UPDATE:String = 'update'
(read)
Instance properties
position
public position:Number
(read,write)
The current position of the tween.
Instance methods
clone
override public function clone (
) : Event
Returns:
- Duplicates an instance of the event.
Overrides:
- Event.clone
toString
override public function toString (
) : String
Returns:
- A string containing all the properties of the event.
Overrides:
- Event.toString