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

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

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

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

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

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

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

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

Creates a new ImportAssetsTag instance.
public ImportAssetsTag ( string url, Assert exportedCharacters ) : System
url string URL.
exportedCharacters SwfDotNet.IO.Tags.Types.Assert Exported characters.
Результат System

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

Reads the data.
public ReadData ( byte version, BufferedBinaryReader binaryReader ) : void
version byte Version.
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader Binary reader.
Результат 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