Gnash
0.8.10
|
SWF Tag StartSound (15) More...
#include <StartSoundTag.h>
Public Member Functions | |
void | executeActions (MovieClip *, DisplayList &) const |
Execute Action tags. | |
Static Public Member Functions | |
static void | loader (SWFStream &in, TagType tag, movie_definition &m, const RunResources &r) |
Load a SWF::STARTSOUND tag. |
SWF Tag StartSound (15)
See http://sswf.sourceforge.net/SWFalexref.html#tag_startsound
void gnash::SWF::StartSoundTag::executeActions | ( | MovieClip * | , |
DisplayList & | |||
) | const [virtual] |
Execute Action tags.
Not all tags that have ActionScript code are considered Action tags.
Reimplemented from gnash::SWF::ControlTag.
References gnash::getRunResources(), gnash::getObject(), gnash::RunResources::soundHandler(), gnash::SWF::SoundInfoRecord::stopPlayback, gnash::sound::sound_handler::stopEventSound(), gnash::SWF::SoundInfoRecord::envelopes, gnash::sound::sound_handler::startSound(), gnash::SWF::SoundInfoRecord::loopCount, gnash::SWF::SoundInfoRecord::noMultiple, gnash::SWF::SoundInfoRecord::inPoint, and gnash::SWF::SoundInfoRecord::outPoint.
void gnash::SWF::StartSoundTag::loader | ( | SWFStream & | in, |
TagType | tag, | ||
movie_definition & | m, | ||
const RunResources & | r | ||
) | [static] |
Load a SWF::STARTSOUND tag.
References assert, gnash::SWF::STARTSOUND, gnash::RunResources::soundHandler(), gnash::SWFStream::ensureBytes(), gnash::SWFStream::read_u16(), gnash::movie_definition::get_sound_sample(), IF_VERBOSE_MALFORMED_SWF, _, IF_VERBOSE_PARSE, gnash::SWFStream::align(), gnash::sound_sample::m_sound_handler_id, and gnash::movie_definition::addControlTag().
Referenced by gnash::SWF::addDefaultLoaders().