C# Class SwfDotNet.IO.Tags.ShowFrameTag

ShowFrameTag tag is used to instruct the Flash Player to display a single frame in a movie or movie clip.

When a frame is displayed the Flash Player performs the following:

  • The contents of the Flash Player's display list are drawn on the screen.
  • Any actions defined using a DoActionTag object are executed.

Objects are placed in the display list using the PlaceObjectTag and PlaceObject2Tag classes and removed using the RemoveObjectTag and RemoveObject2Tag classes. An object which has been added to the display list will be displayed in each frame until it is explicitly removed. There is no need to repeatedly add it to the display list.

The scope of a frame is delineated by successive ShowFrameTag objects. All the commands that affect change the state of the display list or define actions to be executed take effect when the Flash Player displays the frame. All the objects displayed in a frame must be defined before they can be displayed. The movie is displayed as it is downloaded so displaying objects that are defined later in a movie is not allowed.

This tag was introduced in Flash 1.

Inheritance: BaseTag
ファイルを表示 Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
ReadData ( byte version, BufferedBinaryReader binaryReader ) : void

see base class

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

ShowFrameTag ( ) : System

Creates a new ShowFrameTag instance.

UpdateData ( byte version ) : void

see base class

Method Details

ReadData() public method

see base class
public ReadData ( byte version, BufferedBinaryReader binaryReader ) : void
version byte
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader
return void

Serialize() public method

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
return void

ShowFrameTag() public method

Creates a new ShowFrameTag instance.
public ShowFrameTag ( ) : System
return System

UpdateData() public method

see base class
public UpdateData ( byte version ) : void
version byte
return void