C# Класс 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.

Наследование: BaseTag, DefineTargetTag
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

InitActionTag() публичный Метод

Creates a new InitActionTag instance.
public InitActionTag ( ) : System
Результат System

InitActionTag() публичный Метод

Creates a new InitActionTag instance.
public InitActionTag ( ushort spriteId, byte actionRecord ) : System
spriteId ushort Sprite id.
actionRecord byte Action record.
Результат System

ReadData() публичный Метод

see base class
public ReadData ( byte version, BufferedBinaryReader binaryReader ) : void
version byte
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader
Результат void

Serialize() публичный Метод

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
Результат void

UpdateData() публичный Метод

see base class
public UpdateData ( byte version ) : void
version byte
Результат void

this() публичный Метод

see base class
public this ( int index ) : byte[]
index int
Результат byte[]