Approved!
Change 20081002-maxcarlson-s by [EMAIL PROTECTED] on 2008-10-02 19:21:11 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for
<http://svn.openlaszlo.org/openlaszlo/trunk>http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Add playback control for loaded movieclips
Bugs Fixed: LPP-6914 - Make playback controls work for swf9 animations
Technical Reviewer:
<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] QA Reviewer:
promanik Doc Reviewer: (pending)
Details: LzSoundMC.as - Use canvas.framerate instead of hardcoded value.
LzSprite.as - Add __isinternalresource to track whether an internal
resource is loaded. Warn if the loaded movie is an AVM1Movie and
won't support playback controls. Otherwise, store a reference to the
loader movieclip. Add updateFrames() method to handle frame updates.
Update play() and stop() to deal with internal resources, loaded
movieclips, and streaming audio appropriately.
Tests: Testcase at LPP-6914 runs consistently in swf8 and 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-s.tar>http://svn.openlaszlo.org/openlaszlo/patches/20081002-maxcarlson-s.tar