C# Class SwfDotNet.IO.Tags.EnableDebuggerTag

EnableDebuggerTag 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.

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.

To encode a string with the MD5 encryption algorithm, you can use the EncryptPasswordToMD5 method of the EnableDebuggerTag class.

This tag was introduced in Flash 5.

Inheritance: BaseTag
显示文件 Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
EnableDebuggerTag ( ) : System

Creates a new EnableDebuggerTag instance.

EnableDebuggerTag ( string password ) : System

Creates a new EnableDebuggerTag instance.

EncryptPasswordToMD5 ( string originalPassword ) : void

Encrypts the password with MD5 algorithm.

ReadData ( byte version, BufferedBinaryReader binaryReader ) : void

see base class

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

UpdateData ( byte version ) : void

see base class

Method Details

EnableDebuggerTag() public method

Creates a new EnableDebuggerTag instance.
public EnableDebuggerTag ( ) : System
return System

EnableDebuggerTag() public method

Creates a new EnableDebuggerTag instance.
public EnableDebuggerTag ( string password ) : System
password string Md5 encrypted password
return System

EncryptPasswordToMD5() public method

Encrypts the password with MD5 algorithm.
public EncryptPasswordToMD5 ( string originalPassword ) : void
originalPassword string Original password.
return void

ReadData() public method

see base class
public ReadData ( byte version, BufferedBinaryReader binaryReader ) : void
version byte
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader
return void

Serialize() public method

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
return void

UpdateData() public method

see base class
public UpdateData ( byte version ) : void
version byte
return void