[Laszlo-dev] For Review: Change 20081002-maxcarlson-s Summary: Add playback control for loaded movieclips
Max Carlson
max at openlaszlo.org
Thu Oct 2 19:28:15 PDT 2008
Change 20081002-maxcarlson-s by maxcarlson at Bank on 2008-10-02 19:21:11
PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for 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: andre.bargull at udo.edu
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
More information about the Laszlo-dev
mailing list