ActionScript 3.0 :: Flash, Fullscreen Mode With Flv?
May 2, 2009
I need to play a flash website in full screen mode. That runs fine but then I have a link where we have an FLV video component. Whenever I browse to the link having the FLV video, the video goes fullscreen and fills the whole screen. I want the FLV so that it remains at the original video dimensions while I'm at Full Screen. Also I have another problem, if I let the video play in full screen, then when I press escape to get out of video it exits the full screen mode as well, how can I exit the video yet not exit full screen mode.
BTW, I've searched the internet and couldn't find any example of flash where we have flv video in full screen mode website.
I wanted to make a video player that has normal mode and fullscreen mode. The part I am having trouble understanding is how to handle the video once it gets set to fullscreen. Do I just use the current video or do I get a high quality version of the video to show during fullscreen mode? What would be best practice for this situation?
I need to know all methods to exit from a fullscreen mode of a flash application on a touchscreen (because i want that people exit with my custom button).
I know that with a traditional desktop, ESC of the keyboard and double click with left button of the mouse allow to exit from fullscreen (like youtube).
I have a custom cursor movieClip that changes depending on which side of the screen its on in my Flash application. This works fine, and even when the Flash test window is resized. However when going to fullscreen mode, it stops working. This code is called every frame, so shouldnt the stageWidth/stageHeight adjust accordingly when going to fullScreen mode?
A lot of users on one of our online apps complain about the app freezing in the fullscreen mode. I googled and came across many others complaining about this problem for other flash apps. Is it such a common problem, or are there known causes for it?
I need to check from javascript that given flash object is in fullscreen mode. I know that there is stage.displayState property but how to access it using GetVariable? Or maybe there is another way?
P.S. If your know how to do that from any other language it is ok too.
I'm trying to get my flash movie load and then to go into fullscreen mode. I'm using swfobject to load the swf and received a similar if not the same "Full screen mode is not allowed" error and did some reading and saw that apparently fullscreen needs to be initiated by a link or something.So my next step was to try and get Actionscript to call my javascript function when the movie was loaded. When that failed I tried putting in a link and still get the following error.
ActionScript Code: SecurityError: Error #2152: Full screen mode is not allowed. at flash.display::Stage/set_displayState()
You will notice that if you click on the white textarea, you can type in it and the keyCode is printed at the bottom. NOW, if you click on the black background it launches into fullscreen mode. In fullscreen mode, you CANNOT type in the text area. You can select the text, but you can't type. If you jump out of full screen mode then it works.What is going on here? Has anyone seen this before? Is it a Flash bug? Here's the code, FLA linked below:
PHP Code: // Imports copied from another file notall needed import flash.display.Sprite;
I'm trying to design a tablet flash applet. Does anyone know how to lock the orientation of the html embedded player player in landscape mode when it has been full screened? So far this is what I have in the html file:
HTML Code: <embed src="fullScreenTest.swf" allowFullScreen="true" fullScreenOnSelection = "true" />
That did wonders for maximing the flash window, but the moment I change orientation on the tablet the flash player also changed orientation. I know there is a way of locking the orientation to landscape mode in ActionScript 3, but is there an ActionScript 2 equivalent for it?
ive pretty much finished my website(link is below).but there is one issue i am having problems finding articles/solution to;the fullscreen stage function works on Internet explorer but firefox does not go fullscreen when the button is pressed. you can test it for yourself and youll see.
i'm trying to create a fullscreen slideshow with as3. My problem now is that if I click the fullscreen button too quick (--> before the image has been loaded and hasn't therefore been added to the stage) the screen just stays black and nothing is working anymore (the following images aren't loading either. Here is a demo of the problem: [URL] Here is the code:
i have a problem in flex fullscreen mode... that is my input box doesnot work in fullscreen mode.I could'nt able to type anything. and no keydown events are working.
I am working on a simple flash game of peanut catcher.Everything is working fine on my local computer and when i upload the game on server and play the game in normal mode than game is working fine but when i try to play in fullscreen mode the game crashes within 2-3 seconds(i mean game over) specially in firefox and IE.
I am working on a simple flash game of peanut catcher.Everything is working fine on my local computer and when i upload the game on server and play the game in normal mode than also game is working fine but when i try to play in fullscreen mode the game crashes within 2-3 seconds(i mean game over screen appears) specially in firefox and IE.
I've made a flash application using actionscript 3, I wanted this application size to be dynamic, To be able to embed it in any size and let it adjust itself accordingly. I managed to accomplish this, theres a problem though: The original width of the application is 700 pixels. I'm embedding the flash in a smaller size, (400 for example) going to full screen, and when I exit, the application sets itself back to being 700 pixels wide, and isn't adjusting itself to the 400px width of the actual embedding area..
I want to activate Flash Fullscreen mode when flash movie loads in the browser. Without activating it through button clicks. I tried for this using this type of code:
function goFullScreen() { Stage["displayState"] = "fullScreen"; } goFullScreen();
But it is not working this way, it is working when I put this type of code:
function goFullScreen() { Stage["displayState"] = "fullScreen";
Is there any way to debug fullscreen mode? I Ctrl+enter and I see the swf but the fullscreen button never works, like when I forgot the allowFullScreen param in my HTML code.Do I have to add some parameter to the CS5 properties?
I am loading an image in a back mc stretched to 100% of the stage width and height. Everything works fine except in fullscreenmode - the image does not resize to fit the new stage width and height. Here is the code:
PHP Code:
function loadFunc(What, Where) { var LoadingObject = new MovieClipLoader(); var NewObject = new Object(); NewObject.onLoadInit = function(mc:MovieClip) {
I'm encountering a strange problem with using Fullscreen mode. Basically I want the whole piece to become fullscreen, but because there is an flv active within the page the flv is taking over the fullscreen instead of the whole piece. Is there any way to stop it from doing this?I'm applying it like this:switch(FS_STATUS){ case false: stage.displayState = StageDisplayState.FULL_SCREEN; FS_STATUS = true; break; case true: stage.displayState = StageDisplayState.NORMAL; FS_STATUS = false; break; default: break; }If the flv is there it causes the flv to go fullscreen instead of the whole thing, frustrating!
I built a flash player using the flvplayback component. I have a menu that slides up when the user brings the mouse down over the bottom 130 pixels of the flvplayback component. I did this by creating a symbol that is a clear box called "trig" and using "trig.addEventListener(MouseEvent.MOUSE_MOVE, slidebar);" with "slidebar" being a function that calls the tween to make the menu appear. To go into fullscreen mode i use the command "video.enterFullScreenDisplayState();" which is called by a button. Is there any way to set it so that my sliding menu will still work in fullscreen mode?
In a related question is there anyway to to have the player start in fullscreen mode? I tried using video.enterFullScreenDisplayState(); as the first line of the action script file after the import commands, but that didn't seem to work.
I'm running a standalone EXE file via the Projector (or whatever it's called when you run a standalone EXE file made with Flash). It's NOT a web-based application. Every time I go to fullscreen mode, I just get a blank screen. All of the images are gone. However, if I press Esc to exit the full screen mode, then the pictures appear again. Is this a bug with Flash CS3? This is what I put in the first frame of my movie in the 'actions' section:
When I run the Flash program (as an exe file), the program goes fullscreen, but all of the elements on the stage disappear, leaving the screen blank. However, when I exit out of fullscreen mode (by pressing ESC) then everything looks like it's supposed to, with the images showing up and everything.
I have a main FLA into which at certain points flvs and swfs are loaded and played, my current problem is that I have a loaded flv(display) which is set to loop using this code:ActionScript Code:import fl.video.*;
// Video component instance name var flvControl:FLVPlayback = display; var flvSource:String = "mainscreen.flv";
I've started now working with the fullscreen mode (for a project in college), and I already made the code for a button to turn the stage on fullscreen.I'd like to know if anyone knows how to leave the fullscreen mode by button?I used this code for turning the fullscreen "on" on the opening button:[code]Then I tried turning the fscommand on the fullscreen "false" on the closing button, but it doesn't work.And btw, how can I make the "open" button appear if I use ESC?
coming from a print background i am trying to teach myself both as2 and as3 and am working on a couple of small projects for myself. I have run into the issue, where the user is in fullscreen mode cannot use keyboard commands to inout text. I would like to know how i could make an alert that appears when the user is in fullscreen mode only.
I'm running a standalone EXE file via the Projector (or whatever it's called when you run a standalone EXE file made with Flash). It's NOT a web-based application. Every time I go to fullscreen mode, I just get a blank screen. All of the images are gone. However, if I press Esc to exit the full screen mode, then the pictures appear again. Is this a bug with Flash CS3? [code]...
I have an as3 built osmf video player swf that we embed on a standard HTML page. When you touch the image the video automatically goes fullscreen and begins playing. Droid and Flash often break after changing back and forth between landscape and portrait while in fullscreen.(by break I mean freeze, where you can hear the video and use the controls, but everything is just a still frozen image, the redrawing fails).Can you lock the fullscreen orientation in html, javascript, or do you have to try to handle it inside the swf?