Object Constructors

AnimationFrames()

DEFINITION

AnimationFrames(ani_name, num_frames, ext)

ani_name - the name of the animation
num_frames - the number of frames in the animation
ext - the image file extension (".gif" or ".jpg" or ".bmp" or ".png" or whatever....)

REQUIREMENTS

The following images

images/ani_name/0.ext
images/ani_name/1.ext
...
images/ani_name/(num_frames-1).ext

DESCRIPTION

This function creates an animation object that can be referred to by ani_name. This function pre-loads all the images into the document. Once defined the animation can be linked to a particular image in a document by using the AnimatedImage() function.

EXAMPLES

<HEAD>
     AnimationFrames("door", 7, ".jpg");
     AnimationFrames("dragon", 12, ".gif");
</HEAD>

<<Index>>