[SWFObject] fullscreen

Aran Rhee aran.rhee at qdc.net.au
Wed Nov 15 14:51:23 PST 2006


Tino.

My understanding (after playing around with the new functionality and
reading stuff on the labs wiki) is you can only initiate fullscreen mode
from within actionscript, so you can't ONLY use swfObject to get things
done. You do however need to add a new tag to the HTML to allow fullscreen
to happen at all (allowFullScreen=true):

So in swfObject, so would add a line:

so.addParam("allowFullScreen", "true");


I suppose you could use external interface etc tio invoke the full screen
functions from the browser, but I haven't played with that idea yet...


Eg AS functions:

// functions to enter and leave full screen mode
function goFullScreen()
{
   Stage.displayState = "fullScreen";
}
function exitFullScreen() 
{
   Stage.displayState = "normal";
}

Read here for more:

http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html 


Cheers,
Aran



> -----Original Message-----
> From: swfobject-bounces at lists.deconcept.com 
> [mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of 
> Tino Klumpen
> Sent: Thursday, 16 November 2006 9:38 AM
> To: swfobject at lists.deconcept.com
> Subject: [SWFObject] fullscreen
> 
> Hi,
> 
> Owen mentioned on October 5th the new allowFullscreen option, 
> now for all available in version 9,0,28,0.
> Will there be an update of SWFObject which implements this option?
> 
> *
> Tino
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com



More information about the Swfobject mailing list