Change 20080125-ptw-x by [EMAIL PROTECTED] on 2008-01-25 15:41:02 EST
    in /Users/ptw/OpenLaszlo/ringding-2
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Yet another try at solving stretches vs. clickable

Bugs Fixed:
LPP-5372 'Mouse events available for first 100 pixels on a stretched view'

Technical Reviewer: max (pending)
QA Reviewer: pkang (pending)

Details:
    LzMakeLoadSprite: DON'T call updateResourceSize (which apparently
    papered over bugs in LzSprite, and now does the wrong thing).
    Don't inline parts of the code from LzSprite#set{Width,Height},
    which leads to skew; call them.

    LzSprite: Added a bunch of devnotes to document the secret inner
    workings of the Flash player that Adam apparently thougth were
    patently obvious.  Correct computation of scale for stretches when
    there is no resource supplied.  Correct the computation for
    scaling of button (clickable) to compensate for the parent clip
    being stretched.

Tests:
    Test cases from LPP-5372, 4661 (original and one in comments), 3726

Files:
M      WEB-INF/lps/lfc/kernel/swf/LzMakeLoadSprite.as
M      WEB-INF/lps/lfc/kernel/swf/LzSprite.as


Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080125-ptw-x.tar

Reply via email to