ActionScript 3.0 :: Video Is Scaling Down Not Up In Fullscreen
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.
Sites like The Daily Show (I can't post URLs since I'm a new user, but just go to their front page to see) are doing what I need to do. When you go fullscreen with their video, the bottom video controls and the top social media bar aren't scaled. They adjust themselves in width, but the text and button graphics remain the same size.Now, I've had success with a method where, when the FULLSCREEN event is invoked, I downsize my interface elements by a ratio equal to the difference between my SWF size and the screen size, essentially keeping the interface at a constant size in both modes. However, all text and graphics inside those elements are distorted or blurred when I do this.
Sites like [URL] are doing what I need to do. When you go fullscreen with their video, the bottom video controls and the top social media bar aren't scaled. They adjust themselves in width, but the text and button graphics remain the same size.
I've had success with a method where, when the FULLSCREEN event is invoked, I downsize my interface elements by a ratio equal to the difference between my SWF size and the screen size, essentially keeping the interface at a constant size in both modes. However, all text and graphics inside those elements are distorted or blurred when I do this. At [URL], the text looks exactly the same in both modes, and uses no anti-alias.
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:
I'm having a little trouble getting my swf file to fully scale in fullscreen mode. It doesn't look like the stage is scaling and my picture gets cut off. Attached is an image and the code also. It goes full screen at its native resolution fine but gets cut off when i try to scale.
I have flash ui built over the chromeless youtube player right now and I'm wondering if there is anyway to set certain sprites within the stage to not scale on fullscreen without having to do inverted scaling.
Edit: I use FlashDevelop as my IDE and building this purely in as3
I'm having a problem getting a cdrom interface to not scale in an AS3 Projector. The movie does have an embeded flv player, but it has an interface around that that is 830px wide by about 500 tall and that needs to be shown at its original size, but fullscreen. The movie plays fullscreen, using the following AS3 code:
in flash AS1,2 you just input this code Stage.scaleMode="noScale";
on a frame of the main stage to prevent scaling of movieclips on fullscreen.I tried the same thing in AS3 and its not working for me. so my question is how would i apply this in AS3?
So I am working on a full screen website, and background_mc I want to be centered and scaled 100% to the stage. But I also do not want the image to loose it's proportions. Here is my code so far, it is only seeming to center the movieclip:
i've got a main home page in flash coded in AS2 that first loads up 8 thumbnails when you click on one it goes into fullscreen mode and loads images dynamically side by side that you can pan through with your mouse.the problem is is that i am using the setBackground(); and it is not scaling the Loader components inside my movie clip correctly initially, it is scaling them down yet when i resize the window it scales them perfectly.Here is my AS to scale:
ActionScript Code: // this tells Flash NOT to allow the assets to be scaled Stage.scaleMode = "noScale";
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?
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.
I want a flv to fill the browser. I am using this code: Code: Select allStage.align = "TL"; Stage.scaleMode = "noScale"; Stage.showMenu = false; var timeline:MovieClip = this; var _minW:Number = 320; var _minH:Number = 240; [Code] .....
It works perfectly as written. It scale the movie on resize perfectly and retains the proportions of the video. It doesn't fill the browser completely though when the proportions arent correct(leaving bars or the background color on the sides or top and bottom). I want it to scale proportionately, but fill the browser, so effectively some of the movie will be cut off.
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.
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]
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?
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.
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?
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.
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.
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.
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.
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)
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.
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.
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...
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.