C# Класс SwfDotNet.IO.Tags.ScriptLimitTag

ScriptLimit tag is used to define the execution environment of the Flash Player, limiting the resources available when executing actions.

It can be used to limit the maximum recursion depth and limit the time a sequence of actions can execute for. This provides a rudimentary mechanism for people viewing a movie to regain control of the Flash Player should a script fail.

This tag was introduced in Flash 7.

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

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

Метод Описание
ReadData ( byte version, BufferedBinaryReader binaryReader ) : void

see base class

ScriptLimitTag ( ) : System

Creates a new ScriptLimitTag instance.

ScriptLimitTag ( ushort recursion, ushort timeout ) : System

Creates a new ScriptLimitTag instance.

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

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

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

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

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

Creates a new ScriptLimitTag instance.
public ScriptLimitTag ( ushort recursion, ushort timeout ) : System
recursion ushort Recursion depth. That's the maximum depth, in the range 1..65535, that a sequence of actions can recurse to.
timeout ushort Specified timeout. That's the maximum time, in seconds, that a sequence of actions will execute before the Flash Player present a dialog box asking whether the script should be terminated.
Результат System

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