ActionScript 3.0 :: Flash Fullscreen Video - Alternating Controls

Nov 11, 2010

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] .....

View 4 Replies


Similar Posts:


Actionscript 3 :: Get Video Controls To Show Up In Fullscreen Video Flash?

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

ActionScript 2.0 :: Fullscreen Video But Not Zoom Controls?

Jun 30, 2008

I am creating a full screen FLV player and I am using the

Stage["fullScreenSourceRect"] = new Rectangle();

method. The problem is, when I go to fullscreen my video controls are zoomed in as well making them a bit pixelated. I have seen some players like the one on

[URL]

where they achieve full screen video and still keep the controls the same size.

View 3 Replies

ActionScript 3.0 :: When In FullScreen Display Video Controls At The Bottom Of The Screen?

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

ActionScript 3.0 :: Making Video Fullscreen Without Scaling Interface Controls?

Oct 21, 2011

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.

View 3 Replies

ActionScript 3.0 :: Making Video Fullscreen Without Scaling Interface Controls

Oct 21, 2011

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.

View 3 Replies

Professional :: Video Plays In .SWF But Flash Template Video Controls Don't Show Up

Sep 9, 2010

I'm porting in an .flv to Flash for the first time. I created the .flv from an .MP4 using Media Encoder CS5, and then opened a new Actionscript 3 .fla in Flash Professional CS5, clicked File > Import > Import Video. Then selected 'Load external video with playback component'. Everything seems to have imported fine, but when I publish the SWF and import it via Dreamweaver CS5 and preview the page, the video is there, but the controls are not. There's just a white box where the controls should be. Also, the video is out of sync with the audio, which I believe is a problem with Media Encoder, not Flash.
 
Here are some links:
 
The page that I'm working on (video at the bottom of the page)
 
The .FLA 
The .FLV 
The .SWF

View 2 Replies

Actionscript 2.0 :: FLV FullScreen Controls?

Apr 3, 2008

- i managed to get full screen to work after i click the button for fullscreen - now what i need are the hovering controls like when you go to fullscreen in YouTube player, at the bottom you see the playback controls and when you exit it just gets back to normal player layout.I'm using ActionScript 2.0 for my player.how to get those controls up there.

View 1 Replies

ActionScript 3.0 :: Custom Fullscreen Controls On Flvplayback?

Jan 16, 2011

I have an stage on wich I have an flvplayback, custom controls to manage the flvplayback and some other infos bellow this controls.when I enter fullscreen with the fullScreenTakeOver set to true all the flash file goes to fullscreen, but I only want that flvplayback and the custom controls to manage go to fullscreen, not all the info below them.Is there a way to select what elements go to fullscreen and what elements not?I try to modify an skin of the flash predefined, but I do not find the way to add textfields to this skins and access dinamically to them from the file that has the flvplayback control.

View 1 Replies

ActionScript 3.0 :: Fullscreen Button On The Playback Component, Which Will Allow The User To Toggle The Video Fullscreen?

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

ActionScript 3.0 :: Position Controls (casing) While In FullScreen At The Bottom Of The Screen

Sep 24, 2010

I need to be able to position the controls at the very bottom of the screen and have the controls stretch from left to right - anyone know the code to acheive this?

View 9 Replies

Professional :: Hide Controls Flash Video (flv)?

Jun 17, 2009

Is there a way to hide the controls on a flash video (flv) until the user scrolls over the video? So the page opens, the video starts playing (still no controls visable) and then when a user scrolls over the video, you then see the controls for the first time. I have searched high and low.

View 7 Replies

Actionscript 3.0 :: 3.0 Flash Video Player Controls?

Jul 14, 2010

I followed a tutorial on youtube on how to make a custom flash player but the guy never uploaded continuing videos. Here's the link to the video: [URL]...So all I have now is a 3.0 Action Script file with a layer that has this code in it:

//Vars
var video:Video;
var netCon:NetConnection;
var stream:NetStream;

[Code]...

View 3 Replies

Flash :: Video Skin Controls Not Appearing On Webpage?

Apr 4, 2007

I have a puzzle. I have some test movie clips that areoperated (played) by pressing a thumbnail. All works ok in theresultinmg html and flash file that is produced, but when I importthe flash movi into DW, the controls disappear, but the movieplays...if you look at the link below you can see the flash moviecontrols in operation OK[URL](press thumbnail 2 to play the test movie)

View 4 Replies

Professional :: What Controls Width In Streaming Flash Video

Aug 12, 2010

I need to access and stream flash video stored on a US server. I do so from one of three PCs - all running Windows 7, all with same updates and same version of Flash. Two of them show a given video fine. The third runs the same video but it is clearly truncated on the right and bottom - that is, only part (top left two thirds?) of the video is visible. And two show timecode and the third...doesn't (or its hidden by the truncation). But how can this be? And more importantly, what can I do to make the third PC play streaming video correctly?

View 1 Replies

ActionScript 2.0 :: Play Streaming Video In Flash With Controls?

Sep 26, 2009

How can I streem a video into flash and have the user be able to pause play stop and ff and RW? I can play a streeming video now but I can't get it to respond to controlls.

Here is how I'm importing it.

url = "http://www.hotflashtoons.com/video/SIIDUnratedTrailer.flv";
// initialize net connection and stream
var netConn:NetConnection = new NetConnection();
netConn.connect(null);

[Code].....

View 9 Replies

Flash 8 :: IDE - Add Video Player Controls To Externally Loaded SWF?

Nov 1, 2010

I'm have a flash movie where I let the viewer push a button to load an external SWF-which in itself is a video I converted to SWF. Once it loads via an empty movie clip into the main flash movie how can I add video player controls such as volume on the lower part of the stage of the main movie to control the externally loaded SWF?

View 1 Replies

Flash :: Akamai - Controls For Controlling A Video Created With Swfobject?

Apr 4, 2011

Is there a standard set of JavaScript controls for controlling a flash video created with swfobject?

I'm using Akamai Multi Player and I'm trying to find a JS control to seek the video when it loads.

View 2 Replies

ActionScript 3.0 :: Video Player With XML ComboBox Adding Video Controls?

Jan 2, 2011

I have a video player that plays videos loaded via XML and selected using a combbox. I just got the play and pause buttons to work. What I'm attempting to do now is be able to hit next or previous buttons and select the next or pevious video from the XML file, and update the displayed/selected file in the combobox, my thought was to somehow set the previous/next buttons to directly manipulate the combobox, but nothing I've tried so far has worked.

ActionScript Code:
import fl.data.DataProvider;
var nc:NetConnection = new NetConnection();
nc.connect(null);

[code]....

View 2 Replies

ActionScript 3.0 :: Fullscreen Video From Fullscreen Air App?

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

Actionscript 3 :: Posterframe On Fullscreen Flash Video?

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

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){

[code]....

View 1 Replies

Android :: Open Flash Video Stream On Fullscreen?

Feb 3, 2011

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

View 1 Replies

Osx :: Make Flash Video Stay In Fullscreen On Dual Monitor Setup?

Oct 3, 2010

Cant figure this out, got it to work in firefox a while ago but after upgrading to mac and chrome, I had no luck finding an solution.

View 1 Replies

ActionScript 3.0 :: Resize Flash Overlay Plugin To Fullscreen In Video Player?

Jul 8, 2010

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.

View 3 Replies

Add Controls To Swf Video?

Jun 4, 2009

I have lots of .swf video files from the past years, and recently have been using the flash video encoder in cs3 to create .flv that adds video controls.  I was wondering if there was a way to add video controls like slider, stop, pause, volume, etc.. to .swf video files.  I have searched for a .swf converter to .flv format but even though all the marketing says it can do it, none of the ones I have tried can do it.

View 1 Replies

AS3 :: CS3 / CS5 Fullscreen Video Window Revert At Video End?

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

ActionScript 2.0 :: LoadMovie On Alternating Levels?

Mar 1, 2008

Basically I have several external swfs I am loading into one swf. For the navigation purposes, I need to load these swfs onto levels. There will be two at a time and I can't find script to load these swfs on two specified levels. I need to check if level 1 is occupied, and if it is, load on level 2. If level 2 is occupied, I need to load on level 1.

View 4 Replies

Published App Won't Show Video Controls

Oct 2, 2009

I'm including a video with it's controls into a frame in flash.When I try it and publish it as SWF the control bar of the video shows but when I publish it as a .app for mac or a .exe for windows and run itthe video shows but not the controls

I'm using the FLVPlayBack component to show the video

View 1 Replies

Professional :: Add Controls To Webpage Video?

Mar 5, 2011

I'm new to Flash and I'm pretty sure this a dumb question that has been asked many times - but go easy on me as I have searched and searched through and just can't find the answer.

I've created my first animation using a set of digital Jpeg photos and I've figured out the code for inserting this into my web page. It works perfectly and I'm very impressed with the quality of the animation and how small the file is. Now I want to add a simple control bar underneath with Stop, Play, Rewind - the usual stuff you get on YouTube, but I can't for the life of me figure out how to do it.

View 15 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved