Go to the documentation of this file.
19 #ifndef GNASH_SWF_SCENEANDLABELTAG_H
20 #define GNASH_SWF_SCENEANDLABELTAG_H
33 class movie_definition;
56 log_swferror(
"SWF contains DefineSceneAndFrameLabelData tag, "
57 "but is not an AS3 SWF!");
63 boost::intrusive_ptr<ControlTag>
t(
80 std::uint32_t scenes = in.
read_V32();
84 for (
size_t i = 0;
i < scenes; ++
i) {
85 std::uint32_t offset = in.
read_V32();
89 _scenes[offset] =
name;
92 std::uint32_t labels = in.
read_V32();
94 for (
size_t i = 0;
i < labels; ++
i) {
104 std::map<std::uint32_t, std::string> _scenes;
105 std::map<std::uint32_t, std::string> _frames;
113 #endif // GNASH_SWF_SYMBOLCLASSTAG_H
Definition: DefineSceneAndFrameLabelDataTag.h:40
Control tags are swf tags that control the operation of the movie.
Definition: ControlTag.h:44
std::string name
Definition: LocalConnection_as.cpp:149
void log_swferror(StringType msg, Args... args)
Definition: log.h:325
TagType
SWF tag types. Symbolic names copied from Ming.
Definition: SWF.h:31
@ i
Definition: GnashKey.h:155
void read_string(std::string &to)
Reads a null-terminated string from the given file and assigns it to the given std::string,...
Definition: SWFStream.cpp:395
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
@ 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
@ t
Definition: GnashKey.h:166
@ DEFINESCENEANDFRAMELABELDATA
Definition: SWF.h:112
An SWF parsing exception.
Definition: GnashException.h:90
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:54
#define IF_VERBOSE_PARSE(x)
Definition: log.h:378
void log_parse(StringType msg, Args... args)
Definition: log.h:313
virtual void executeState(MovieClip *, DisplayList &) const
TODO: implement this.
Definition: DefineSceneAndFrameLabelDataTag.h:44
std::uint32_t read_V32()
Read a variable length unsigned 32-bit value from the stream. These values continue until either the ...
Definition: SWFStream.h:191
SWF stream wrapper class.
Definition: SWFStream.h:59
@ SWF
Definition: GnashKey.h:331
void log_unimpl(StringType msg, Args... args)
Definition: log.h:289
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: DefineSceneAndFrameLabelDataTag.h:49