C# Class Recurity.Swf.AVM1.ActionIf

Blitzableiter ActionIf represents the Adobe AVM1 ActionIf
Inheritance: AbstractAction
Exibir arquivo Open project: rtezli/Blitzableiter

Public Methods

Method Description
ActionIf ( ) : System

Creates a conditional test and branch.

ActionIf ( Int16 offset ) : System

Creates a conditional test and branch.

ToString ( ) : string

Converts the action to a string

Protected Methods

Method Description
Parse ( System sourceStream, byte sourceVersion ) : void

Reads the offset from a source stream

ParseFrom ( ) : bool

Parses the action from a string array

Render ( System outputStream ) : ulong

Renders the offset back to an output stream

Method Details

ActionIf() public method

Creates a conditional test and branch.
public ActionIf ( ) : System
return System

ActionIf() public method

Creates a conditional test and branch.
public ActionIf ( Int16 offset ) : System
offset System.Int16 The offset is a signed quantity, enabling /// branches from –32768 bytes to 32767 bytes. An offset of 0 points /// to the action directly after the ActionIf action.
return System

Parse() protected method

Reads the offset from a source stream
protected Parse ( System sourceStream, byte sourceVersion ) : void
sourceStream System The source stream
sourceVersion byte The Version
return void

ParseFrom() protected method

Parses the action from a string array
protected ParseFrom ( ) : bool
return bool

Render() protected method

Renders the offset back to an output stream
protected Render ( System outputStream ) : ulong
outputStream System The output stream
return ulong

ToString() public method

Converts the action to a string
public ToString ( ) : string
return string