[Laszlo-dev] For Review: Change 20071018-maxcarlson-X Summary: Enhance dhtml event mouse and media event support

Max Carlson max at openlaszlo.org
Thu Oct 18 19:28:06 PDT 2007


Change 20071018-maxcarlson-X by maxcarlson at plastik on 2007-10-18  
19:16:37 PDT
     in /Users/maxcarlson/openlaszlo/trunk
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Enhance dhtml event mouse and media event support

New Features: DHTML support for onmousedragin, onmousedragout,  
onmouseupoutside, onplay, onstop, onframe and onlastframe events.

Bugs Fixed: LPP-3730 - A number of events don't currently work for  
views with multi-frame resources.

Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Add resources for testing.

multiframeresource.lzx - updated testcase to test mouse and media  
load events across runtimes

LzSprite.js - Add callbacks for onmousedragin, onmousedragout,  
onmouseupoutside, onplay, onstop, onframe and onlastframe events

LzTrack.lzs - Update doc comment to events that exist

LaszloView.lzs - Remove unused onaddsubresource event.  Add  
resourceevent() callback to receive media events from sprites.

Tests: run test/lfc/legals/multiframeresource across swf7 and 8,  
dhtml proxied and non.  Most events should now fire.

Files:
A      test/lfc/legals/resc/wallpaper-thumb.jpg
A      test/lfc/legals/resc/logo.swf
A      test/lfc/legals/music.mp3
M      test/lfc/legals/multiframeresource.lzx
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M      WEB-INF/lps/lfc/services/LzTrack.lzs
M      WEB-INF/lps/lfc/views/LaszloView.lzs

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071018- 
maxcarlson-X.tar


More information about the Laszlo-dev mailing list