Summary: Add/remove/repair DeclareEvent() calls. DeclareEvent() is used to define each event, eliminating the possibility of calling a null event.
New Features:
Bugs Fixed: LPP-2063 (fhalf)
Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
All files that generate events,
find . -exec grep -l sendEvent {} \;
were examined. In most cases DeclareEvent lines were added to insure that
all events are defined. However, I found some files that had unnecessary
DeclareEvent() calls, and in some cases the changes were in the wrong files.
I added DeclareEvent() calls in kernel/swf/LzTextSprite.as as needed.
Max pointed out that sprites aren't supposed to send events directly.
This can serve as a place holder to change this to callbacks to the LFC.
Release Notes:
Details:
Tests:
Files:
M kernel\swf\LzTextSprite.as
M kernel\swf\LzMediaLoader.as
M kernel\swf\LzLoader.as
M services\LzKeys.as
M services\LzModeManager.as
M services\LzHistory.as
M views\LzText.lzs
M views\LaszloCanvas.as
M views\platform\swf\LzContextMenu.as
M views\LaszloView.lzs
M views\LaszloCanvas.js
M helpers\LzCommand.as
M controllers\LzAnimatorGroup.lzs
M controllers\LaszloAnimation.lzs
M data\LzReplicationManager.lzs
M data\LzDatapointer.lzs
M data\LzDataNode.lzs
M data\LzDataElement.lzs
patch.Philip.5852.tgz
Description: application/compressed
_______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
