Center Video At FullScreen With NoScale
Jul 23, 2009
I'm trying to center my FLVPlayback video programmatically in AS3 but I'm having a hard time with it.[code]This code isn't working, does anyone have any ideas how to get this to work?
View 4 Replies
Similar Posts:
Mar 22, 2008
I working on a projector presentation in flash where I would like to run it in fullscreen. I use:
fscommand("fullscreen","true")
In the first frame, but it scales up my content so that it gets blurred. Is it possible to keep the stage width and height and still go fullscreen, so you just fill the space with stage color.
View 2 Replies
Apr 13, 2009
I like to make a fullscreen desktop application, with an FLV, using the FLV Playback component. However, I�d like there to be a Fullscreen button on the playback component, which will allow the user to toggle the video fullscreen.I cant, for the life of me, figure out how to do this with various settings�it should be easy! This is what I have--is there a better way to do things (without a custom movie player)? My inital settings are as follows:
Code:
stage.displayState = StageDisplayState.FULL_SCREEN;
theMovie.fullScreenTakeOver = false;
Then I have a function which should work--but my button won't appear in fullscreen--Can I apply this function to the built-in fullscreen button?:
Code:
function handleClick(event:MouseEvent):void
{
if ( !theMovie.fullScreenTakeOver )[code]....
View 9 Replies
Mar 2, 2012
how do I get a movie clip in the center of the stage, even if it moves to fullscreen
View 3 Replies
Feb 24, 2011
I'm hoping someone can help me with an issue I'm having.
I currently have an AIR Application that runs fullscreen.
At some point in the application, I am trying to get a video to play fullscreen as well.
[Code]...
View 3 Replies
Apr 30, 2010
how to do a fullscreen center Movie Cilp and Using ESC to go to normal screen like in this website? http:[url]......in the website of GPARIS member http:[url]...........Is there a tutorial for this?
View 1 Replies
Jan 12, 2009
In my CS4 flash document I have created a media gallery. It's a very simple interface that has mouse overs on thumbnail pictures, and then the larger picture will fadeUP in the center of the document. (With use of framelabels in the timeline).
In the same document, I want the user to be able to click on a video thumbnail, and that video plays back in the center of the document. Several questions: If the user clicks on the thumbnail "onrelease," the time line goes to the player, is it possible to stream this video from a youtube clip into my media player on the screen? If not and I have the document in a fl4 format, is there a simple process to have this video open? (I currently do not have the document in fl4 format).
View 0 Replies
Oct 17, 2010
I am building a flash video player with a custom UI, and admittedly I'm not sure exactly what I'm doing. I tried altering a skin, but that always comes out wonky due to whatever coding they use. So I'm altering single video components and putting them in the mc what I want them. It looks great, but the problem is that when video goes to full screen, all of the controls dissappear and I can't figure out how to make them show up. How do I get a movie clip to display on top of the video when it goes to full screen in flash AS3?
View 1 Replies
Feb 17, 2007
I came across this website http:[url]..... and is amazed by how the movieclips within the website do not autoscale to the browser whenever I resize the browser.the website is full screen but amazingly whenever the browser is resized, the movieclips within the website do not adjust according, instead they remain in their proportion.
View 2 Replies
Feb 19, 2011
I have an EXE flash project that has a menu with several videos in a little player. The player has a fullscreen button that makes the video go fullscreen. When the video is over, the widescreen video is frozen on the last frame and stays there. I need the player to automatically leave widescreen mode at the end of the video and go back to the regular menu player.
I'm using AS3 to call up the videos from the menu clicks, so I'm not scared to get into code using actionscript. I just don't know what to do.
View 1 Replies
Dec 10, 2009
I made a website this week for school about Pink (URL...).But when I enter fullscreen mode (not available online) the website completely vanishes and the only item I get to see is the video from the videos page.[code]
View 0 Replies
Oct 20, 2009
I'm using the normal
Code:
stage.displayState = StageDisplayState.FULL_SCREEN;
and it's just fullscreening the video part of my swf, not the entire swf.
View 6 Replies
Mar 25, 2010
i have a swf that is 900x500 that plays videos which are usually in the 500 range on width.is there an easy way to only have the video show on fullscreen?
View 1 Replies
Apr 27, 2009
I am just starting to use AS3 (grumble) and I have a video application that when it runs fullscreen it hides all other movie clips and objects on the stage. I would like to display certain objects/movie clips over the fullscreen video.
View 1 Replies
Mar 18, 2011
I need to know how it's possible to force playing a video in fullscreen mode?
Fullscreen is in most of the cases a function by ActionScript and is triggerd with a user action, like mouse click or double click.
The other way is to force playing a video in the mobile devices native player, like youtube does. I have no clue how this approach is realized.
View 1 Replies
Aug 23, 2009
I am working on a project with video player in it using Video object that plays flv files or FMS streams. The user can switch to fullscreen browser mode. And here is my problem - most of the time the aspect ratio of the video is different from the screen ratio so it looks stretched. I want to put black spaces left and right or top and bottom (depending on the current video and screen ratios) so that it looks normal without stretching.
View 0 Replies
Nov 1, 2010
I have an application that is showing an imported mp4 with the playback component. The video is to be displayed at a fixed size on the interface. When I launch the app it works perfect. However this is a projector file that I need to launch in fullscreen mode.
For fullscreen I am using
ActionScript Code:
import flash.display.StageDisplayState;
stage.displayState = StageDisplayState.FULL_SCREEN;
The app opens up in fullscreen however the video is taking up the entire screen now.. I need it to hold its place on the interface in fullscreen mode.
View 2 Replies
Nov 16, 2010
I have a problem with my video player that I'm working on. Currently, it's using a video screen component that is fed video via netStream. There is a fullscreen button that when clicked, sets the mode to true, and the player resizes. However, I'm having trouble where the control bar is concerned.
[Code]...
View 1 Replies
Dec 3, 2010
I would like to play a video in full screen. This is no problem when the swf resides embedded in a HTML document on itself, but..
..now it's loaded into another swf file called 'container.swf' (look at picture A).When the fullscreen function is called from within the swf file that contain the video and the fullscreen button, it goes to picture B. The other two swf files (swf1 and swf2) also goes into fullscreen. My desired result would be picture C.The video goes fullscreen within it's own swf file and does not "take over" the whole screen.
View 9 Replies
Jan 13, 2010
I just noticed it while working on a new project. When I enter fullscreen with fullscreeensourcerect in Internet Explorer and then exit again, there are leftovers (artifacts) from the video still visible where they should not be. I have attached a screenshot to demonstrate. The same flash movie works in firefox withouth these artifacts staying onscreen. Internet Explorer Version: 8.0.6001.18702Firefox Version: 3.5.7Nvidia Geforce GTX 260 (Driver version: 195.62)
flash code:
Code: Select allpackage
{
[code].....
View 3 Replies
Aug 4, 2009
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.
View 3 Replies
Mar 10, 2010
Im working on a presentation, created as a projector. It can run both in a window or in fullscreen. In the presentation I have videos playing filling the screens width. They are encoded in f4v format.
My problem is that when I switch to fullscreen the video scales down not up!! It becomes prop around 320x180, not a scales up 1280x720...
Some more info: The fullscreen is not the fullscreen command of FLVPlayer, but of the stage. Also Im am doing this completely in code.
I have set myVideo.fullScreenTakeOver = false; as I need the endframe of the video to match a still image.
View 1 Replies
Nov 23, 2009
I'm developing a kiosk-type projector file to play fullscreen & I'm encountering a strange problem. There's a video on the stage (720 x 480) and the stage is 1280 x 768. When the projector switches to fullscreen mode, the video expands to fill the height of the screen instead of the stage filling the screen. It's acting like the fullscreen mode is telling the video to play fullscreen.
View 6 Replies
Jul 29, 2010
What is the best way to switch a video to fullscreen from a button in AS3? Like the fullscreen button in FLVPlayback component - I'm aware the FullScreen tag needs to go into the HTML...
View 1 Replies
Sep 2, 2011
I have an executable with several embedded videos that plays fine but when I go Full Screen I lose the video. Anyone have this problem before? I am working in CS4 and using AS3.
View 9 Replies
Sep 26, 2011
I'm creating a site and am trying to achieve a full screen video background like this: [URL]. The idea is that it adapts to any screen resolution/size (is this called ScaleMode?) Which is the easiest way to get this effect - is there some sort of code or application to make it easier? Also, which video size should I pick so it shows correctly in all resolutions?
View 1 Replies
Apr 22, 2010
I'm having an issue with an FLV video playback in a scene. When I go to fullscreen mode, I seem to lose the ability to adjust the video object.
I am loading a new video via FLVPlayerback(). Since the video is being loaded into the scene on top of everything else, I use swapChildren() to put my button back on top of the video. When the video is done playing, I removeChild() the video.
This works in the normal playstate.
However, if I am in fullscreen mode, swapChildren() and removeChild both do not work. If I exit fullscreen mode, they are indeed working.
View 1 Replies
Jun 8, 2011
I have a flash video using the FLVPlayback 2.5 container with a customized skin, but nothing crazy I just copied and and changed some colors of an existing skin. I'm using FlashVars to pass in the video location and have a poster frame for a "play" button centered on the video. When you click the screen the poster goes away and comes back when the video ends or it is stopped. All of this works just fine unless it's in full screen. When it goes into fullscreen I can't see the poster frame. I don't know what's going on. When it comes back down to normal size the code is working.I've tried different ways of setting the x, y, width and height, but nothing works. Do I need to set the depth as well??
stage.addEventListener(FullScreenEvent.FULL_SCREEN, onFullscreen);
function onFullscreen(e:FullScreenEvent):void {
myTxt.txt_txt.text = e.fullScreen;
[code]...
View 1 Replies
Jun 30, 2009
I have a main flash file that loads in a second swf. In the second swf I have two movieclips that have been exported as "vidplayer" and "vidplayer2" in the linkage.Each of these movieclips contain an FLVplayback component which automatically plays when the movieclips load. The movieclips are triggered by a .as file which is linked to the document class of the second swf.Anyway, the problem I am having is that I would like to put in a fullscreen button into my main flash file. When I click the fullscreen button, the video that is playing takes over the whole screen and all of the other graphics disappear. I would like the whole flash file to become fullscreen and not just the video.
After searching for a while I found that you can put in: FLVplayback.fullScreenTakeOver = false; (where " FLVplayback" would be the instance name of the FLVplayback component that is playing the video), to stop the video from taking over.My problem is that since my FLVplayback component is part of another SWF that is loaded in, and it's also part of two different linked movieClips that are controlled by a .as file. I don't know what instance name to give my FLVplayback components.
View 0 Replies
Dec 1, 2009
This fullscreen code works properly if the stage is 400 x 400 px or smaller than .flv ( I tested it in both in html and swf ).
stage.addEventListener(Event.RESIZE, onF);
function onF (event:MouseEvent):void{
stage.displayState = StageDisplayState.FULL_SCREEN;
video.fullScreenTakeOver = true;
}
But the video is not going fullscreen if the stage is bigger than 400 x 400. I have to make a stage big in order to design the rest of my website.
Publish settings : exact fit, 100% width 100% height, flash only Allow Full Screen.
View 3 Replies