[Laszlo-dev] Created JIRA new feature entry for adding full screen functionality to SWFx runtimes
Max Carlson
max at openlaszlo.org
Mon Apr 27 16:34:25 PDT 2009
Raju Bitter wrote:
> Max, Henry,
>
> I'm adding the full screen functionality to the canvas right now. I
> created a JIRA entry for that:
Very cool!
> The idea is to be able to say:
>
> <canvas fullscreen="true">
>
> Then have a showFullScreen() method on canvas to go into full screen
> mode for SWFx runtimes. What should that method name be? What would the
> best way be to switch back to normal view mode? Call the same method
> with a boolean value, like showFullScreen(false)?
This sounds good. I'd make it an attribute of canvas with a setter that
calls the underlying API on the sprite - you could put it into
LzScreenKernel.showFullScreen(show:Boolean). I would avoid adding a new
method to canvas - setAttribute('fullscreen', show:Boolean) ought to do
the job. You may want to add a capability to the sprites (true for swf,
false for dhtml) so you can decide when to call this from the canvas,
and warn where it's not available. See lz.view.setRotation() for an
example of this...
> Comment are welcome.
>
> - Raju
Feel free to make me a reviewer - I'm looking forward to this!
--
Regards,
Max Carlson
OpenLaszlo.org
More information about the Laszlo-dev
mailing list