pt.tumba.parser.swf
Interface TimeLine

All Known Implementing Classes:
Movie, MovieClip

public interface TimeLine

A Movie or Sprite (Movie Clip) time line (collection of frames)

Author:
unknown

Method Summary
 Frame appendFrame()
          Append a frame to the end of the timeline
 int getAvailableDepth()
          Get the next available depth in the timeline
 Frame getFrame(int frameNumber)
          Get the Frame object for the given frame number - or create one if none exists.
 int getFrameCount()
          Get the current number of frames in the timeline.
 void setAvailableDepth(int depth)
          Set the next available depth in the timeline
 

Method Detail

getFrameCount

int getFrameCount()
Get the current number of frames in the timeline.

Returns:
The frameCount value

getFrame

Frame getFrame(int frameNumber)
Get the Frame object for the given frame number - or create one if none exists. If the frame number is larger than the current frame count then the frame count is increased.

Parameters:
frameNumber - must be 1 or larger
Returns:
The frame value

appendFrame

Frame appendFrame()
Append a frame to the end of the timeline

Returns:
Description of the Return Value

getAvailableDepth

int getAvailableDepth()
Get the next available depth in the timeline

Returns:
The availableDepth value

setAvailableDepth

void setAvailableDepth(int depth)
Set the next available depth in the timeline

Parameters:
depth - must be >= 1