C# 클래스 SwfDotNet.IO.Tags.FrameLabelTag

FrameLabelTag defines a name for the current frame in a movie or movie clip.

The name can be referenced from other objects such as ActionGotoFrame2 to simplify the creation of scripts to control movies by using a predefined name rather than the frame number. The label assigned to a particular frame should be unique. Frames may also be reference externally when specifying the movie to play using a URL - similar to the way names links are used in HTML. When the Flash Player loaded a movie it will begin playing at the frame specified in the URL.

The name is assigned to a particular frame when the FrameLabelTag object is defined prior to the ShowFrameTag object that displays all the objects on the display list. The frame can then be referenced by its name once it has been defined. A frame cannot be referenced before the Player has loaded and displayed the frame that contains the corresponding FrameLabelTag object.

To start playing the movie at the frame labeled "StartHere" specify the label using the same format a HTML anchors:

http://www.mysite.com/flash/movie.swf#StartHere

This may be used either in a browser window to load a file or form within a movie using the ActionGetUrl or ActionGetUrl2 actions.

This tag was introduced in Flash 3. In Flash 6 the label can support named anchors which allows a frame to be specified as the starting point when displaying a Flash movie in a web browser.

상속: BaseTag
파일 보기 프로젝트 열기: bladecoding/SwfExport 1 사용 예제들

공개 메소드들

메소드 설명
FrameLabelTag ( ) : System

Creates a new FrameLabelTag instance.

FrameLabelTag ( string name ) : System

constructor.

GetSizeOf ( byte version ) : int

Gets the size of.

ReadData ( byte version, BufferedBinaryReader binaryReader ) : void

see base class

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

UpdateData ( byte version ) : void

see base class

메소드 상세

FrameLabelTag() 공개 메소드

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

FrameLabelTag() 공개 메소드

constructor.
public FrameLabelTag ( string name ) : System
name string label for frame
리턴 System

GetSizeOf() 공개 메소드

Gets the size of.
public GetSizeOf ( byte version ) : int
version byte
리턴 int

ReadData() 공개 메소드

see base class
public ReadData ( byte version, BufferedBinaryReader binaryReader ) : void
version byte
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader
리턴 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