I have a problem I do not know how to correct it.
I want to work a full-screen in my project. But the video of the entire screen, and I want to show the entire video of the screen appears when you click the button on the control panel only video of a button.
Do not know the solution to the problem I want to help me. I USE this code in AS3:
stage.displayState = StageDisplayState.FULL_SCREEN;
stage.scaleMode = StageScaleMode.NO_SCALE;
Example:
https://drive.google.com/file/d/0B9BcYjTM8tPoMVVOQTJhUl84b3M/view?usp=sharing
Illustrative image:
Disable scaling
Turn off
fullScreenTakeOver
and enter to the full screen mode
Add
<param name="allowFullScreen" value="true" />
in your html embed code(2 times).Also remove this code
stage.displayState = StageDisplayState.FULL_SCREEN;
It will work after you click mouse only.
If you want fullscreen on other button use:
More info here.
To off FLVPlaybackComponent fullScreenTakeOver use
You can not do what you want using the full-screen button of the
FLVPlayback
component because it's related to the full-screen mode of the stage. Instead, you can use another button in your stage to activate the full-screen mode of your video player.Take this example where I used two buttons, 1st button to full-screen the whole animation and the 2nd one to full-screen the video when the animation is on full-screen display mode :
You can see this code working here ( I didn't use a skin for my video player ).
Of course, this is just an example to show you a manner to do what you are looking for, you have to improve and adapt it to your specific needs.
Hope that can help.