FORUMS: list search recent posts

Stretching a video to full screen

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Dan Phillips
Stretching a video to full screen
on Feb 16, 2012 at 10:46:46 pm

Is there a way to take a 1280x720 flv and have it stretch via code in flash to 1920x1080 on playback. My interface is 1920x1080 and I want to click a button and have the video stretch to fill the interface when it plays. I know I could physically stretch the video but I want to do it via code if possible. I know this was easy in director but not sure how you do it in flash.


Return to posts index

Edward Brosens
Re: Stretching a video to full screen
on Feb 23, 2012 at 12:50:23 pm

You mean like this?

stage.displayState=StageDisplayState.FULL_SCREEN;

In the HTML you want to change all of the allowFullScreen and fullScreen values from false to true.
This will not work in the Flash Debugger.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]