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

André Bargull andre.bargull at udo.edu
Thu Oct 2 11:10:42 PDT 2008


Approved!

[The optional argument from "LzSprite#soundFrameHandler()" can be 
removed now.]

On 10/2/2008 7:56 PM, Max Carlson wrote:
> Change 20081002-maxcarlson-6 by maxcarlson at Bank on 2008-10-02 10:52:11 PDT
>     in /Users/maxcarlson/openlaszlo/trunk-clean
>     for http://svn.openlaszlo.org/openlaszlo/trunk
> 
> Summary: UPDATED: 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.  Set frame = totalframes in 
> soundCompleteHandler to avoid ms -> frame number roundoff errors.
> 
> 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/20081002-maxcarlson-6.tar
> 



More information about the Laszlo-dev mailing list