Used to initialize the value of a TransitionEvent.
Syntaxvar retval = transitionEvent.initTransitionEvent(typeArg, canBubbleArg, cancelableArg, propertyNameArg, elapsedTimeArg);
- typeArg [in]
Specifies the event type.
- canBubbleArg [in]
Specifies whether or not the event can bubble.
- cancelableArg [in]
Specifies whether or not the event's default action can be prevented. Since a TransitionEvent is purely for notification, there is no default action.
- propertyNameArg [in]
Specifies the name of the property associated with the Event.
- elapsedTimeArg [in]
Specifies the amount of time, in seconds, the transition has been running at the time of initialization.
This method can return one of these values.
This method is used to initialize the value of a TransitionEvent. This method may only be called before the TransitionEvent has been dispatched via the dispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.