ActionScript 3.0 :: Full Screen Video In Fact Not Fullscreen
Nov 27, 2009
I am playing a video and created a button which displays video area in fullscreen but video doesn't cover whole screen area, there are blanks left and right of the video. I searched a bit and every flash player i found with full screen option in fact resizes the video the same way, it just doesn't cover whole area. Can video in full screen mode be resized to cover whole screen area without those blanks at sides?
View 5 Replies
Similar Posts:
Dec 10, 2010
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.
How to target only the video?
View 1 Replies
Mar 22, 2011
By all-fit I mean it should also work when embedded in an <iframe> whose size is limited.
Code like below won't work in that case:
main.media.videoWidth = event.stage.stageWidth;
main.media.videoHeight = event.stage.stageHeight
View 1 Replies
Feb 27, 2012
want create a full screen mode ,so i used this link But i cannot create a full screen mode.
<mx:Script>
<![CDATA[
import mx.effects.easing.*;
[code].....
View 2 Replies
Mar 20, 2010
i've drawn an ellipse sprite and added it to the display list of a container, which is added to the display list of the stage. to move the sprites with the keyboard arrows, it appears that my shiftModifier:Number variable is not working when the stage's display state is set to full screen. shiftModifier works as it should when the stage's display state is set to Normal.
stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyboardDown);
function onKeyboardDown(evt:KeyboardEvent):void
{
[code]....
View 2 Replies
Jun 8, 2011
I have an SWF file with a full-screen button working perfectly. I have added an FLVPlayback component, working correctly.
However, if the whole stage is in "Full Screen" mode, and I click on the button which loads the FLVPlayback component, the screen becomes black and the FLV doesn't even load.
I have tried addind the action movieHolder.fullScreenTakeOver = false; but it did not help.
I m working with Flash CS5 and AS 3
View 14 Replies
Jul 24, 2011
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.
View 2 Replies
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;
[Code].....
View 3 Replies
Jul 29, 2009
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.
View 8 Replies
Jul 9, 2011
I tested my skin for YouTube Chromeless player, and seems it worked properly.All graphic elements, including TLFTextFields, are stored in external SWF, all the AS3 code - in loading SWF.I use ProLoader class to load SWF.However, when I tried to attach Player skin code to my Home Page code, I immediately bumped into two issues:
1. TLFTextFields ceased to display proper font;
2. YouTube Chromeless player ceased to enlarge up to Full Screen width in Full Screen mode, whereas all publishing settings were kept the same...
Although I managed to cope with TLFTextField bug by replacing instances with vars in loaded SWF, I have no the slightest idea what to do with those paddings in Full Screen mode... Neither removing all children on stage before loading YouTube Player skin, nor compulsory resetting player's size can't make it work...
View 10 Replies
Sep 17, 2008
I wnat to display a FLVPlayback full screen the same as when you click on the Full Screen component button.
function goFullScreen():void {
vidPlayer.enterFullScreenDisplayState();
}
var vidPlayer:FLVPlayback;
[code]....
View 1 Replies
Aug 12, 2010
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].
View 3 Replies
Aug 9, 2011
// for Full Screen stage.displayState = StageDisplayState.FULL_SCREEN;// for the normal screen stage.displayState = StageDisplayState.NORMAL;But this code does not fulfill my requirement. I need Vertical Scroll Bar, even I go to the FullScreen, but I don't find any Scroll with this code.Even I tried "window.open" of JavaScript with ExternalInterface, but I couldnot succeed.
View 2 Replies
Nov 6, 2010
We all must have seen players, that when in full screen mode, the controls are set to perfectly align at the bottom of the screen, and the aspect ratio of the controls are perfect (no distortion) - any one know what code acheives this?It must be something to do with, being able to auto detect what screen size the user has, perhaps
View 10 Replies
Apr 5, 2010
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?
View 5 Replies
Nov 21, 2010
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?
View 6 Replies
Oct 25, 2010
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?
View 2 Replies
Dec 28, 2010
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.
View 2 Replies
Aug 1, 2011
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
View 2 Replies
Oct 4, 2011
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.
View 1 Replies
Jan 12, 2009
yet another n00b question, i've got a video to play on mouse click however i need it to play in full screen on the same click.
View 3 Replies
Aug 5, 2009
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.
import flash.system.fscommand;
fscommand("fullscreen", "true");
fscommand("allowscale", "false");
[code]....
View 0 Replies
Mar 23, 2010
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?
View 6 Replies
Jun 6, 2011
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
View 0 Replies
Apr 25, 2009
It is not a daylight discussion, but It is not the first time I got myself researching about that with no success at all. After all, what could be done when Full Screen Flash Video consumes up all the computer resources?
1) Is it a hardware/driver issue?
2) Is it about developing best-practices?
3) Is it some especific configuration on FLV exporters?
4) Is it a Flash Player limitation?
I have noticed some sites provide a really smooth full-screen video experience, but some others shows themselves up with a hell of video performance. My inclination, in a first approach, is towards thread 2. I have done some tests and all of them ended up in a clunky horrible show-time.
View 7 Replies
Oct 17, 2010
i am having this little problem of making my video fit to my browser width and height.and it needs to get itself be the last layer as well. is getNextHighestDepth() a wrong command here?how do i add swap depth or something?it needs to be a layer beneath my navigation and everything.
Code:
Stage.align = "TL";
Stage.scaleMode = "noScale";
[code]........
View 1 Replies
Jan 27, 2009
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.
View 1 Replies
May 13, 2009
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.
View 2 Replies
May 29, 2009
I'm creating a flash presentation as a standalone Projector in full screen mode...
stage.scaleMode = "noScale";
stage.displayState = "fullScreen";
Problem is that I want to have small video players in this full screen Projector, but I DO NOT want the videos to display full screen. I want the videos to display at their preferred size. However, since the stage mode is full screen, the video automatically goes to full screen as well.How do I prevent this?
View 1 Replies
Sep 11, 2011
I've always been frustrated when I use the FLV video player component because it does not create the full-screen button For example, I have a 1280x720 F4V video. I want to use the FLV component to play it. But I want it to be on the stage half that size (640x360) and then give viewer option to click full screen to play it at 1280x720 (like YouTube does).So I'm basically stuck with the same old player controller that flash CS4 generates with no full screen capability.
View 6 Replies