|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpt.tumba.parser.swf.Symbol
pt.tumba.parser.swf.MovieClip
public class MovieClip
A Movie Clip (aka Sprite) Symbol
Field Summary | |
---|---|
protected int |
depth
Description of the Field |
protected int |
frameCount
Description of the Field |
protected java.util.SortedMap |
frames
Description of the Field |
Fields inherited from class pt.tumba.parser.swf.Symbol |
---|
id |
Constructor Summary | |
---|---|
MovieClip()
Constructor for the MovieClip object |
Method Summary | |
---|---|
Frame |
appendFrame()
Append a frame to the end of the timeline |
protected int |
defineSymbol(Movie movie,
SWFTagTypes timelineWriter,
SWFTagTypes definitionWriter)
Description of the Method |
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 |
Methods inherited from class pt.tumba.parser.swf.Symbol |
---|
define, getId, getNextId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.SortedMap frames
protected int frameCount
protected int depth
Constructor Detail |
---|
public MovieClip()
Method Detail |
---|
public int getFrameCount()
getFrameCount
in interface TimeLine
public Frame getFrame(int frameNumber)
getFrame
in interface TimeLine
frameNumber
- must be 1 or larger
public Frame appendFrame()
appendFrame
in interface TimeLine
public int getAvailableDepth()
getAvailableDepth
in interface TimeLine
public void setAvailableDepth(int depth)
setAvailableDepth
in interface TimeLine
depth
- must be >= 1protected int defineSymbol(Movie movie, SWFTagTypes timelineWriter, SWFTagTypes definitionWriter) throws java.io.IOException
defineSymbol
in class Symbol
movie
- Description of the ParametertimelineWriter
- Description of the ParameterdefinitionWriter
- Description of the Parameter
java.io.IOException
- Description of the Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |