Fullscreen
June 24th, 2007 . by polyGeek![]() |
Watch a video tutorial covering how to create a fullScreen video interface with video.Maru. |
To create a button that toggles the FullScreen view create a MovieClip and give it an instance name of fullscreen_btn. That button will act as a toggle to switch back and forth from in-browser to FullScreen views.
You’re done as far as video.Maru is concerned. But there’s a bit of work to on the HTML container page to allow this to work.
The <object><embed> tags need to have attributes that give the SWF permission to go FullScreen. The simple version of this is to find the allowFullScreen tag and give it a value of true.
If you would like to read more visit the Exploring full-screen mode in Flash Player 9 on the Adobe.com site for more details.
FullScreen support requires the Flash 9,0,28,0 player or above.
Be sure to read the video.Maru API page for more details about how to control FullScreen and change the layout of your design when switching.








my fullscreen button works great, but if you use escape to return to normal view, the fullscreen button doesn’t toggle back to the normal state. Where can I find actionscript for returning with the escape button?
full screen button is not working, why?
I think it will be something like:
ExternalInterface.addCallback(”fullScreen”, null);
but this don’t work
Ok i got it
This is not a videomaru command. FullScreen option is inported in flash player.
So you need to add this script at escape button:
Stage[”displayState”] = “normal”;