Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

full screen SWF wont fill whole screen

Guest
Feb 11, 2014 Feb 11, 2014

Flash CS6. I made an SWF that acts as a video playing menu. It used to go full screen until I started adding video elements to it. Im not sure if that has anything to do with it or not but now it opens in full screen but only fills its native size and the rest of the screen is filled with white. I am using the line:

stage.displayState = StageDisplayState.FULL_SCREEN;

It is on my first frame of my actions layer. I tried publishing a windows projector file as well and it does the same thing. I tried choosing Flash Only - Allow Full Screen for the HTML Wrapper too just to see if that would do anything and it didnt. Any ideas?

TOPICS
ActionScript
1.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 11, 2014 Feb 11, 2014

if that's a web based app, you must use a button click to trigger your fullscreen.

if you're using an flvplayback component assign its fullScreenTakeOver property to false.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 11, 2014 Feb 11, 2014

It is not a web based app. Its just a SWF that I want to burn to DVD to hand out a trade shows. It would then be opened and used as a menu to view videos and PDFs. Everything works with no errors but the full screen just wont. I dont know what you mean by flvplayback component but I dont have a line of code like that. Just the line I named. The videos code looks like this for each video:

FLVPlayer.visible = true;

    FLVPlayer.source = "Videos/2x2-final_13feb12.mp4";

    FLVPlayer.play();

I dont want the videos to go full screen I just want the SWF menu itself to. The videos play in the middle of the screen on the FLV and they are big enough.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 12, 2014 Feb 12, 2014

it looks like you're using an flvplayback component named FLVPlayer.  if were executing that fullscreen code correctly, the player would fill the screen and you would need to use:

FLVPlayer.fullScreenTakeOver=false;

to prevent that.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 12, 2014 Feb 12, 2014

Im sorry Im confused. I WANT the SWF to take over the screen and it used to until I started coding the movie player in. The FLV player is streaming the movies to the specified frames. Right now, the swf tries to go full screen but most of the screen is just white and the swf sits in the top left corner. Sorry if I am missing what you are saying. Maybe I am going about making this movie player wrong.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 12, 2014 Feb 12, 2014

wait I got it! I see what you mean. I used that line you gave me to keep the first actions frame of code from trying to force the video player into full screen (which was set to visible = false). Thats why it was screwing up. Thanks so much!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 12, 2014 Feb 12, 2014
LATEST

you're welcome.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines