This project is read-only.

Animation Reference

AnimationExtender Server Reference

Extender used to play animations when a control's events fire

AnimationExtender Server Properties

Name Description
OnClick OnClick Animation
OnHoverOut OnHoverOut Animation
OnHoverOver OnHoverOver Animation
OnLoad OnLoad Animation
OnMouseOut OnMouseOut Animation
OnMouseOver OnMouseOver Animation

AnimationExtender Server Methods

Name Description
OnPreRender(System.EventArgs) Change any AnimationTarget references from server control IDs into the ClientIDs that the animation scripts are expecting.

Animation Client Reference

Animation is an abstract base class used as a starting point for all the other animations. It provides the basic mechanics for the animation (playing, pausing, stopping, timing, etc.) and leaves the actual animation to be done in the abstract methods getAnimatedValue and setValue.

Animation Client Properties

Name Description
duration Length of the animation in seconds. The default is 1.
events The collection of event handlers for this behavior. This property should only be used by derived behaviors and should not be publicly called by other code.
fps Number of steps per second. The default is 25.
id
isActive true if animation is active, false if not.
isInitialized
isPlaying true if animation is playing, false if not.
isUpdating
percentComplete Percentage of the animation already played.
target

Animation Client Methods

Name Description
beginUpdate
dispose Dispose the animation
endUpdate
getAnimatedValue Determine the state of the animation after the given percentage of its duration has elapsed
initialize
interpolate The interpolate function is used to find the appropriate value between starting and ending values given the current percentage.
onEnd The onEnd method is called just after the animation is played each time.
onStart The onStart method is called just before the animation is played each time.
onStep The onStep method is called repeatedly to progress the animation through each frame
pause Pause the animation if it is playing. Calling play will resume where the animation left off.
play Play the animation from the beginning or where it was left off when paused.
play Create an animation, play it immediately, and dispose it when finished.
raiseEnded Raise the ended event
raisePropertyChanged Raises a change notification event.
raiseStarted Raise the started event
raiseStep Raise the step event
setOwner Make this animation the child of another animation
setValue Set the current state of the animation
stop Stop playing the animation.
updated

Animation Client Events

Name Description
disposing
ended Adds an event handler for the ended event.
propertyChanged
started Adds an event handler for the started event.
step Adds an event handler for the step event.

Animation Client Reference

You can use the following animations with the server Animation control or client Animation behavior:

Last edited Jun 16, 2014 at 12:52 PM by prasannaranib, version 5