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

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

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

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

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

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

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

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

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

see base class
public UpdateData ( byte version ) : void
version byte
Результат void