|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.flagstone.transform.EnableDebugger
public final class EnableDebugger
Enables a movie to be debugged when played using the Flash authoring tool, allowing the variables defined in the arrays of actions specified in object to be inspected. Note that the Flash Player does not support debugging.
In order to use the debugger a password must be supplied. When encrypted using the MD5 algorithm it must match the value stored in the password attribute.
Constructor Summary | |
---|---|
EnableDebugger(EnableDebugger object)
Creates and initialises an EnableDebugger object using the password from another EnableDebugger object. |
|
EnableDebugger(String pass)
Creates a EnableDebugger2 object with an MD5 encrypted password. |
|
EnableDebugger(SWFDecoder coder)
Creates and initialises an EnableDebugger object using values encoded in the Flash binary format. |
Method Summary | |
---|---|
EnableDebugger |
copy()
Creates a complete copy of this object. |
void |
encode(SWFEncoder coder,
Context context)
Encode an object to the Flash binary format. |
String |
getPassword()
Get the MD5 hashed password. |
int |
prepareToEncode(Context context)
Prepare an object for encoding, returning the expected size of an object when it is encoded. |
void |
setPassword(String aString)
Sets the MD5 encrypted password. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EnableDebugger(SWFDecoder coder) throws IOException
coder
- an SWFDecoder object that contains the encoded Flash data.
IOException
- if an error occurs while decoding the data.public EnableDebugger(String pass)
pass
- the string defining the password. Must not be an empty string
or null.public EnableDebugger(EnableDebugger object)
object
- a EnableDebugger object from which the password will be
copied.Method Detail |
---|
public String getPassword()
public void setPassword(String aString)
aString
- the string defining the password. Must not be an empty string
or null.public EnableDebugger 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 |