C# Class SwfDotNet.IO.Tags.ImportAssetsTag

ImportAssetsTag is used to import shapes and other objects from another SWF file.

Since the identifier for an object is only unique within a given Flash file, imported objects are referenced by a name assigned when the object is exported.

To provide a degree of security the Flash Player will only import files that originate from the same domain as the file that it is currently playing. For example if the Flash file being shown was loaded from www.mydomain.com/flash.swf then the file contains the exported objects must reside somewhere at www.mydomain.com. This prevents a malicious Flash file from loading files from an unknown third party.

This tag was introduced in Flash 5.

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

Méthodes publiques

Méthode Description
ImportAssetsTag ( ) : System

Creates a new ImportAssetsTag instance.

ImportAssetsTag ( string url, Assert exportedCharacters ) : System

Creates a new ImportAssetsTag instance.

ReadData ( byte version, BufferedBinaryReader binaryReader ) : void

Reads the data.

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

UpdateData ( byte version ) : void

see base class

Method Details

ImportAssetsTag() public méthode

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

ImportAssetsTag() public méthode

Creates a new ImportAssetsTag instance.
public ImportAssetsTag ( string url, Assert exportedCharacters ) : System
url string URL.
exportedCharacters SwfDotNet.IO.Tags.Types.Assert Exported characters.
Résultat System

ReadData() public méthode

Reads the data.
public ReadData ( byte version, BufferedBinaryReader binaryReader ) : void
version byte Version.
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader Binary reader.
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