Ajax Control Toolkit
Animation Reference
Animation
Parent Animation
Parallel Animation
Sequence Animation
Selection Animation
Condition Animation
Case Animation
Fade Animation
FadeIn Animation
FadeOut Animation
Pulse Animation
Property Animation
Discrete Animation
Interpolated Animation
Color Animation
Length Animation
Move Animation
Resize Animation
Scale Animation
Action
Enable Action
Hide Action
Style Action
Opacity Action
Script Action
Animation

Animation is an abstract base class used as a starting point for all the other animations. 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.

Tag: Animation
Class: AjaxControlToolkit.Animation.Animation
Base: Sys.Component
Constructor: new AjaxControlToolkit.Animation.Animation(target, duration, fps);
Play: AjaxControlToolkit.Animation.Animation.play(target, duration, fps);
Properties:
Number duration;
Length of time to play the animation (in seconds). The default value is 1.
Number fps;
Number of frames per second shown when animating. The default values is 25.
Boolean isActive; // Read Only
true if animation is active, false if not.
Boolean isInitialized; // Read Only
Inherited from Sys.Component
Boolean isPlaying; // Read Only
true if animation is playing, false if not.
Boolean isUpdating; // Read Only
Inherited from Sys.Component
Number percentComplete; // Read Only
Percentage of the animation already played.
Object target;
Target element that the animation should operate on. (Note: Do not set this property in a generic xml animation description. It will be set automatically using either the TargetControlID or the AnimationTarget properties.)
Methods:
dispose();
Dispose the animation
getAnimatedValue();
Determine the state of the animation after the given percentage of its duration has elapsed
getDescriptor();
Inherited from Sys.Component
interpolate(start, end, percentage);
Given two Numbers start and end, the interpolate function will produce another Number the specified percentage between the two values.
onEnd();
Perform any cleanup after playing the animation.
onStart();
Perform any initialization before playing the animation.
onStep(percentage);
Progress the animation through each frame
pause();
Pause the animation
play();
Play the animation
setOwner(owner);
Inherited from Sys.Component
setValue(value);
Set the current state of the animation
stop();
Stop playing the animation

Parent Animation

The ParentAnimation serves as a base class for all animations that contain children (such as ParallelAnimation, SequenceAnimation, etc.). It does not actually play the animations, so any classes that inherit from it must do so.

Tag: Parent
Class: AjaxControlToolkit.Animation.ParentAnimation
Base: AjaxControlToolkit.Animation.Animation
Constructor: new AjaxControlToolkit.Animation.ParentAnimation(target, duration, fps, animations);
Play: AjaxControlToolkit.Animation.ParentAnimation.play(target, duration, fps, animations);
Properties:
Array animations; // Read Only
Array of child animations to be played. To manipulate this array, use the functions add, clear, remove, and removeAt.
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
add(animation);
Add an animation as a child of this animation.
clear();
Clear the list of child animations.
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue();
Inherited from AjaxControlToolkit.Animation.Animation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.Animation
initialize();
Initialize any of the child animations that have not been initialized yet.
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.Animation
onStart();
Inherited from AjaxControlToolkit.Animation.Animation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
remove(animation);
Remove the animation from the array of child animations.
removeAt(index);
Remove the animation at a given index from the array of child animations.
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Parallel Animation

The ParallelAnimation plays several animations simultaneously. It inherits from ParentAnimation, but makes itself the owner of all its child animations as this allows it to use a single timer and synchronization mechanisms of the parent animation (in other words, the duration properties of any child animations are ignored in favor of the parent's duration). It is very useful in creating sophisticated effects through combinations of simpler animations.
Note: The ParallelAnimation cannot have any child animations that derive from SequenceAnimation.

Tag: Parallel
Class: AjaxControlToolkit.Animation.ParallelAnimation
Base: AjaxControlToolkit.Animation.ParentAnimation
Constructor: new AjaxControlToolkit.Animation.ParallelAnimation(target, duration, fps, animations);
Play: AjaxControlToolkit.Animation.ParallelAnimation.play(target, duration, fps, animations);
Properties:
Array animations; // Read Only
Inherited from AjaxControlToolkit.Animation.ParentAnimation
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
add(animation);
Add an animation as a child of this animation and make ourselves its owner.
clear();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
dispose();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
getAnimatedValue(percentage);
Empty implementation of an abstract function from Sys.UI.Animation.
getDescriptor();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
initialize();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Invoke the onEnd function of the child animations.
onStart();
Invoke the onStart function of the child animations.
onStep(percentage);
Invoke the onStep function of the child animations.
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
remove(animation);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
removeAt(index);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Sequence Animation

The SequenceAnimation runs several child animations one after the other. It can also repeat the sequence of animations for a specified number of iterations (which defaults to a single iteration, but will repeat forever if you specify zero or less iterations). It is important to note that the SequenceAnimation ignores its duration and fps properties, and will let each of its child animations use any values they please.
Note: The SequenceAnimation cannot be a child animation of
ParallelAnimation, SelectionAnimation, or any animation deriving from these two.

Tag: Sequence
Class: AjaxControlToolkit.Animation.SequenceAnimation
Base: AjaxControlToolkit.Animation.ParentAnimation
Constructor: new AjaxControlToolkit.Animation.SequenceAnimation(target, duration, fps, animations, iterations);
Play: AjaxControlToolkit.Animation.SequenceAnimation.play(target, duration, fps, animations, iterations);
Properties:
Array animations; // Read Only
Inherited from AjaxControlToolkit.Animation.ParentAnimation
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation, but this property is ignored
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation, but this property is ignored
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number iterations;
Number of iterations to repeat the sequence of child animations when playing. If this value is less than or equal to 0, the sequence of child animations will repeat forever. The default value is 1.
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
add(animation);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
clear();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue();
Implementation of an abstract function from Sys.UI.Animation that throws an exception (because it should never be called).
getDescriptor();
Inherited from AjaxControlToolkit.Animation.Animation
initialize();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Clean up after playing an iteration of the sequence of child animations, and if necessary restart the sequence until all iterations have been played.
onStart();
Initialization before playing the animation.
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Pause the currently playing sequence of child animations. Calling play will resume where you left off.
play();
Play the sequence of child animations one after another.
remove(animation);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
removeAt(index);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Implementation of an abstract function from Sys.UI.Animation that throws an exception (because it should never be called).
stop();
Stop the currently playing sequence of child animations.

Selection Animation

The SelectionAnimation will run a single animation chosen from of its child animations. This is a base class with no functional implementation, so consider using ConditionAnimation or CaseAnimation.
Note: The SelectionAnimation cannot have any child animations that derive from SequenceAnimation.

Tag: Selection
Class: AjaxControlToolkit.Animation.SelectionAnimation
Base: AjaxControlToolkit.Animation.ParentAnimation
Constructor: new AjaxControlToolkit.Animation.SelectionAnimation(target, duration, fps, animations);
Play: AjaxControlToolkit.Animation.SelectionAnimation.play(target, duration, fps, animations);
Properties:
Array animations; // Read Only
Inherited from AjaxControlToolkit.Animation.ParentAnimation
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
add(animation);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
clear();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
dispose();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
getAnimatedValue(percentage);
Empty implementation of an abstract function from Sys.UI.Animation.
getDescriptor();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
initialize();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Perform any cleanup after playing the selected animation.
onStart();
Prepare the selected animation to be played.
onStep(percentage);
Play the next step of the selected animation.
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
remove(animation);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
removeAt(index);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Condition Animation

The ConditionAnimation is used as a control structure to play a specific child animation depending on the result of executing the conditionScript. If the conditionScript evaluated to true, the first child animation is played. If it evaluates to false, the second child animation is played (although nothing is played if the second animation is not present).
Note: The ConditionAnimation cannot have any child animations that derive from
SequenceAnimation.

Tag: Condition
Class: AjaxControlToolkit.Animation.ConditionAnimation
Base: AjaxControlToolkit.Animation.SelectionAnimation
Constructor: new AjaxControlToolkit.Animation.ConditionAnimation(target, duration, fps, animations, conditionScript);
Play: AjaxControlToolkit.Animation.ConditionAnimation.play(target, duration, fps, animations, conditionScript);
Properties:
Array animations; // Read Only
Inherited from AjaxControlToolkit.Animation.ParentAnimation
String conditionScript;
JavaScript code to be executed and whose value will determine which of the child animations to play.
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
add(animation);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
clear();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
dispose();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
getAnimatedValue(percentage);
Inherited from AjaxControlToolkit.Animation.SelectionAnimation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
initialize();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.SelectionAnimation
onStart();
Inherited from AjaxControlToolkit.Animation.SelectionAnimation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.SelectionAnimation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
remove(animation);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
removeAt(index);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Case Animation

The CaseAnimation is used as a control structure to play a specific child animation depending on the result of executing the selectScript, which should evaluate to the index of the child animation to play (this is similar to the switch statement in C#, etc.). If the provided index is outside the bounds of the child animations (or if nothing was returned) then we will not play anything.
Note: The CaseAnimation cannot have any child animations that derive from
SequenceAnimation.

Tag: Case
Class: AjaxControlToolkit.Animation.CaseAnimation
Base: AjaxControlToolkit.Animation.SelectionAnimation
Constructor: new AjaxControlToolkit.Animation.CaseAnimation(target, duration, fps, animations, selectScript);
Play: AjaxControlToolkit.Animation.CaseAnimation.play(target, duration, fps, animations, selectScript);
Properties:
Array animations; // Read Only
Inherited from AjaxControlToolkit.Animation.ParentAnimation
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
String selectScript;
JavaScript code to be executed and whose value will determine which of the child animations to play.
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
add(animation);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
clear();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
dispose();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
getAnimatedValue(percentage);
Inherited from AjaxControlToolkit.Animation.SelectionAnimation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
initialize();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.SelectionAnimation
onStart();
Inherited from AjaxControlToolkit.Animation.SelectionAnimation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.SelectionAnimation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
remove(animation);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
removeAt(index);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Fade Animation

The FadeAnimation is used to fade an element in or out of view, depending on the provided AjaxControlToolkit.Animation.FadeEffect. The minimum and maximum opacity values can be specified to precisely control the fade. Also, due to known issues with Internet Explorer, the forceLayoutInIE property is used to enforce certain conditions (specifically that it has a set size and background color). You may also consider using FadeInAnimation and FadeOutAnimation if you know the specific direction you are fading.

Tag: Fade
Class: AjaxControlToolkit.Animation.FadeAnimation
Base: AjaxControlToolkit.Animation.Animation
Constructor: new AjaxControlToolkit.Animation.FadeAnimation(target, duration, fps, effect, minimumOpacity, maximumOpacity, forceLayoutInIE);
Play: AjaxControlToolkit.Animation.FadeAnimation.play(target, duration, fps, effect, minimumOpacity, maximumOpacity, forceLayoutInIE);
Properties:
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
AjaxControlToolkit.Animation.FadeEffect effect;
Determines whether we fade in or out. Possible values are FadeIn and FadeOut. The default falue is FadeIn.
Boolean forceLayoutInIE;
Flag indicating whether or not we should force a layout to be created for Internet Explorer by giving it a width and setting its background color (the latter is required in case the user has ClearType enabled). The default values is true. This property is obviously ignored when working in other browsers.
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number maximumOpacity;
Maximum opacity to use when fading in or out. Its value can range from between 0 to 1. The default value is 1.
Number minimumOpacity;
Minimum opacity to use when fading in or out. Its value can range from between 0 to 1. The default value is 0.
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue(percentage);
Get the opacity for the specified percentage.
getDescriptor();
Inherited from AjaxControlToolkit.Animation.Animation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.Animation
onStart();
Inherited from AjaxControlToolkit.Animation.Animation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Set the opacity of the target element to the given value.
stop();
Inherited from AjaxControlToolkit.Animation.Animation

FadeIn Animation

The FadeInAnimation performs a fade in from the current opacity to the maximumOpacity.

Tag: FadeIn
Class: AjaxControlToolkit.Animation.FadeInAnimation
Base: AjaxControlToolkit.Animation.FadeAnimation
Constructor: new AjaxControlToolkit.Animation.FadeInAnimation(target, duration, fps, minimumOpacity, maximumOpacity, forceLayoutInIE);
Play: AjaxControlToolkit.Animation.FadeInAnimation.play(target, duration, fps, minimumOpacity, maximumOpacity, forceLayoutInIE);
Properties:
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
AjaxControlToolkit.Animation.FadeEffect effect;
Inherited from AjaxControlToolkit.Animation.FadeAnimation
Boolean forceLayoutInIE;
Inherited from AjaxControlToolkit.Animation.FadeAnimation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number maximumOpacity;
Inherited from AjaxControlToolkit.Animation.FadeAnimation
Number minimumOpacity;
Inherited from AjaxControlToolkit.Animation.FadeAnimation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue(percentage);
Inherited from AjaxControlToolkit.Animation.FadeAnimation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.FadeAnimation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.FadeAnimation
onStart();
Inherited from AjaxControlToolkit.Animation.FadeAnimation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.FadeAnimation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

FadeOut Animation

The FadeOutAnimation performs a fade out from the current opacity to the minimumOpacity.

Tag: FadeOut
Class: AjaxControlToolkit.Animation.FadeOutAnimation
Base: AjaxControlToolkit.Animation.FadeAnimation
Constructor: new AjaxControlToolkit.Animation.FadeOutAnimation(target, duration, fps, minimumOpacity, maximumOpacity, forceLayoutInIE);
Play: AjaxControlToolkit.Animation.FadeOutAnimation.play(target, duration, fps, minimumOpacity, maximumOpacity, forceLayoutInIE);
Properties:
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
AjaxControlToolkit.Animation.FadeEffect effect;
Inherited from AjaxControlToolkit.Animation.FadeAnimation
Boolean forceLayoutInIE;
Inherited from AjaxControlToolkit.Animation.FadeAnimation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number maximumOpacity;
Inherited from AjaxControlToolkit.Animation.FadeAnimation
Number minimumOpacity;
Inherited from AjaxControlToolkit.Animation.FadeAnimation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue(percentage);
Inherited from AjaxControlToolkit.Animation.FadeAnimation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.FadeAnimation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.FadeAnimation
onStart();
Inherited from AjaxControlToolkit.Animation.FadeAnimation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.FadeAnimation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Pulse Animation

The PulseAnimation fades an element in and our repeatedly to create a pulsating effect. The iterations determine how many pulses there will be. The duration property defines the length of each fade in or fade out, not the length of the animation as a whole.

Tag: Pulse
Class: AjaxControlToolkit.Animation.PulseAnimation
Base: AjaxControlToolkit.Animation.SequenceAnimation
Constructor: new AjaxControlToolkit.Animation.PulseAnimation(target, duration, fps, iterations, minimumOpacity, maximumOpacity, forceLayoutInIE);
Play: AjaxControlToolkit.Animation.PulseAnimation.play(target, duration, fps, iterations, minimumOpacity, maximumOpacity, forceLayoutInIE);
Properties:
Array animations; // Read Only
Inherited from AjaxControlToolkit.Animation.ParentAnimation
Number duration;
Length of time to play each of the fade in and fade out animations (in seconds). The default value is 1.
Boolean forceLayoutInIE;
Inherited from AjaxControlToolkit.Animation.FadeAnimation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number iterations;
Inherited from AjaxControlToolkit.Animation.SequenceAnimation
Number maximumOpacity;
Inherited from AjaxControlToolkit.Animation.FadeAnimation
Number minimumOpacity;
Inherited from AjaxControlToolkit.Animation.FadeAnimation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
add(animation);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
clear();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
dispose();
Inherited from AjaxControlToolkit.Animation.SequenceAnimation
getAnimatedValue();
Inherited from AjaxControlToolkit.Animation.Animation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
initialize();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.SequenceAnimation
onStart();
Inherited from AjaxControlToolkit.Animation.SequenceAnimation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
remove(animation);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
removeAt(index);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Property Animation

The PropertyAnimation is a useful base animation that will assign the value from getAnimatedValue to a specified property. You can provide the name of a property alongside an optional propertyKey (which indicates the value property[propertyKey], like style['backgroundColor']).

Tag: Property
Class: AjaxControlToolkit.Animation.PropertyAnimation
Base: AjaxControlToolkit.Animation.Animation
Constructor: new AjaxControlToolkit.Animation.PropertyAnimation(target, duration, fps, property, propertyKey);
Play: AjaxControlToolkit.Animation.PropertyAnimation.play(target, duration, fps, property, propertyKey);
Properties:
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
String property;
Property of the target element to set when animating.
String propertyKey;
Optional key of the property to be set (which indicates the value property[propertyKey], like style['backgroundColor']). Note that for the style property, the key must be in a JavaScript friendly format (i.e. backgroundColor instead of background-color).
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue();
Inherited from AjaxControlToolkit.Animation.Animation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.Animation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.Animation
onStart();
Inherited from AjaxControlToolkit.Animation.Animation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Discrete Animation

The DiscreteAnimation inherits from PropertyAnimation and sets the value of the property to the elements in a provided array of values.

Tag: Discrete
Class: AjaxControlToolkit.Animation.DiscreteAnimation
Base: AjaxControlToolkit.Animation.PropertyAnimation
Constructor: new AjaxControlToolkit.Animation.DiscreteAnimation(target, duration, fps, property, propertyKey, values);
Play: AjaxControlToolkit.Animation.DiscreteAnimation.play(target, duration, fps, property, propertyKey, values);
Properties:
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
String property;
Inherited from AjaxControlToolkit.Animation.PropertyAnimation
String propertyKey;
Inherited from AjaxControlToolkit.Animation.PropertyAnimation
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Array values;
Array of possible values of the property that will be iterated over as the animation is played.
Methods:
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue();
Inherited from AjaxControlToolkit.Animation.Animation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.Animation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.Animation
onStart();
Inherited from AjaxControlToolkit.Animation.Animation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Interpolated Animation

The InterpolatedAnimation assigns a range of values between startValue and endValue to the designated property.

Tag: Interpolated
Class: AjaxControlToolkit.Animation.InterpolatedAnimation
Base: AjaxControlToolkit.Animation.PropertyAnimation
Constructor: new AjaxControlToolkit.Animation.InterpolatedAnimation(target, duration, fps, property, propertyKey, startValue, endValue);
Play: AjaxControlToolkit.Animation.InterpolatedAnimation.play(target, duration, fps, property, propertyKey, startValue, endValue);
Properties:
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Object endValue;
End of the range of values
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
String property;
Inherited from AjaxControlToolkit.Animation.PropertyAnimation
String propertyKey;
Inherited from AjaxControlToolkit.Animation.PropertyAnimation
Object startValue;
Start of the range of values
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue();
Inherited from AjaxControlToolkit.Animation.Animation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.Animation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.Animation
onStart();
Inherited from AjaxControlToolkit.Animation.Animation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Color Animation

The ColorAnimation transitions the value of a property between two colors (although it does ignore the alpha channel). The colors must be 7-character hex strings (like #246ACF).

Tag: Color
Class: AjaxControlToolkit.Animation.ColorAnimation
Base: AjaxControlToolkit.Animation.InterpolatedAnimation
Constructor: new AjaxControlToolkit.Animation.ColorAnimation(target, duration, fps, property, propertyKey, startValue, endValue);
Play: AjaxControlToolkit.Animation.ColorAnimation.play(target, duration, fps, property, propertyKey, startValue, endValue);
Properties:
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
String endValue;
Ending color of the transition formatted as a 7-character hex string (like #246ACF).
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
String property;
Inherited from AjaxControlToolkit.Animation.PropertyAnimation
String propertyKey;
Inherited from AjaxControlToolkit.Animation.PropertyAnimation
String startValue;
Starting color of the transition formatted as a 7-character hex string (like #246ACF).
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue();
Inherited from AjaxControlToolkit.Animation.Animation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.Animation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.Animation
onStart();
Inherited from AjaxControlToolkit.Animation.Animation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Length Animation

The LengthAnimation is identical to InterpolatedAnimation except it adds a unit to the value before assigning it to the property.

Tag: Length
Class: AjaxControlToolkit.Animation.LengthAnimation
Base: AjaxControlToolkit.Animation.InterpolatedAnimation
Constructor: new AjaxControlToolkit.Animation.LengthAnimation(target, duration, fps, property, propertyKey, startValue, endValue, unit);
Play: AjaxControlToolkit.Animation.LengthAnimation.play(target, duration, fps, property, propertyKey, startValue, endValue, unit);
Properties:
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Number endValue;
End of the range of values
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
String property;
Inherited from AjaxControlToolkit.Animation.PropertyAnimation
String propertyKey;
Inherited from AjaxControlToolkit.Animation.PropertyAnimation
Number startValue;
Start of the range of values
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
String unit;
Unit to append to the value before setting the property. The default value is 'px'.
Methods:
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue();
Inherited from AjaxControlToolkit.Animation.Animation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.Animation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.Animation
onStart();
Inherited from AjaxControlToolkit.Animation.Animation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Move Animation

The MoveAnimation is used to move the target element. If the relative flag is set to true, then it treats the horizontal and vertical properties as offsets to move the element. If the relative flag is false, then it will treat the horizontal and vertical properties as coordinates on the page where the target element should be moved. It is important to note that the target must be positioned (i.e. absolutely) so that settings its top/left properties will change its location.

Tag: Move
Class: AjaxControlToolkit.Animation.MoveAnimation
Base: AjaxControlToolkit.Animation.ParallelAnimation
Constructor: new AjaxControlToolkit.Animation.MoveAnimation(target, duration, fps, horizontal, vertical, relative, unit);
Play: AjaxControlToolkit.Animation.MoveAnimation.play(target, duration, fps, horizontal, vertical, relative, unit);
Properties:
Array animations; // Read Only
Inherited from AjaxControlToolkit.Animation.ParentAnimation
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Number horizontal;
If relative is true, this is the offset to move horizontally. Otherwise this is the x coordinate on the page where the target should be moved.
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean relative;
True if we are moving relative to the current position, false if we are moving absolutely.
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
String unit;
Length unit for the size of the target. The default value is 'px'.
Number vertical;
If relative is true, this is the offset to move horizontally. Otherwise this is the x coordinate on the page where the target should be moved.
Methods:
add(animation);
Inherited from AjaxControlToolkit.Animation.ParallelAnimation
clear();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
dispose();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
getAnimatedValue(percentage);
Inherited from AjaxControlToolkit.Animation.ParallelAnimation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
initialize();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.ParallelAnimation
onStart();
Get the current position of the target and get ready to move to the new location.
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.ParallelAnimation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
remove(animation);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
removeAt(index);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Resize Animation

The ResizeAnimation changes the size of the target from its current values to the specified width and height.

Tag: Resize
Class: AjaxControlToolkit.Animation.ResizeAnimation
Base: AjaxControlToolkit.Animation.ParallelAnimation
Constructor: new AjaxControlToolkit.Animation.ResizeAnimation(target, duration, fps, width, height, unit);
Play: AjaxControlToolkit.Animation.ResizeAnimation.play(target, duration, fps, width, height, unit);
Properties:
Array animations; // Read Only
Inherited from AjaxControlToolkit.Animation.ParentAnimation
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Number height;
New height of the target
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
String unit;
Length unit for the size of the target. The default value is 'px'.
Number width;
New height of the target
Methods:
add(animation);
Inherited from AjaxControlToolkit.Animation.ParallelAnimation
clear();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
dispose();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
getAnimatedValue(percentage);
Inherited from AjaxControlToolkit.Animation.ParallelAnimation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
initialize();
Inherited from AjaxControlToolkit.Animation.ParentAnimation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.ParallelAnimation
onStart();
Get the current size of the target and get ready to change the size.
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.ParallelAnimation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
remove(animation);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
removeAt(index);
Inherited from AjaxControlToolkit.Animation.ParentAnimation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Scale Animation

The ScaleAnimation scales the size of the target element by the given scaleFactor (i.e. a scaleFactor of .5 will shrink it in half and a scaleFactor of 2.0 will double it). If scaleFont is true, the size of the font will also scale with the element. If center is true, then the element's center will not move as it is scaled. It is important to note that the target must be positioned (i.e. absolutely) so that settings its top/left properties will change its location in order for center to have an effect.

Tag: Scale
Class: AjaxControlToolkit.Animation.ScaleAnimation
Base: AjaxControlToolkit.Animation.Animation
Constructor: new AjaxControlToolkit.Animation.ScaleAnimation(target, duration, fps, scaleFactor, unit, center, scaleFont, fontUnit);
Play: AjaxControlToolkit.Animation.ScaleAnimation.play(target, duration, fps, scaleFactor, unit, center, scaleFont, fontUnit);
Properties:
Boolean center;
Whether the target should stay centered while scaling
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
String fontUnit;
Unit of the font, which is only used if scaleFont is true. The default value is 'pt'.
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number scaleFactor;
The amount to scale the target (a scaleFactor of .5 will shrink it in half and a scaleFactor of 2.0 will double it). The default value is 1, which does no scaling.
Boolean scaleFont;
Whether the font should be scaled along with the size.
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
String unit;
Length unit for the size of the target. The default value is 'px'.
Methods:
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue();
Inherited from AjaxControlToolkit.Animation.Animation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.Animation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.Animation
onStart();
Inherited from AjaxControlToolkit.Animation.Animation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Action

Action is a base class for all "non-animating" animations. While regular animations perform an operation in a sequence of small steps spread over an interval, the actions perform a single operation instantaneously. By default, all actions have a duration of zero.

Tag: Action
Class: AjaxControlToolkit.Animation.Action
Base: AjaxControlToolkit.Animation.Animation
Constructor: new AjaxControlToolkit.Animation.Action(target, duration, fps);
Play: AjaxControlToolkit.Animation.Action.play(target, duration, fps);
Properties:
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue();
Inherited from AjaxControlToolkit.Animation.Animation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.Animation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Perform the action.
onStart();
Inherited from AjaxControlToolkit.Animation.Animation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Enable Action

The EnableAction changes whether or not the target is disabled.

Tag: EnableAction
Class: AjaxControlToolkit.Animation.EnableAction
Base: AjaxControlToolkit.Animation.Action
Constructor: new AjaxControlToolkit.Animation.EnableAction(target, duration, fps, enabled);
Play: AjaxControlToolkit.Animation.EnableAction.play(target, duration, fps, enabled);
Properties:
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean enabled;
Whether or not the target is disabled. The default value is true.
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue();
Inherited from AjaxControlToolkit.Animation.Animation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.Animation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.Action
onStart();
Inherited from AjaxControlToolkit.Animation.Animation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Hide Action

The HideAction simply hides the target from view (by setting its style's display attribute to 'none').

Tag: HideAction
Class: AjaxControlToolkit.Animation.HideAction
Base: AjaxControlToolkit.Animation.Action
Constructor: new AjaxControlToolkit.Animation.HideAction(target, duration, fps, visible);
Play: AjaxControlToolkit.Animation.HideAction.play(target, duration, fps, visible);
Properties:
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean visible;
true to show the target, false to hide it. The default value is false.
Methods:
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue();
Inherited from AjaxControlToolkit.Animation.Animation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.Animation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.Action
onStart();
Inherited from AjaxControlToolkit.Animation.Animation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Style Action

The StyleAction is used to set a particular attribute of the target's style.

Tag: StyleAction
Class: AjaxControlToolkit.Animation.StyleAction
Base: AjaxControlToolkit.Animation.Action
Constructor: new AjaxControlToolkit.Animation.StyleAction(target, duration, fps, attribute, value);
Play: AjaxControlToolkit.Animation.StyleAction.play(target, duration, fps, attribute, value);
Properties:
String attribute;
Style attribute to set (this must be in a JavaScript friendly format, i.e. backgroundColor instead of background-color).
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
String value;
Value to set the attriute
Methods:
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue();
Inherited from AjaxControlToolkit.Animation.Animation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.Animation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.Action
onStart();
Inherited from AjaxControlToolkit.Animation.Animation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Opacity Action

OpacityAction will set the opacity of the target.

Tag: OpacityAction
Class: AjaxControlToolkit.Animation.OpacityAction
Base: AjaxControlToolkit.Animation.Action
Constructor: new AjaxControlToolkit.Animation.OpacityAction(target, duration, fps, opacity);
Play: AjaxControlToolkit.Animation.OpacityAction.play(target, duration, fps, opacity);
Properties:
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number opacity;
Opacity to set the target
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue();
Inherited from AjaxControlToolkit.Animation.Animation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.Animation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.Action
onStart();
Inherited from AjaxControlToolkit.Animation.Animation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation

Script Action

The ScriptAction is used to execute arbitrary JavaScript.

Tag: ScriptAction
Class: AjaxControlToolkit.Animation.ScriptAction
Base: AjaxControlToolkit.Animation.Action
Constructor: new AjaxControlToolkit.Animation.ScriptAction(target, duration, fps, script);
Play: AjaxControlToolkit.Animation.ScriptAction.play(target, duration, fps, script);
Properties:
Number duration;
Inherited from AjaxControlToolkit.Animation.Animation
Number fps;
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isActive; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isInitialized; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isPlaying; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Boolean isUpdating; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
Number percentComplete; // Read Only
Inherited from AjaxControlToolkit.Animation.Animation
String script;
JavaScript to execute
Object target;
Inherited from AjaxControlToolkit.Animation.Animation
Methods:
dispose();
Inherited from AjaxControlToolkit.Animation.Animation
getAnimatedValue();
Inherited from AjaxControlToolkit.Animation.Animation
getDescriptor();
Inherited from AjaxControlToolkit.Animation.Animation
interpolate(start, end, percentage);
Inherited from AjaxControlToolkit.Animation.Animation
onEnd();
Inherited from AjaxControlToolkit.Animation.Action
onStart();
Inherited from AjaxControlToolkit.Animation.Animation
onStep(percentage);
Inherited from AjaxControlToolkit.Animation.Animation
pause();
Inherited from AjaxControlToolkit.Animation.Animation
play();
Inherited from AjaxControlToolkit.Animation.Animation
setOwner(owner);
Inherited from AjaxControlToolkit.Animation.Animation
setValue(value);
Inherited from AjaxControlToolkit.Animation.Animation
stop();
Inherited from AjaxControlToolkit.Animation.Animation




Copyright © 2006-2009 Microsoft Corporation. All Rights Reserved.