Actionscript :: Flash Video: Only Make Video Full Screen, Not Entire Stage
Nov 2, 2011
I have a FLV playing in Flash with a full screen button. The problem is I want only the video to be shown full screen, not the entire stage. This is the code I'm using to make the video fullscreen.
function fullScreenUP(event:MouseEvent):void {
if (screenCheck == false) {
stage.displayState = StageDisplayState.FULL_SCREEN;
I've been trying to attempt to make it so a .flv video will fit to the entire screen of the browser window. ( I already have my .swf file fit to re-size to any browser on any computer. I just can't figure out how to make the video as well) And obviously an external video so the flash file wont take forever to load.The point is this is to be able to have the Video be the background. So I may put content (Links, information or whatever else) on top of the video.
I am creating a full screen projector with flash CS4. In the projector I have more videos, starting from an swf player-
The problem I encounter is this:
The projector starts correctly FULLSCREEN (using AS). The video plays 900x506 correctly. If I click on the player, to get the video full screen, it works. But when I press ESC, not only the video, but also the PROJECTOR looses full screen.
This is a bit annoying. Is there a way to apply the "back to normal size" only to the video? I do not want to prevent the app to be exited from full screen, it's not a problem if the user wants to exit the projector full screen. But not when the user exits the video from fullscreen mode.
Is there a proper way to make a video full screen? I tried manually doing it by resizing my video component upon click, but this results in a super stretched out, unnatural looking version of the video (vs resizing while playing the movie with VLC, or some other player). Is there a way to go about this that will full screen the video object with the same quality as doing it outside of the flash environment?
I am playing a flv video using the videoplayer class of flex. (all the properties of it are being set at runtime)I want to make the video fullscreen without clicking on the fullscreen button i.e. through programming.
I created simple swf. It contain more than one video (for example 4). FLVPlayback component used to play the video.It works fine. When i enter full screen of the first video it shows the fourth video. If i did continuously means the component size changed automatically.
Made a swf [URL] some viewers see and hear fine but others are having sound and size issues and I need some practical answers. SIZE: I make the Flash stage the size of the original screen capture video of 1024 x 768 and right now it is set to
I am building an website and i want this website to have an video in the background. I have done the part where the flash is behind everything but i can not play this video in fullscreen. How can i play flv video on fullscreen with actionscript2.0. I dont need a button for this video to go fullscreen it simply needs to start on fullscreen.
Is there a generic way, preferably in Javascript but flash would be okay, I guess, to put an overlay on top of full-screen flash video without editing the video player?The particular use case is that I'd like to add growl-like notifications to some live streaming stuff without writing a lot of AS that ties me to a specific player. It seems that most of the players would not allow this anyway.
I am using an flvplayback component and an flvplaybackcaption component to create a video with captions read from an external xml file. The captions from the xml are read into a dynamic text box just below the video player. I am using a default Flash skin with full screen and caption icons.Upon entering full screen mode, the captions default to play at the bottom of the video, just above the video controls - which is just what I want.
However, if I turn off captions in full screen mode, and then exit full screen mode, I no longer have control of captions when not in full screen mode. IE, I cannot get captions back on after exiting full screen mode, and the caption button in the skin becomes useless. If I re-enter full screen mode and enable captions, then when I exit full-screen mode, I have my normal usage of captions.
How do i keep a embedded video from trying to display fullscreen? I have a flash movie [I'm using it as a presentation] and in it i have a video [embedded as FLVPlayback] when i run this in flash player in full screen mode [the flash player not the flash file]. when it gets to the frame with the video the video tries to run in fullscreen. I just want it to run with in the flash file that is running fullscreen.
I am working on a custom AS3 video player and I can't find any information on modifying the skin when the player enters full screen mode. Take YouTube for example... When you enter full screen mode, the menu controls maintain their size with the exception of the scrubber bar, which widens to fit the width of the screen.Currently my player controls scale (width and height) in full screen mode and become very large.
I'm workin on a multimedia CD that I'm creating entirely with Flash. I have just ncorporated 2 video files. They play in the flash players fine but when I click on the Full Screen mode it blows the video up way to big to the point were I can only see a small section of it.
When I import a video to my Adobe Flash CS4 and choose to add a full screen button the full screen button does not work. I choose the "Load external video with playback component" import setting and import my flv. The volume, pause and play all work but not the full screen button. The full screen button works when I open the file in my flash player on my pc.
In my flash site there is a video player that I want to have an option of switching into full-screen mode. It's the video player that needs to be set to full screen, not the whole stage. How would I go about this?
I'm working on a Flash video slideshow (which you can preview here).
I would like to be able to make it so you can click a button (I've got one made in the doc already) that will make just the video on each "slide" go full screen, similar to how you can do so with other videos on sites like YouTube and others.
While what I've linked to above is just a template I'm messing with, I'd like to be able to have a video on the right, let's say, with text on the left, and then be able to click a button (perhaps under the video that says "full screen) and have the video that is there fill the whole window and play. And then, hitting escape would bring you back.
I've seen plenty of tutorials for making Flash go fullscreen, but nothing out there yet for just the FLV contained on the page go full screen.
We have this legacy code of a flash video player that functions well enough but still has some loose ends I need to tighten up. It can do the basic "switch to full screen and back to normal size" stunts, however with one exception.
On the first fresh load of the app, if I switch to full screen mode first, and then click to play the movie, the player would be in full screen, yet the movie itself would remain in it's original size.
The VideoDisplay object even returns the expected width/height, but the movie just plays in it's original size. If I switch screen sizes during movie playback, then the movie size will shrink or stretch as it should.
I am using the FlvPlayback class to show movies. The full screen feature works since I am just calling the method defined in the class. My issue is whenever I make it full screen on a computer that has 2 monitors, the full screen flash player always ends up in the primary monitor. When that happens, I notice that the location where the flash player was in the other monitor is empty. How do I prevent this from happening and force the video player to remain in the monitor it was originally in?
Ive imported an FLV into a Project. Some computers wont play the video back if the Flash Player is set to Full Screen. The screen goes black during Full Screen. If you set the player to regular, you can see the video playing (embedded into design) but once you set player to Full Screen the video plays on its own right at centre of screen. Im working on a Touch Screen Display that has the display set to Portrait mode. Im investigating if the display card is causing the problem.
I have uploaded a flv file to my website, and when I click the full screen button the video only scales to a about a fourth of the computer screen instead of the whole screen. Heres the link: [URL].
I encountered on the building of my largest flash project to date. The project is a dvd-based presentation with audio, video and text that's xml driven.The project has been coming along nicely but recently a bug has popped up that I haven't been able to figure out. Here's what's going on:
There are three main sections in the swf, the intro screen, the main screen and the content screen. The swf is set to default to full-screen with the resizing and re-positioning of the elements built into a resize handler. Since each screen has different content, each screen has a different resize handler that is removed when transitioning to the next screen before the resize handler is applied for that screen.
For the first two screens, everything is working fine, but when you get to the content (third) screen (where the xml loads), the entire flash movie darkens, and nothing is clickable. This only occurs when the swf is in its default full-screen mode, if you escape full-screen the screen goes back to normal and the nav is clickable again. Also, if you've escaped full-screen mode before you reach the third screen, it remains normal and clickable.
I initially thought that it might be an issue with the event handler for the fullscreen, but the bug never appeared in previous versions with the same code. So I replaced the fla file with one that was not causing the bug and got a functioning swf out of it, even though it was including the same as3 files that the buggy file was including. I saved that file and sent it to the client, who has been successfully publishing from it without a problem. So I thought, problem solved, just a corrupt fla file. But now, any version of the swf that I publish has the problem, even ones that published fine earlier, and aren't using any of the new code that was being used when the problem started occurring. is it possible that my flash app has gotten corrupted or something? Has anyone ever experienced anything like this before?
I am working on a presentation that will be shown in full screen mode. And have 2 things I need help with... well I'm sure I have more but right now I'm dealing with these two ; ) At one section I have a video that plays in the background. Right now it takes a bit to load, so there is just the color of the stage, then the video plays. Is there a way I can preload the video so it will be ready to play instantly? Or do I need to just put an image behind the video?
Secondly, when I test the presentation now, when ever it get to the section with the video, it breaks my file. Buttons don't work. I'll get error messages. How can I get this to stop happening?
Im working on a project in flash 8. It's a Cd rom presentation. I'm calling Multiple videos using XML for each video respectively. I want to know if there is any possibility to make my videos go full screen with a full screen button below it?
I am putting together a presentation for some in flash and will be exporting as an .exe file so they can play it fullscreen on there laptop. Its all working fine apart from one slide where I have included a video (FLV) which is loaded externally. Where I have the .exe in full screen mode the video automatically jumps to full screen mode and I cant see any of the the other images/text surrounding it. How do I go about not letting the video scaling to fullscreen and the rest staying as is?
How does one do fullscreen with VideoDisplay? I am using: stage.fullScreenSourceRect = new Rectangle(video.x, video.y, video.width, video.height); stage.scaleMode = StageScaleMode.NO_SCALE; stage.displayState = StageDisplayState.FULL_SCREEN;
But this does not allow me to go back to normal screen, not even i use: stage.displayState = StageDisplayState.NORMAL
I am doing a mock up of the difference between HD online video and normal video. I have the video mocked up within a fake webpage that I need to show within Flash Player full screen. The problem is as soon as the video loads, it goes fullscreen taking over the fake webpage etc. How can I stop the video taking over? I've tried both of the fullscreen methods below and whilst both work, neither stop the video from taking over.
In a video player how this can be done, any tute / thread will be helpful Add right click option to go fullscreen Add double click option to go fullscreen