Skip to main content
Participant
December 14, 2009
Question

Flash CS3 projector EXE FLVPlayback problem when stage is fullScreen

  • December 14, 2009
  • 1 reply
  • 1287 views

Hi,

I am trying to play movies in a Flash Windows EXE projector using the FLVPlayback component.  The movies work fine until the stage goes to full-screen mode, either manually (using the full screen option in the menu bar of the EXE) OR if I use ActionScript to go full-screen.  (I don't want the movies themselves to go full-screen, just the application.  This is a kiosk application that needs to run as full-screen.)  In full-screen mode, the movie doesn't appear and I just get a blank screen, with everything else on the screen covered up.  I have seen postings of this problem elsewhere but cannot find anyone who has solved the problem.  Is this a bug in the Flash player?  I am already setting the fullScreenTakeOver property on the movie to false.  I don't know what else to try.  Below I've included a code snippet that reproduces the problem (with an FLV component with instance name "Video1_flv" on the stage in the same frame).  Any help would be GREATLY appreciated!!!

stage.displayState = StageDisplayState.FULL_SCREEN;
stage.scaleMode = StageScaleMode.NO_SCALE;

Video1_flv.fullScreenTakeOver = false;
Video1_flv.source = "GCMyearly.flv";
Video1_flv.scaleMode = "noScale";

Video1_flv.play();

This topic has been closed for replies.

1 reply

Participating Frequently
December 15, 2009

When you resize the screen you also need to "restate" the dimensions and position of the FLVPlayback component. Effectively they are being forgotten during the resize and you must use some special properties of the component, not the normal height, width, x and y.

Take a look at:

FLVPlayback.registrationHeight

FLVPlayback.registrationWidth

FLVPlayback.registrationX

FLVPlayback.registrationY