Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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!
Copy link to clipboard
Copied
you're welcome.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now