|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flagstone.transform.Free
public final class Free
Free deletes the object with the specified identifier, freeing up resources in the Flash Player.
| Constructor Summary | |
|---|---|
Free(Free object)
Creates a Free initialised with a copy of the data from another object. |
|
Free(int uid)
Creates a Free object with the specified identifier. |
|
Free(SWFDecoder coder)
Creates and initialises a Free object using values encoded in the Flash binary format. |
|
| Method Summary | |
|---|---|
Free |
copy()
Creates a complete copy of this object. |
void |
encode(SWFEncoder coder,
Context context)
Encode an object to the Flash binary format. |
int |
getIdentifier()
Get the identifier of the object to be deleted. |
int |
prepareToEncode(Context context)
Prepare an object for encoding, returning the expected size of an object when it is encoded. |
void |
setIdentifier(int uid)
Sets the identifier of the object to be deleted. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Free(SWFDecoder coder)
throws IOException
coder - an SWFDecoder object that contains the encoded Flash data.
IOException - if an error occurs while decoding the data.public Free(int uid)
uid - the unique identifier of the object to be deleted. Must be in
the range 1..65535.public Free(Free object)
object - a Free object used to initialise this one.| Method Detail |
|---|
public int getIdentifier()
public void setIdentifier(int uid)
uid - the identifier of the object to be deleted. Must be in the
range 1..65535.public Free copy()
copy in interface Copyable<MovieTag>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 | |||||||||