header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
osama
Points:0
Posts:0

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



1
Ronald
Points: 430
Posts:0
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;


2
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"


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 8+7 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions