A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Fullscreen video player

  1. #1
    Junior Member
    Join Date
    May 2009

    Question Fullscreen video player

    Hello all,

    I'm currently creating a video player, but I'm having a problem with the fullscreen option. When I click fullscreen the stage gets stretched to try and fit my screen, and what's not able to be filled has bars filled in. How can I change this?

    I'd like the video to be fullscreen, regardless of screen size. It's alright if the stage is enlarged, I just dont want those annoying bars on the side. Any tips would be greatly appreciated. Thanks!

  2. #2
    Junior Member
    Join Date
    May 2009
    Also, I'm using CS4 Flash, and I can use either Actionscript 2 or 3. Doesn't matter.

  3. #3
    Senior Member
    Join Date
    Mar 2011
    Riverside ish...
    embed it into a webpage...

    .movie {
    position: absolute;
    z-index: 0;
    height: 100%;
    width: 100%;
    left: 0px;
    top: 0px;

    <div class="movie">
    <embed src="movie.swf" width="100%" height="100%" align="top" scale="exactfit" wmode="opaque"></embed></div>

    I dont know if this is what you are looking for, what I assume when you say fullscreen you are hitting your maximize button and so its just scaling the swf player not the swf itself...
    Last edited by YBAB; 03-30-2011 at 01:17 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center