java.lang.Object
com.anotherbigidea.flash.movie.Symbol
com.anotherbigidea.flash.movie.MovieClip
- All Implemented Interfaces:
- TimeLine
- public class MovieClip
- extends Symbol
- implements TimeLine
A Movie Clip (aka Sprite) Symbol
| Fields inherited from class com.anotherbigidea.flash.movie.Symbol |
id |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
frames
protected java.util.SortedMap frames
frameCount
protected int frameCount
depth
protected int depth
MovieClip
public MovieClip()
getFrameCount
public int getFrameCount()
- Get the current number of frames in the timeline.
- Specified by:
getFrameCount in interface TimeLine
getFrame
public 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.
- Specified by:
getFrame in interface TimeLine
appendFrame
public Frame appendFrame()
- Append a frame to the end of the timeline
- Specified by:
appendFrame in interface TimeLine
appendFrame
public Frame appendFrame(Frame frame)
getAvailableDepth
public int getAvailableDepth()
- Get the next available depth in the timeline
- Specified by:
getAvailableDepth in interface TimeLine
setAvailableDepth
public void setAvailableDepth(int depth)
- Set the next available depth in the timeline
- Specified by:
setAvailableDepth in interface TimeLine
defineSymbol
protected int defineSymbol(Movie movie,
com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter,
com.anotherbigidea.flash.interfaces.SWFTagTypes definitionWriter)
throws java.io.IOException
- Description copied from class:
Symbol
- Override to provide symbol definition
- Specified by:
defineSymbol in class Symbol