|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flagstone.transform.action.SetTarget
public final class SetTarget
SetTarget selects a movie clip to allow its time-line to be controlled. The action performs a "context switch". All following actions such as GotoFrame, Play, etc. will be applied to the specified object until another SetTarget action is executed. Setting the target to be the empty string ("") returns the target to the movie's main time-line.
| Constructor Summary | |
|---|---|
SetTarget(SetTarget object)
Creates and initialises a SetTarget action using the values copied from another SetTarget action. |
|
SetTarget(String aString)
Creates a SetTarget action that changes the context to the specified target. |
|
SetTarget(SWFDecoder coder)
Creates and initialises a SetTarget action using values encoded in the Flash binary format. |
|
| Method Summary | |
|---|---|
SetTarget |
copy()
Creates a complete copy of this object. |
void |
encode(SWFEncoder coder,
Context context)
Encode an object to the Flash binary format. |
String |
getTarget()
Get the name of the target movie clip. |
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 SetTarget(SWFDecoder coder)
throws IOException
coder - an SWFDecoder object that contains the encoded Flash data.
IOException - if an error occurs while decoding the data.public SetTarget(String aString)
aString - the name of a movie clip. Must not be null.public SetTarget(SetTarget object)
object - a SetTarget action from which the values will be
copied.| Method Detail |
|---|
public String getTarget()
public SetTarget 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 | |||||||||