Gnash  0.8.11dev
Public Member Functions | Static Public Member Functions | List of all members
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:
gnash::SWF::ControlTag gnash::ref_counted

Public Member Functions

virtual ~ScriptLimitsTag ()
 
virtual void executeState (MovieClip *m, DisplayList &) const
 Execute "state" or "DisplayList" tags. More...
 
- Public Member Functions inherited from gnash::SWF::ControlTag
virtual ~ControlTag ()
 
virtual void executeActions (MovieClip *, DisplayList &) const
 Execute Action tags. More...
 
- Public Member Functions inherited from gnash::ref_counted
 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

- Public Types inherited from gnash::SWF::ControlTag
enum  Type { TAG_ACTION = 1 << 0, TAG_DLIST = 1 << 1 }
 Type of ControlTag. More...
 
- Protected Member Functions inherited from gnash::ref_counted
virtual ~ref_counted ()
 

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

◆ ~ScriptLimitsTag()

virtual gnash::SWF::ScriptLimitsTag::~ScriptLimitsTag ( )
inlinevirtual

Member Function Documentation

◆ executeState()

virtual void gnash::SWF::ScriptLimitsTag::executeState ( MovieClip ,
DisplayList  
) const
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(), gnash::log_debug(), LOG_ONCE, gnash::key::m, and gnash::movie_root::setScriptLimits().

◆ loader()

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

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