C# 클래스 SwfDotNet.IO.Swf

The Swf class is basically a data structure for swf data, containing header informations and a collection of swf tags.
상속: IBaseTagContainer
파일 보기 프로젝트 열기: bladecoding/SwfExport 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
MIME_TYPE string

공개 메소드들

메소드 설명
Add ( BaseTag tag ) : void

Adds the specified tag to the Swf tag collection. This methods is the same as swf.Tags.Add method, used only to simplify the writing process.

GetNewDefineId ( ) : ushort

Gets a new define character id. Each Define type tag must have an unique character Id. Use this method to get a new Id that is not used for the moment.

InjectTags ( BaseTagCollection values ) : void

Injects a range of tags in the current Swf.

Serialize ( XmlWriter writer ) : void

Serializes the swf object in a XmlWriter.

Swf ( ) : System

Creates a new Swf instance.

Swf ( SwfHeader header ) : System

Creates a new Swf instance.

Swf ( SwfHeader header, BaseTagCollection tagList ) : System

Creates a new Swf instance.

UpdateData ( ) : void

Re-calc swf binary data.

보호된 메소드들

메소드 설명
Init ( ) : void

Inits this instance.

비공개 메소드들

메소드 설명
tagList_TagAdded ( BaseTag tagAdded ) : void

A new tag was added to the tag collection

메소드 상세

Add() 공개 메소드

Adds the specified tag to the Swf tag collection. This methods is the same as swf.Tags.Add method, used only to simplify the writing process.
public Add ( BaseTag tag ) : void
tag SwfDotNet.IO.Tags.BaseTag Tag.
리턴 void

GetNewDefineId() 공개 메소드

Gets a new define character id. Each Define type tag must have an unique character Id. Use this method to get a new Id that is not used for the moment.
public GetNewDefineId ( ) : ushort
리턴 ushort

Init() 보호된 메소드

Inits this instance.
protected Init ( ) : void
리턴 void

InjectTags() 공개 메소드

Injects a range of tags in the current Swf.
public InjectTags ( BaseTagCollection values ) : void
values SwfDotNet.IO.Tags.BaseTagCollection The values.
리턴 void

Serialize() 공개 메소드

Serializes the swf object in a XmlWriter.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
리턴 void

Swf() 공개 메소드

Creates a new Swf instance.
public Swf ( ) : System
리턴 System

Swf() 공개 메소드

Creates a new Swf instance.
public Swf ( SwfHeader header ) : System
header SwfHeader Header.
리턴 System

Swf() 공개 메소드

Creates a new Swf instance.
public Swf ( SwfHeader header, BaseTagCollection tagList ) : System
header SwfHeader Swf Header.
tagList SwfDotNet.IO.Tags.BaseTagCollection Swf Tag list sequence.
리턴 System

UpdateData() 공개 메소드

Re-calc swf binary data.
public UpdateData ( ) : void
리턴 void

프로퍼티 상세

MIME_TYPE 공개적으로 정적으로 프로퍼티

Flash movie mime-type
public static string MIME_TYPE
리턴 string