C# Class 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.

Inheritance: BaseTag
Show file Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
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

Method Details

ReadData() public method

see base class
public ReadData ( byte version, BufferedBinaryReader binaryReader ) : void
version byte
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader
return void

RemoveObjectTag() public method

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

RemoveObjectTag() public method

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.
return System

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