C# Class SwfDotNet.IO.Tags.EnableDebugger2Tag

EnableDebugger2Tag 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 property.

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

This tag was introduced in Flash 6. It replaced EnableDebuggerTag in Flash 5 with a different format to support internal changes in the Flash Player. The functionality was not changed.

Inheritance: BaseTag
ファイルを表示 Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
EnableDebugger2Tag ( ) : System

Creates a new EnableDebugger2Tag instance.

EnableDebugger2Tag ( string password ) : System

Creates a new EnableDebugger2Tag instance.

EncryptPasswordToMD5 ( string originalPassword ) : void

Encrypts the password with MD5 algorithm.

GetSizeOf ( ) : int

Gets the size of.

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

EnableDebugger2Tag() public method

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

EnableDebugger2Tag() public method

Creates a new EnableDebugger2Tag instance.
public EnableDebugger2Tag ( 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

GetSizeOf() public method

Gets the size of.
public GetSizeOf ( ) : int
return int

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