C# Class SwfDotNet.IO.Tags.DoActionTag

DoActionTag is used to specify a sequence of actions that are executed when a frame is displayed.

To define the actions for a given frame the DoActionTag object should be added to a movie after the previous frame is displayed but before the ShowFrameTag object that displays the 'current' frame and triggers the actions to be executed.

Only one DoActionTag object can be used to specify the actions for a given frame. If more than one DoActionTag object is added in a single frame only the actions contained in the last DoActionTag object (before the ShowFrameTag object) will be executed when the frame is displayed. The other DoActionTag objects will be ignored.

This tag was introduced in Flash 1.

Inheritance: BaseTag
Exibir arquivo Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
DoActionTag ( ) : System

Creates a new DoActionTag instance.

DoActionTag ( byte actionRecord ) : System

Creates a new DoActionTag 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

this ( int index ) : byte[]

see base class

Method Details

DoActionTag() public method

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

DoActionTag() public method

Creates a new DoActionTag instance.
public DoActionTag ( byte actionRecord ) : System
actionRecord byte Swf bytecode action block.
return System

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

this() public method

see base class
public this ( int index ) : byte[]
index int
return byte[]