C# Class Recurity.Swf.TagHandler.DefineButton

The DefineButton tag defines a button character for later use by control tags such as

PlaceObject.

DefineButton includes an array of Button records that represent the four button shapes: an up

character, a mouse-over character, a down character, and a hit-area character. It is not

necessary to define all four states, but at least one button record must be present. For example,

if the same button record defines both the up and over states, only three button records are

required to describe the button.

More than one button record per state is allowed. If two button records refer to the same state,

both are displayed for that state.

DefineButton also includes an array of ACTIONRECORDs, which are performed when the

button is clicked and released

Inheritance: AbstractTagCodeHandler, ISwfCharacter
Exibir arquivo Open project: rtezli/Blitzableiter Class Usage Examples

Public Methods

Method Description
DefineButton ( byte InitialVersion ) : System

The DefineButton tag defines a button character for later use by control tags such as PlaceObject

Verify ( ) : bool

Verifies this object and its components for documentation compliance.

Write ( Stream output ) : void

Writes this object back to a stream

Protected Methods

Method Description
Parse ( ) : void

Parses this object out of a stream

Method Details

DefineButton() public method

The DefineButton tag defines a button character for later use by control tags such as PlaceObject
public DefineButton ( byte InitialVersion ) : System
InitialVersion byte The minimum version of the Swf file using this tag.
return System

Parse() protected method

Parses this object out of a stream
protected Parse ( ) : void
return void

Verify() public method

Verifies this object and its components for documentation compliance.
public Verify ( ) : bool
return bool

Write() public method

Writes this object back to a stream
public Write ( Stream output ) : void
output Stream The output file.
return void