[Laszlo-dev] For Review: Change 20081001-maxcarlson-s Summary: Make streaming mp3 audio act more like a movieclip
Max Carlson
max at openlaszlo.org
Wed Oct 1 18:15:47 PDT 2008
Change 20081001-maxcarlson-s by maxcarlson at Bank on 2008-10-01 17:47:40
PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Make streaming mp3 audio act more like a movieclip
Bugs Fixed: LPP-7051 - SWF8/9: Small Apps: Music demo cannot be replayed
Technical Reviewer: andre.bargull at udo.edu
QA Reviewer: promanik
Documentation: Streaming mp3 audio will now start over at the
beginning after the end of the clip has been reached, unless play() is
passed a specific value.
Details: LzSoundMC.as - Start at the beginning if we're not seeking to
a specific frame and we're at the end already. Pass a flag from
gotoAndPlay() to play() so we know when to auto seek.
LzSprite.as - Track totalframes in the sprite. Start at the beginning
if we're not seeking to a specific frame and we're at the end
already. Don't allow seeking past the end.
Tests: See LPP-7051. Also fixes seeking past the end in swf9.
Files:
M WEB-INF/lps/lfc/kernel/swf/LzSoundMC.as
M WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20081001-maxcarlson-s.tar
More information about the Laszlo-dev
mailing list