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
파일 보기 프로젝트 열기: bladecoding/SwfExport 1 사용 예제들

공개 메소드들

메소드 설명
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