|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.flagstone.transform.ShowFrame
public final class ShowFrame
ShowFrame is used to instruct the Flash Player to display a single frame in a movie or movie clip.
When a frame is displayed the Flash Player performs the following:
The scope of a frame is delineated by successive ShowFrame objects. All the commands that affect change the state of the display list or define actions to be executed take effect when the Flash Player displays the frame. All the objects displayed in a frame must be defined before they can be displayed.
Method Summary | |
---|---|
ShowFrame |
copy()
Creates a complete copy of this object. |
void |
encode(SWFEncoder coder,
Context context)
Encode an object to the Flash binary format. |
static ShowFrame |
getInstance()
Returns a shared ShowFrame object. |
static ShowFrame |
getInstance(SWFDecoder coder,
Context context)
Returns a shared ShowFrame object. |
int |
prepareToEncode(Context context)
Prepare an object for encoding, returning the expected size of an object when it is encoded. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static ShowFrame getInstance()
public static ShowFrame getInstance(SWFDecoder coder, Context context) throws IOException
coder
- an SWFEncoder object.context
- a Context object used to obtain the total number of
frames in a movie.
IOException
- if an error occurs while encoding the object.public ShowFrame copy()
copy
in interface Copyable<MovieTag>
public String toString()
toString
in class Object
public int prepareToEncode(Context context)
prepareToEncode
in interface SWFEncodeable
context
- an Context that allows information to be passed between
objects to control how they are initialised for encoding.
public void encode(SWFEncoder coder, Context context) throws IOException
encode
in interface SWFEncodeable
coder
- an SWFEncoder object.context
- an Context that allows information to be passed between
objects to control how they are initialised for encoding.
IOException
- if an error occurs while encoding the object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |