Max, this is a preliminary change to make stretching work on
multiframe resources; it applies the stretches
algorithm when each new frame is displayed.
I also added a cache array to hold the instantiated frames of the
multiframe resource, so they didn't
have to be new()'ed and gc'd each time they were displayed.
This probably is not the optimal way to do stretching, maybe you could
look at this and see if there is a cleaner
way with swf9's Sprite API.
Change 20080415-hqm-t by [EMAIL PROTECTED] on 2008-04-15 23:32:31 EDT
in /Users/hqm/openlaszlo/trunk4/WEB-INF/lps/lfc
for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc
Summary: swf9 stuff, fix for stretches on multiframe resources,
resource caching for multiframe resources
New Features:
Bugs Fixed:
Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Tests:
<canvas>
<button x="200" y="200" width="200" height="100">Cancel</button>
</canvas>
Files:
M kernel/swf9/LzSprite.as
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080415-hqm-t.tar