Change 20080722-maxcarlson-6 by [EMAIL PROTECTED] on 2008-07-22
20:12:12 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix setSource() in swf9
Bugs Fixed: LPP-6707 - swf9: setSource() calls show previous image
Technical Reviewer: hminsky
QA Reviewer: promanik
Details: LzSprite.as - Use resource property instead of resourceURL.
Use default args in LaszloView.resourceevent(). Reuse loader and reset
scale for setSource() calls. Expand loaderEventHandler() to handle
load progress. Avoid potential division by zeron in
applyStretchResource(). Rename updateResourceSize() to
sendResourceLoad() and expose skiponload arg, defaulting to false.
LaszloView.lzs - Add default arg values for resourceevent() calls.
Tests: See LPP-6707.
Files:
M WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
M WEB-INF/lps/lfc/views/LaszloView.lzs
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20080722-maxcarlson-6.tar