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
Afficher le fichier Open project: bladecoding/SwfExport Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Creates a new EnableDebugger2Tag instance.
public EnableDebugger2Tag ( ) : System
Résultat System

EnableDebugger2Tag() public méthode

Creates a new EnableDebugger2Tag instance.
public EnableDebugger2Tag ( string password ) : System
password string md5 encrypted password
Résultat System

EncryptPasswordToMD5() public méthode

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

GetSizeOf() public méthode

Gets the size of.
public GetSizeOf ( ) : int
Résultat int

ReadData() public méthode

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

Serialize() public méthode

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
Résultat void

UpdateData() public méthode

see base class
public UpdateData ( byte version ) : void
version byte
Résultat void