[Laszlo-dev] For Review: Change 20081001-maxcarlson-s Summary: Make streaming mp3 audio act more like a movieclip

Philip Romanik promanik at laszlosystems.com
Wed Oct 1 18:46:00 PDT 2008


Approved for swf8. In swf9, the play button doesn't restart the clip.

http://localhost:8080/trunk/examples/music/music.html?lzt=html&lzr=swf9


>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>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: 
><mailto:andre.bargull at udo.edu>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>http://svn.openlaszlo.org/openlaszlo/patches/20081001-maxcarlson-s.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20081001/7fd87d90/attachment-0001.html


More information about the Laszlo-dev mailing list