Gnash
0.8.11dev
|
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. More... | |
![]() | |
virtual | ~ControlTag () |
virtual void | executeActions (MovieClip *, DisplayList &) const |
Execute Action tags. More... | |
![]() | |
ref_counted () | |
ref_counted (const ref_counted &) | |
void | add_ref () const |
void | drop_ref () const |
long | get_ref_count () const |
Static Public Member Functions | |
static void | loader (SWFStream &in, TagType tag, movie_definition &m, const RunResources &) |
Additional Inherited Members | |
![]() | |
enum | Type { TAG_ACTION = 1 << 0, TAG_DLIST = 1 << 1 } |
Type of ControlTag. More... | |
![]() | |
virtual | ~ref_counted () |
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.
|
inlinevirtual |
|
inlinevirtual |
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().
|
inlinestatic |
References gnash::movie_definition::addControlTag(), assert, s, and gnash::SWF::SCRIPTLIMITS.
Referenced by gnash::SWF::addDefaultLoaders().