19 #ifndef GNASH_SWF_DOINITACTIONTAG_H
20 #define GNASH_SWF_DOINITACTIONTAG_H
30 class movie_definition;
68 log_swferror(
"SWF contains DoInitAction tag, but is an "
75 const boost::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:505
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
#define IF_VERBOSE_MALFORMED_SWF(x)
Definition: log.h:390
SWF Tag DoInitAction (59)
Definition: DoInitActionTag.h:40
boost::uint16_t read_u16()
Read a aligned unsigned 16-bit value from the stream.
Definition: SWFStream.cpp:340
#define IF_VERBOSE_PARSE(x)
Definition: log.h:364
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
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:43
void read(SWFStream &in, unsigned long endPos)
Read action bytes from input stream up to but not including endPos.
Definition: action_buffer.cpp:49
virtual void executeState(MovieClip *m, DisplayList &) const
Execute 'state' tags.
Definition: DoInitActionTag.h:59
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:51