Gnash
0.8.10
|
SWF Tag DoInitAction (59) More...
#include <DoInitActionTag.h>
Public Member Functions | |
DoInitActionTag (SWFStream &in, movie_definition &md, int cid) | |
virtual void | executeState (MovieClip *m, DisplayList &) const |
Execute 'state' tags. | |
Static Public Member Functions | |
static void | loader (SWFStream &in, TagType tag, movie_definition &m, const RunResources &) |
SWF Tag DoInitAction (59)
Thin wrapper around action_buffer.
gnash::SWF::DoInitActionTag::DoInitActionTag | ( | SWFStream & | in, |
movie_definition & | md, | ||
int | cid | ||
) | [inline] |
Referenced by loader().
virtual void gnash::SWF::DoInitActionTag::executeState | ( | MovieClip * | m, |
DisplayList & | |||
) | const [inline, virtual] |
Execute 'state' tags.
State tags change the current state of a MovieClip. They are executed even for skipped frames to ensure that the state is consistent. Even though DoInitAction tags contain ActionScript, they are considered to be state tags. They are executed only once.
Reimplemented from gnash::SWF::ControlTag.
References gnash::MovieClip::execute_init_action_buffer().
static void gnash::SWF::DoInitActionTag::loader | ( | SWFStream & | in, |
TagType | tag, | ||
movie_definition & | m, | ||
const RunResources & | |||
) | [inline, static] |