5/31/2010 1:23:28 AM
Title:
in flash application (exe) video in fullscreen mode conflict with application fullscreen
i have flash application run in fullscreen mode, and it contains FLVplayback, i wrote this code
fscommand("fullscreen","true");
video.fullScreenTakeOver=false;
the problem is:
i can't make the video play in fullscreen mode, because the fullscreen button of the video style control with stage not video
any help me please as soon as possible
5/31/2010 6:08:47 AM
you can switch your video by calling the following code
stage.fullScreenSourceRect = new Rectangle(yourVideo.x, yourVideo.y, yourVideo.width, yourVideo.height);
stage.displayState = StageDisplayState.FULL_SCREEN;
Inder
Points: 2880
Posts:0
5/31/2010 6:15:00 AM
you can use the following to switch between fullscreen and normal mode
stage.displayState = StageDisplayState.FULL_SCREEN
stage.displayState = StageDisplayState.NORMAL
Also you need to add a new parameter in flash embed tag and object tag
<param name="allowFullScreen" value="true" />
allowFullScreen="true"