|
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::SWF::SoundInfoRecord::envelopes, gnash::getObject(), gnash::getRunResources(), gnash::SWF::SoundInfoRecord::inPoint, gnash::SWF::SoundInfoRecord::loopCount, gnash::SWF::SoundInfoRecord::noMultiple, gnash::SWF::SoundInfoRecord::outPoint, gnash::RunResources::soundHandler(), gnash::sound::sound_handler::startSound(), gnash::sound::sound_handler::stopEventSound(), and gnash::SWF::SoundInfoRecord::stopPlayback.
| void gnash::SWF::StartSoundTag::loader | ( | SWFStream & | in, |
| TagType | tag, | ||
| movie_definition & | m, | ||
| const RunResources & | r | ||
| ) | [static] |
Load a SWF::STARTSOUND tag.
References _, gnash::movie_definition::addControlTag(), gnash::SWFStream::align(), assert, gnash::SWFStream::ensureBytes(), gnash::movie_definition::get_sound_sample(), IF_VERBOSE_MALFORMED_SWF, IF_VERBOSE_PARSE, gnash::sound_sample::m_sound_handler_id, gnash::SWFStream::read_u16(), gnash::RunResources::soundHandler(), and gnash::SWF::STARTSOUND.
Referenced by gnash::SWF::addDefaultLoaders().
1.7.6.1