C# Class SwfDotNet.IO.Tags.SymbolClassTag

ExportAssetsTag is used to export shapes and other objects so they can be used in another Flash file.

Since the identifier for an object is only unique within a given Flash file, each object exported must be given a name so it can referenced when it is imported.

This tag was introduced in Flash 5.

Inheritance: BaseTag, DefineTargetTagContainer
显示文件 Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
ChangedTarget ( ushort id, ushort newId, Hashtable history ) : void

Changeds the target.

GetSizeOf ( ) : int

Gets the size of.

ReadData ( byte version, BufferedBinaryReader binaryReader ) : void

Reads the data.

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

SymbolClassTag ( ) : System

Creates a new ExportAssetsTag instance.

SymbolClassTag ( Assert exportedCharacters ) : System

Creates a new ExportAssetsTag instance.

TargetTo ( ushort characterId, Hashtable history ) : bool

Targets to.

UpdateData ( byte version ) : void

see base class

Method Details

ChangedTarget() public method

Changeds the target.
public ChangedTarget ( ushort id, ushort newId, Hashtable history ) : void
id ushort The id.
newId ushort The new id.
history System.Collections.Hashtable The history.
return void

GetSizeOf() public method

Gets the size of.
public GetSizeOf ( ) : int
return int

ReadData() public method

Reads the data.
public ReadData ( byte version, BufferedBinaryReader binaryReader ) : void
version byte Version.
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader Binary reader.
return void

Serialize() public method

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
return void

SymbolClassTag() public method

Creates a new ExportAssetsTag instance.
public SymbolClassTag ( ) : System
return System

SymbolClassTag() public method

Creates a new ExportAssetsTag instance.
public SymbolClassTag ( Assert exportedCharacters ) : System
exportedCharacters SwfDotNet.IO.Tags.Types.Assert Exported characters.
return System

TargetTo() public method

Targets to.
public TargetTo ( ushort characterId, Hashtable history ) : bool
characterId ushort The character id.
history System.Collections.Hashtable The history.
return bool

UpdateData() public method

see base class
public UpdateData ( byte version ) : void
version byte
return void