C# Class SwfDotNet.IO.Tags.InitActionTag

InitActionTag is used to specify a sequence of actions that are executed to initialise a movie clip before it is displayed.

It implements the #initclip pragma in the ActionScript language.

Unlike the DoActionTag class which specifies the actions that are executed when a particular frame is displayed the actions contained in an InitActionTag object are executed only once, regardless of where the object is included in a movie. If a frame containing the InitActionTag object is played again the actions are skipped. Also there can only be one InitActionTag object for each movie clip defined in the movie.

This tag was introduced in Flash 6.

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

Méthodes publiques

Méthode Description
InitActionTag ( ) : System

Creates a new InitActionTag instance.

InitActionTag ( ushort spriteId, byte actionRecord ) : System

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

InitActionTag() public méthode

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

InitActionTag() public méthode

Creates a new InitActionTag instance.
public InitActionTag ( ushort spriteId, byte actionRecord ) : System
spriteId ushort Sprite id.
actionRecord byte Action record.
Résultat System

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

this() public méthode

see base class
public this ( int index ) : byte[]
index int
Résultat byte[]