java.lang.Object
com.anotherbigidea.flash.movie.Symbol
- Direct Known Subclasses:
- Button, EditField, Font, Image, ImportedSymbol, MorphShape, MovieClip, QTMovie, Shape, Sound, Text
- public abstract class Symbol
- extends java.lang.Object
Base class for all defined symbols
|
Field Summary |
protected int |
id
|
|
Constructor Summary |
protected |
Symbol()
|
protected |
Symbol(int id)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected int id
Symbol
protected Symbol()
Symbol
protected Symbol(int id)
getId
public int getId()
- Get the internal SWF id for the symbol. This will always be
zero for a Movie that was not loaded from an existing SWF until
the Movie is written out.
define
protected int define(Movie movie,
com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter,
com.anotherbigidea.flash.interfaces.SWFTagTypes definitionWriter)
throws java.io.IOException
- Make sure that the Symbol is fully defined in the given Movie and
return the character id
getNextId
protected int getNextId(Movie movie)
defineSymbol
protected abstract int defineSymbol(Movie movie,
com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter,
com.anotherbigidea.flash.interfaces.SWFTagTypes definitionwriter)
throws java.io.IOException
- Override to provide symbol definition