|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flagstone.transform.action.GotoLabel
public final class GotoLabel
The GotoLabel action instructs the player to move to the frame in the current movie with the specified label - previously assigned using a FrameLabel object.
| Constructor Summary | |
|---|---|
GotoLabel(GotoLabel object)
Creates and initialises a GotoLabel action using the values copied from another GotoLabel action. |
|
GotoLabel(String aString)
Creates a GotoLabel action with the specified frame label. |
|
GotoLabel(SWFDecoder coder)
Creates and initialises a GotoLabel action using values encoded in the Flash binary format. |
|
| Method Summary | |
|---|---|
GotoLabel |
copy()
Creates a complete copy of this object. |
void |
encode(SWFEncoder coder,
Context context)
Encode an object to the Flash binary format. |
String |
getLabel()
Get the frame label. |
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 |
| Constructor Detail |
|---|
public GotoLabel(SWFDecoder coder)
throws IOException
coder - an SWFDecoder object that contains the encoded Flash data.
IOException - if an error occurs while decoding the data.public GotoLabel(String aString)
aString - the label assigned a particular frame in the movie. Must not
be null or an empty string.public GotoLabel(GotoLabel object)
object - a GotoLabel action from which the values will be
copied.| Method Detail |
|---|
public String getLabel()
public GotoLabel copy()
copy in interface Copyable<Action>public String toString()
toString in class Objectpublic int prepareToEncode(Context context)
prepareToEncode in interface SWFEncodeablecontext - 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 SWFEncodeablecoder - 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 | |||||||||