Gnash
0.8.10
|
#include <ImportAssetsTag.h>
Public Types | |
typedef std::pair< int, std::string > | Import |
typedef std::vector< Import > | Imports |
Public Member Functions | |
virtual void | executeState (MovieClip *m, DisplayList &) const |
Execute an ImportAssetsTag. | |
Static Public Member Functions | |
static void | loader (SWFStream &in, TagType tag, movie_definition &m, const RunResources &r) |
typedef std::pair<int, std::string> gnash::SWF::ImportAssetsTag::Import |
typedef std::vector<Import> gnash::SWF::ImportAssetsTag::Imports |
virtual void gnash::SWF::ImportAssetsTag::executeState | ( | MovieClip * | m, |
DisplayList & | |||
) | const [inline, virtual] |
Execute an ImportAssetsTag.
Executing this tag adds the imported definition with an id to the list of known characters. This id may be different from the genuine id of the DefinitionTag.
Reimplemented from gnash::SWF::ControlTag.
References gnash::MovieClip::get_root(), gnash::key::e, and gnash::Movie::addCharacter().
static void gnash::SWF::ImportAssetsTag::loader | ( | SWFStream & | in, |
TagType | tag, | ||
movie_definition & | m, | ||
const RunResources & | r | ||
) | [inline, static] |
References assert, gnash::SWF::IMPORTASSETS, gnash::SWF::IMPORTASSETS2, gnash::key::p, and gnash::movie_definition::addControlTag().
Referenced by gnash::SWF::addDefaultLoaders().