C# Class SwfDotNet.IO.Tags.DefineButtonTag

DefineButtonTag defines the appearance of a button and the actions performed when the button is clicked.

A DefineButtonTag object must contain at least one ButtonRecord object. If more than one button record is defined for a given button state then each shape will be displayed by the button. The order in which the shapes are displayed is determined by the layer assigned to each ButtonRecord object.

This tag was introduced in Flash 1.

Inheritance: BaseTag, DefineTag
Afficher le fichier Open project: bladecoding/SwfExport Class Usage Examples

Méthodes publiques

Méthode Description
DefineButtonTag ( ) : System

Creates a new DefineButtonTag instance.

DefineButtonTag ( ushort buttonId, ButtonRecordCollection characters, byte actions ) : System

Creates a new DefineButtonTag instance.

ReadData ( byte version, BufferedBinaryReader binaryReader ) : void

see base class

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

UpdateData ( byte version ) : void

see base class

Méthodes protégées

Méthode Description
GetSizeOf ( ) : int

Gets the size of.

Method Details

DefineButtonTag() public méthode

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

DefineButtonTag() public méthode

Creates a new DefineButtonTag instance.
public DefineButtonTag ( ushort buttonId, ButtonRecordCollection characters, byte actions ) : System
buttonId ushort Button id.
characters SwfDotNet.IO.Tags.Types.ButtonRecordCollection Characters.
actions byte Actions.
Résultat System

GetSizeOf() protected méthode

Gets the size of.
protected 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