Public Member Functions | Static Public Member Functions

gnash::SWF::ScriptLimitsTag Class Reference

Sets the desired limits for recursion and timeout for AS scripts. More...

#include <ScriptLimitsTag.h>

Inheritance diagram for gnash::SWF::ScriptLimitsTag:
Inheritance graph
[legend]
Collaboration diagram for gnash::SWF::ScriptLimitsTag:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~ScriptLimitsTag ()
virtual void executeState (MovieClip *m, DisplayList &) const
 Execute "state" or "DisplayList" tags.

Static Public Member Functions

static void loader (SWFStream &in, TagType tag, movie_definition &m, const RunResources &)

Detailed Description

Sets the desired limits for recursion and timeout for AS scripts.

A loaded movie containing a ScriptLimits tag should change the *global* scriptlimits setting, so this is kept in movie_root rather than the immutable movie_definition.


Constructor & Destructor Documentation

virtual gnash::SWF::ScriptLimitsTag::~ScriptLimitsTag (  )  [inline, virtual]

Member Function Documentation

virtual void gnash::SWF::ScriptLimitsTag::executeState ( MovieClip ,
DisplayList  
) const [inline, virtual]

Execute "state" or "DisplayList" tags.

State tags exist to control the state of MovieClips along the timeline. They are executed even for skipped frames so that the state is consistent at each frame. Some tags are considered state tags even though they only contain ActionScript, e.g. the DoInitAction tag.

Reimplemented from gnash::SWF::ControlTag.

References gnash::getObject(), gnash::getRoot(), and gnash::movie_root::setScriptLimits().

static void gnash::SWF::ScriptLimitsTag::loader ( SWFStream in,
TagType  tag,
movie_definition m,
const RunResources  
) [inline, static]

The documentation for this class was generated from the following file: