Go to the documentation of this file.
19 #ifndef GNASH_SWF_DOINITACTIONTAG_H
20 #define GNASH_SWF_DOINITACTIONTAG_H
30 class movie_definition;
60 m->execute_init_action_buffer(_buf, _cid);
75 const std::uint16_t cid = in.
read_u16();
78 log_parse(
_(
" tag %d: do_init_action_loader"), tag);
79 log_parse(
_(
" -- init actions for sprite %d"), cid);
119 #endif // GNASH_SWF_DOINITACTIONTAG_H
Control tags are swf tags that control the operation of the movie.
Definition: ControlTag.h:44
void log_swferror(StringType msg, Args... args)
Definition: log.h:325
TagType
SWF tag types. Symbolic names copied from Ming.
Definition: SWF.h:31
DoInitActionTag(SWFStream &in, movie_definition &md, int cid)
Definition: DoInitActionTag.h:44
#define _(String)
Definition: log.h:44
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
virtual void executeState(MovieClip *m, DisplayList &) const
Execute 'state' tags.
Definition: DoInitActionTag.h:59
@ m
Definition: GnashKey.h:159
A MovieClip is a container for DisplayObjects.
Definition: MovieClip.h:84
Client program's interface to the definition of a movie or sprite.
Definition: movie_definition.h:96
#define IF_VERBOSE_MALFORMED_SWF(x)
Definition: log.h:404
A list of on-stage DisplayObjects, ordered by depth.
Definition: DisplayList.h:65
void read(SWFStream &in, unsigned long endPos)
Read action bytes from input stream up to but not including endPos.
Definition: action_buffer.cpp:48
An SWF parsing exception.
Definition: GnashException.h:90
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:54
unsigned long get_tag_end_position()
Return the file position of the end of the current tag.
Definition: SWFStream.cpp:497
#define IF_VERBOSE_PARSE(x)
Definition: log.h:378
void log_parse(StringType msg, Args... args)
Definition: log.h:313
std::uint16_t read_u16()
Read a aligned unsigned 16-bit value from the stream.
Definition: SWFStream.cpp:332
A code segment.
Definition: action_buffer.h:50
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: DoInitActionTag.h:63
SWF stream wrapper class.
Definition: SWFStream.h:59
void ensureBytes(unsigned long needed)
Ensure the requested number of bytes are available for an aligned read in the currently opened tag.
Definition: SWFStream.cpp:50
@ SWF
Definition: GnashKey.h:331
SWF Tag DoInitAction (59)
Definition: DoInitActionTag.h:41