C# Класс SwfDotNet.IO.Tags.RemoveObjectTag

RemoveObject Tag removes an object from the Flash Player's Display List.

An object placed on the display list is displayed in every frame of a movie until it is explicitly removed. Objects must also be removed if its location or appearance is changed using either the RemoveObjectTag or RemoveObject2Tag classes.

Although only one object can be placed on any layer in the display list both the object's unique identifier and the layer number must be specified. The RemoveObjectTag class is superceded in Flash 3 by the RemoveObject2Tag class which lifts this requirement allowing an object to be referenced by the layer number it occupies in the display list.

It was introduced in Flash 1 and is superceded by the RemoveObject2 tag which was added in Flash 3.

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

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

Метод Описание
ReadData ( byte version, BufferedBinaryReader binaryReader ) : void

see base class

RemoveObjectTag ( ) : System

Creates a new RemoveObjectTag instance.

RemoveObjectTag ( ushort characterId, ushort depth ) : System

Creates a new RemoveObjectTag instance.

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

UpdateData ( byte version ) : void

see base class

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

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

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

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

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

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

Creates a new RemoveObjectTag instance.
public RemoveObjectTag ( ushort characterId, ushort depth ) : System
characterId ushort ID of character to remove. It's the unique identifier, in the range 1..65535, of the object.
depth ushort depth of character. It's the layer at which the object is placed in the Display List.
Результат System

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