There's a problem with this change if you run contactlist,
http://localhost:8080/trunk_clean/examples/contactlist/contactlist.lzx?lzr=swf9
ArgumentError: Error #2015: Invalid BitmapData.
at flash.display::BitmapData()
at LzSprite/createResourceBitmap()
at LzSprite/setResource()
at LzView/$lzc$set_resource()
at LzView/construct()
....
Change 20080715-maxcarlson-P by [EMAIL PROTECTED] on 2008-07-15
22:11:31 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for
<http://svn.openlaszlo.org/openlaszlo/trunk>http://svn.openlaszlo.org/openlaszlo/trunk
Summary: UPDATED: Fix onclick event for buttons in Flash 9
Bugs Fixed: LPP-6505 - Button events clogged up in swf9?
Technical Reviewer: promanik
QA Reviewer: ptw
Details: LzSprite.as - Creating and destroying child display objects
interferes with the mouse. Instead, create a bitmap object that
holds the resource data and replace its contents directly. Compiled
assets take a while to instantiate, added a callback to deal with this.
LzGlobalMouse.as - Add missing event.
Tests: See LPP-6505. Lzpix and other examples running in swf9 look
good. With this change, frame position is preserved - see examples/
components/slider_example.lzx in swf9 the checkboxes should default
to checked like in swf9 and dhtml.
Files:
M kernel/swf9/LzSprite.as
M services/LzGlobalMouse.lzs
Changeset:
<http://svn.openlaszlo.org/openlaszlo/patches/20080715-maxcarlson-P.tar>http://svn.openlaszlo.org/openlaszlo/patches/20080715-maxcarlson-P.tar