C# Class SwfDotNet.IO.Tags.DefineVideoStreamTag

DefineVideoStreamTag class is used to display video within a Flash file.

Video objects contain a unique identifier and are treated in the same way as shapes, buttons, images, etc. The video data displayed is define using the VideoFrameTag class. Each frame of video is displayed whenever display list is updated using the ShowFrameTag object - any timing information stored within the video data is ignored.

This tag was introduced in Flash 6. The ScreenVideo format was introduced in Flash 7.

Inheritance: BaseTag, DefineTag
Datei anzeigen Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
DefineVideoStreamTag ( ) : System

Creates a new DefineVideoStreamTag instance.

DefineVideoStreamTag ( ushort characterId, ushort numFrames, ushort width, ushort height, uint videoFlagsDeblocking, bool videoFlagsSmoothing, byte codecId ) : System

Creates a new DefineVideoStreamTag instance.

GetSizeOf ( ) : 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

Method Details

DefineVideoStreamTag() public method

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

DefineVideoStreamTag() public method

Creates a new DefineVideoStreamTag instance.
public DefineVideoStreamTag ( ushort characterId, ushort numFrames, ushort width, ushort height, uint videoFlagsDeblocking, bool videoFlagsSmoothing, byte codecId ) : System
characterId ushort Character id.
numFrames ushort Num frames.
width ushort Width of each frame in pixels.
height ushort Height of each frame in pixels.
videoFlagsDeblocking uint Video flags deblocking.
videoFlagsSmoothing bool Video flags smoothing.
codecId byte Codec id.
return System

GetSizeOf() public method

Gets the size of.
public GetSizeOf ( ) : int
return int

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

UpdateData() public method

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