Gnash 0.8.9
|
Sets the desired limits for recursion and timeout for AS scripts. More...
#include <ScriptLimitsTag.h>
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 &) |
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.
virtual gnash::SWF::ScriptLimitsTag::~ScriptLimitsTag | ( | ) | [inline, virtual] |
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(), LOG_ONCE, and gnash::movie_root::setScriptLimits().
static void gnash::SWF::ScriptLimitsTag::loader | ( | SWFStream & | in, |
TagType | tag, | ||
movie_definition & | m, | ||
const RunResources & | |||
) | [inline, static] |
References gnash::movie_definition::addControlTag(), s, and gnash::SWF::SCRIPTLIMITS.