video.Maru
by polyGeek polyGeek logo



 

Fullscreen

June 24th, 2007 . by polyGeek
polyGeek TV 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.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Technorati
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon

4 Responses to “Fullscreen”

  1. comment number 1 by: dave

    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?

  2. comment number 2 by: Abra melin

    full screen button is not working, why?

  3. comment number 3 by: neven

    I think it will be something like:
    ExternalInterface.addCallback(”fullScreen”, null);
    but this don’t work

  4. comment number 4 by: Neven

    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”;

Leave a Reply

Name

Mail (never published)

Website