ActionScript 3.0 :: Flash Fullscreen Content And Video?
Apr 27, 2011
I'm having some problems when using full screen on Flash.I have my stage content and also a FLV running I want the whole stage to go fullscreen when I hit the fullscreen button not only the flv.I've tried using the player fullscreen button and also created a button of my own but both of them turn only the movie in fullscreen!
here is the code I used for my button
Code:
// full screen
fullscreen_mc.addEventListener(MouseEvent.CLICK, fullScreen);
function fullScreen(event:MouseEvent):void {
if (fullscreen_mc.currentFrame == 1){
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 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 have spent days trying to figure out how to what on paper sounds really simple in flash.All i want is to be able to have a full flash page with a background that stretches fluently across. and for the windows or content inside that page to stay in proportion to that.the background loads fullscreen whatever resolution or dimensions its in and the content shrinks itself to fit.How can i get this ?i have been using action scriptStage.scaleMode = "noBorder";Stage.align = "TL";
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;
I would like to know if theres any way to open a webview with a stream flash video on fullscreen. Right now ive the link of the page. This page has some stuff and a flash video. So i wonder if it would be posible to open the webview only with the stream video. In fullscreen or focused on it, without seing anything else. I mean, only the webview with the video, or the whole page, but with the view focused and zoomed so that i could just see the video
Im working on a video player, and I have a button for full screen, which function properly, however, the controls that surround it are stretched with the video when full screen is active. So I've been attempting to find ways to detect when fullscreen is active to change the controls, but nothing seems to work. I've used both FullScreenEvent and Event.RESIZE. Everytime, it can detect when it goes full screen (aka a black box is placed on the stage) but when i go back to normal screen, it doesnt detect that activity (and the black box remains).
Please see code below. I am trying to do this all inside a class which i will have an instance of on the main stage. Code: import flash.display.* import flash.utils.Timer; import flash.events.TimerEvent; import flash.events.FullScreenEvent; import flash.display.SimpleButton; [Code] .....
It's with a Flash overlay that has been custom made to overlap a .flv video running in Flowplayer (open source video player at flowplayer.org) The Flash overlay is mostly transparent and just includes a few buttons over top the video to allow visitors to share, email and visit a related website. Take a look here for example:[URL]
The video and Flash buttons work fine when videos are played within Flowplayer at normal size in the browser, but when making it fullscreen using Flowplayer, the Flash overlay plugin does not resize to fullscreen with it. Then, when made regular size again it gets distorted, as you can see from the example.
I know it might involve creating a custom onResize() function, but I haven't figured this out yet with Flowplayer. There are vague instructions & snippets of code here under "Layout management" section on flowplayer . org/documentation/developer/writing-flash-plugins.html
Code: override public function onResize():void { /* set _childButton width according to my new width,
[Code]....
Interesting, but doesn't tell me much of what to do. I have a feeling it might involve making a new .as class in Flash and associating it to the custom buttons overlay .swf. On the right track?
get the overlay to resize using onResize and what code should be used would be very helpful. Others may be also trying to make custom overlay plugins too, and the fullscreen issue would be the next step to know after that and make it look more complete.
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.
hide the video content of the YouTube player (only statusbar (where is play button etc.) is visible) ? Or maybe do you know other (flash) players that have the ability to stream the YouTube movies ?
I am using a flipbook Flash/Actionscript 3.0 framework for a digital magazine[url]...
You can have videos embedded in the pages of the flipbook, but they can not be display fullscreen like Youtube videos, for example.
The flipbook can also import swf files to display as pages of the flipbook, so another way of embedding videos into a page of the flipbook would be to have the video player in the swf page you are embedding. This gives you more control over the style and the positioning of the video.
My question is: Is there a way with AS3.0 to togle the embedded video from normal predefined size to fullscreen and back?
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 have a swf inside a html page. If I open it with IE or FF and put it into full screen I can exit full screen with the ESC button.Now if i try this with my WinForms app and WebBrowser (or ShockWave Flash Object) it's not working??
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.
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.
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...