2 Replies Latest reply on May 13, 2009 8:42 AM by phredbel

    Flash movie full screen NOT embeded video

    phredbel

      How do i keep a embedded video from trying to display fullscreen? I have a flash movie [I'm using it as a presentation] and in it i have a video [embedded as FLVPlayback] when i run this in flash player in full screen mode [the flash player not the flash file]. when it gets to the frame with the video the video tries to run in fullscreen. I just want it to run with in the flash file that is running fullscreen.

        • 1. Re: Flash movie full screen NOT embeded video
          phredbel Level 1

          OK So I've figured one part out. I need to set the FLVPlayback.fullScreenTakeOver = false;

          Except it doesn't work!!!

           

          in a frame I have an instance of FLVPlayback in the actionsscript of that frame I have

           

          myPlayer.fullScreenTakeOver = false;

           

          nothing! I get the error i have been getting with this which is totally misleading.

           

          Anyone?!?!

          • 2. Re: Flash movie full screen NOT embeded video
            phredbel Level 1

            OK so I finally dug something up that works.

            I added these to my actionscript layer I'm not running everything through AS so you may have to change this to suit your needs.

             

            stage.addEventListener(Event.ADDED, displayObjectAdded, true);

            function displayObjectAdded(evt:Event):void {
                 if (evt.target is FLVPlayback) {
                     evt.target.fullScreenTakeOver = false;
                     }
                 }       
            

            BTW having FLVPlayback default fullScreenTakeOver to true is not good!