19 #ifndef GNASH_SWF_DOINITACTIONTAG_H 20 #define GNASH_SWF_DOINITACTIONTAG_H 30 class movie_definition;
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 unsigned long get_tag_end_position()
Return the file position of the end of the current tag.
Definition: SWFStream.cpp:497
std::uint16_t read_u16()
Read a aligned unsigned 16-bit value from the stream.
Definition: SWFStream.cpp:332
Client program's interface to the definition of a movie or sprite.
Definition: movie_definition.h:95
A MovieClip is a container for DisplayObjects.
Definition: MovieClip.h:83
TagType
SWF tag types. Symbolic names copied from Ming.
Definition: SWF.h:30
An SWF parsing exception.
Definition: GnashException.h:89
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
#define IF_VERBOSE_MALFORMED_SWF(x)
Definition: log.h:404
SWF Tag DoInitAction (59)
Definition: DoInitActionTag.h:40
#define IF_VERBOSE_PARSE(x)
Definition: log.h:378
Control tags are swf tags that control the operation of the movie.
Definition: ControlTag.h:43
void execute_init_action_buffer(const action_buffer &a, int cid)
Execute the given init action buffer, if not done yet for the target DisplayObject id...
Definition: MovieClip.cpp:980
void log_parse(StringType msg, Args... args)
Definition: log.h:313
virtual void executeState(MovieClip *m, DisplayList &) const
Execute 'state' tags.
Definition: DoInitActionTag.h:59
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: DoInitActionTag.h:63
#define _(String)
Definition: log.h:44
DoInitActionTag(SWFStream &in, movie_definition &md, int cid)
Definition: DoInitActionTag.h:44
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:53
void read(SWFStream &in, unsigned long endPos)
Read action bytes from input stream up to but not including endPos.
Definition: action_buffer.cpp:48
void log_swferror(StringType msg, Args... args)
Definition: log.h:325
virtual bool isAS3() const
True if the SWFMovie should use AVM2.
Definition: movie_definition.h:410
Definition: GnashKey.h:159
A code segment.
Definition: action_buffer.h:49
virtual void addControlTag(boost::intrusive_ptr< SWF::ControlTag >)
Add an ControlTag to this movie_definition's playlist.
Definition: movie_definition.h:273
A list of on-stage DisplayObjects, ordered by depth.
Definition: DisplayList.h:64
Definition: GnashKey.h:331
SWF stream wrapper class.
Definition: SWFStream.h:58
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