[Laszlo-dev] For Review: Change 20090613-raju-r Summary: Add support for Flash Player's ability to switch to full screen mode for SWFx
Raju Bitter
rajubitter at me.com
Sat Jun 13 19:30:55 PDT 2009
Sarah, Max,
This is just a partial solution for the SWF9 runtime. What's missing
here is
+ SWF8 support, I'll add that as soon as some details of the
implementations have been decided upon
+ Support of a canvas @fullscreen attribute, which will be used to
set the corresponding allowFullScreen=true parameter/attribute for the
embedding code. Right now that's just added to the default embedding
code.
+ documentation on this feature
+ integration with the deployment code generation tool (I'm not
sure what would have to be done for that)
I've tested with the following browser/OS:
Windows XP: IE7, Firefox 3.0
OS X 10.5.7: Safari 4.0, Firefox 3.5b4
- Raju
On Jun 14, 2009, at 3:57 AM, Raju Bitter wrote:
> Change 20090613-raju-r by raju at Atlantia on 2009-06-13 23:52:31 CEST
> in /Users/rajubitter/src/svn/openlaszlo/trunk
> for http://rajubitter@svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Add support for Flash Player's ability to switch to full
> screen mode for SWFx
>
> New Features:
>
> Bugs Fixed: LPP-8107
>
> Technical Reviewer: max
> QA Reviewer: (pending)
> Doc Reviewer: (pending)
>
> Documentation:
> The documentation has to be updated, to reflect the new functionality.
>
> Release Notes:
> Works with Flash Player version 9.0.28. and all later versions.
>
> Details:
> http://jira.openlaszlo.org/jira/browse/LPP-8107
>
> Embedding code
> lps/includes/sources/embednew.js
> + method lz.embed.swf
> - added allowFullScreen: properties.fullscreen
> lps/includes/sources/flash.js
> + method lz.embed.dojo
> + added value to defaults: fullscreen: true
> + lz.embed.dojo.Embed.prototype.write
> object.html: added param/attribute allowFullScreen
>
> LFC changes for all runtimes
> WEB-INF/lps/lfc/views/LaszloCanvas.lzs
> + @initarg documentation added for fullscreen
> + public var fullscreen added
> + onfullscreen event added
> + public var diplaystate added
> + handling of @initarg fullscreen added to construct() method
> + Warning for runtimes that don't support fullscreen (DHTML)
> added to construct method
> + method function showFullScreen(fullscreen=true) added
>
> SWF9 specific changes
> WEB-INF/lps/lfc/kernel/swf9/LzScreenKernel.as
> + Added method showFullScreen
> + Added handler for FullScreenEvent fullScreenEventHandler
> WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
> + added fullscreen: true to capabilities
>
>
> Tests:
> test/fullscreen/fullscreen1.lzx
> Simple test file for to go into fullscreen mode by clicking a button.
>
> Files:
> A test/fullscreen
> A test/fullscreen/fullscreentest1.lzx
> M WEB-INF/lps/lfc/kernel/swf9/LzScreenKernel.as
> M WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
> M WEB-INF/lps/lfc/views/LaszloCanvas.lzs
> M lps/includes/source/embednew.js
> M lps/includes/source/flash.js
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090613-raju-r.tar
More information about the Laszlo-dev
mailing list