Skip to main content
May 13, 2012
Question

FLV's causing black screen when called...

  • May 13, 2012
  • 1 reply
  • 2191 views

Hello all,

I have a question about the Flash projector going full screen with external FLV files. I have a project that has a simple interface that calls up FLV videos using the flvPlayback component. The project will be used on a DVD so I will be using the projector to deliver the presentation. So far, it opens in window mode. I have applied the stage.scalemode function to prevent the stage from scaling. I would like the projector to go full screen so the projector doesn't open in random places on the screen, so I have implemented this code:

stage.displayState=StageDisplayState.FULL_SCREEN;

stage.scalemode=StageScaleMode.NO_SCALE;

This is working great. I have run into a problem with my FLV's because the projector is fullscreen, the screen just turns black which effectively kills the projector. I have learned that this may be caused by the FLV because it "takes over" the screen. A solution that has worked for others is:

FLVinstancename.fullScreenTakeOver=false; (the default is set to true).

I have included this on a blank layer where the particular FLV is located (each video is in a seperate scene). After including this script, the screen still goes black when the FLV is called for. I am not sure if I implemented this correctly as it seems to work for others. Is there a particular way to set the full screen take over to false or have I missed something?

Any help or comments is greatly appreciated. Thank you in advance.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
May 13, 2012

click your on-stage flvplayback component (to select it) and then check the properties panel.  what's the instance name of your component?

May 13, 2012

Hello, kglad.

Thank you for the response. The instance name of the FLV is prevu1. The actual script in the FLA is:

prevu1.fullScreenTakeOver=false;

I see what your getting at. Not having the right instance name match on the instance and script would cause the script not to function. I am not sure if renaming the instance would help (I have a seek() script associated with the FLV instance as well, it is button activated). The other thing to note is the FLV is inside a mask layer, I am not sure if that would make a difference.

kglad
Community Expert
Community Expert
May 14, 2012

if your seek script uses prevu1 and works, you're using the correct instance name assuming your flvplayback component is in only one keyframe.  is it?

also, remove your mask and test.  your mask may not be scaling/positioning correctly in fullscreen.