Approved!

Change 20080819-maxcarlson-B by [EMAIL PROTECTED] on 2008-08-19 18:26:05 PDT
     in /Users/maxcarlson/openlaszlo/trunk-clean
for <http://svn.openlaszlo.org/openlaszlo/trunk>http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Add swf9 browser JS communication

Bugs Fixed: LPP-5857 - Add swf9 browser javascript communication

Technical Reviewer: promanik
QA Reviewer: hminsky

Details: test9.jsp - Add test for swf9

test.js - Update to skip amperstands for keyboard typing test

DojoExternalInterface.as - Add swf9 implementation

LzBrowserKernel.lzs - Implement callJS() and __jsready().

Library.lzs - Include DojoExternalInterface.as

LzSprite.as - Register callbacks and send oninit event from root sprite init()

LzUtils.lzs - Add extra test to look up 'lz' since there is no global object introspection in AS3

LaszloLibrary.lzs - Instantiate DojoExternalInterface for swf8 and swf9.

lzhistory.js - Use lz.History... instead of LzHistory.

flash.js - Comment out all flash-6 specific code, reduce object lookups.

Tests: test8.jsp runs as before. test9 now works also. The mouse wheel now works on OS X for /test/lfc/legals/keyboardandmouse.lzx?
lzr=swf9

Files:
A      test/lfc/legals/testjscomm/test9.jsp
M      test/lfc/legals/testjscomm/test.js
A      WEB-INF/lps/lfc/kernel/swf9/DojoExternalInterface.as
M      WEB-INF/lps/lfc/kernel/swf9/LzBrowserKernel.lzs
M      WEB-INF/lps/lfc/kernel/swf9/Library.lzs
M      WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
M      WEB-INF/lps/lfc/services/LzUtils.lzs
M      WEB-INF/lps/lfc/LaszloLibrary.lzs
M      lps/includes/source/lzhistory.js
M      lps/includes/source/flash.js

Changeset: <http://svn.openlaszlo.org/openlaszlo/patches/20080819-maxcarlson-B.tar>http://svn.openlaszlo.org/openlaszlo/patches/20080819-maxcarlson-B.tar

Reply via email to