|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.flagstone.transform.EnableDebugger2
public final class EnableDebugger2
EnableDebugger2 is an updated version or the EnableDebugger instruction which enables a movie to be debugged.
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.
The EnableDebugger2 2 data structure was introduced in Flash 6. It replaced EnableDebugger in Flash 5 with a different format to support internal changes in the Flash Player. The functionality was not changed.
EnableDebugger
Constructor Summary | |
---|---|
EnableDebugger2(EnableDebugger2 object)
Creates and initialises an EnableDebugger2 object using the password from another EnableDebugger2 object. |
|
EnableDebugger2(String pass)
Creates a EnableDebugger2 object with an MD5 encrypted password. |
|
EnableDebugger2(SWFDecoder coder)
Creates and initialises an EnableDebugger2 object using values encoded in the Flash binary format. |
Method Summary | |
---|---|
EnableDebugger2 |
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 EnableDebugger2(SWFDecoder coder) throws IOException
coder
- an SWFDecoder object that contains the encoded Flash data.
IOException
- if an error occurs while decoding the data.public EnableDebugger2(String pass)
pass
- the string defining the password. The string must not be empty
or null.public EnableDebugger2(EnableDebugger2 object)
object
- a EnableDebugger2 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 EnableDebugger2 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 |