3 Replies Latest reply on Mar 31, 2008 6:27 AM by

    video fullscreen

    mkayyali Level 1

      i am using the attach code to set my video as a fullscreen and its work good on flashplayer 9 and as2 , but i need to work it on flashplayer 8 ... thanks
        • 1. Re: video fullscreen
          Greg Dove Level 4
          Flash player 8 does not support fullscreen mode.

          It is possible to publish for flash player 8 and have it check the player version and show full screen toggle if the player version is 9+. I've done that before, some time ago... I can't remember if it was with flash 8 or flash cs3. When I did it I needed to use array access operators to avoid compiler errors.

          Stage['displayState'] instead of Stage.displayState for example

          I think I just checked to see if Stage['displayState'] was not null instead of checking the player version.
          • 2. Re: video fullscreen
            mkayyali Level 1
            thanks GWD ...
            • 3. Re: video fullscreen
              I found that I could go to fullscreen in player 8 using:
              if (Stage["displayState"] == "normal") {
              Stage["displayState"] = "fullscreen";

              , however the video doesn't scale properly. I'm trying to figure out how to get the video to scale up. The container is a simple video holder created via the library create menu. Is there any way of resizing the video to fit the stage?