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


Similar Posts:


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 :: 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 :: 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

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.

View 1 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 2.0 :: Making Just Video To Go Fullscreen In SWF?

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

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 :: Scaling Stage In Fullscreen?

Nov 19, 2009

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.

import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;

[code].....

View 2 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

AS3 :: Flash - Control Scaling Of Objects During Fullscreen?

Aug 12, 2011

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

View 1 Replies

ActionScript 3.0 :: FullScreen Scaling Issue In Projector?

Feb 16, 2009

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:

Code:
stop();
import fl.transitions.Tween;

[code]....

View 1 Replies

ActionScript 3.0 :: Stage To Prevent Scaling Of Movieclips On Fullscreen?

Mar 3, 2011

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?

View 8 Replies

Actionscript 2.0 :: Centering And Scaling Background Movie Clip Fullscreen?

Mar 26, 2010

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:

Code: Select allfscommand ("fullscreen", true);
Stage.scaleMode = "noScale";
Stage.align = "TL";

[code].....

View 1 Replies

ActionScript 3.0 :: Making Component That Uses Several Controls

Nov 21, 2010

I'm making some custom controls/components and I have an issue with package paths. I know what I want, but don't know how to do it. I'll try to illustrate with code:
PHP Code:
package {
public class Test extends Sprite {
public function Test() { // let's make some instances...
//I'll use full path names to avoid imports
var _one:ClassOne = new domain.controls.ClassOne();
[Code] .....

This is all ok, works and stuff. But as you can see code is awefull. And If I make import statements:
import domain.controls.Style;
import domain.controls.classTwo.Style;
I'd still have a mess in code, since I'd have to use full paths.

Now, I would like to simplify things, but keep it clear also. Lets say I'm making a component that uses several controls. I want to make package part of the assignment statement, like:
Code:
import domain.controls.*;
......
// inside my component
test1.style = Style.DEFAULT;
test2.style = classTwo.Style.RED;
But this is not working. I was thinking about making some kind of proxy class/variable/object named classTwo.

View 6 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 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 2.0 :: Fullscreen Gallery Of Images That Pan With Mouse - Not Scaling Correctly Initially?

Jan 3, 2011

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";

[code].....

View 9 Replies

IDE :: Create An Interface On Flash That Sends Information Over A Port Into Maya And Controls Certain Things In Maya?

May 18, 2009

I am trying to create an interface on flash that sends information over a port into Maya and controls certain things in Maya. I have been able to connect flash and maya to the same port but there is nothing that is telling Maya to listen to flash.

I have a slider ... This slider controls a value 1 to 5 ... I have written the script in flash to make that slider control the radius of a sphere in Maya (using mel scripting) ... so imagine I have two screens one with my flash interface with the slider and the other with maya and my sphere ... I am trying to make it so when I adjust the slider in flash .. the radius of the sphere in maya changes .. I am just missing that middle piece where one listens to the other ...

View 6 Replies

ActionScript 3.0 :: Making Interface - Add 'Screens' To My Current Class

Sep 3, 2011

I think I understand how to make a interface but the problem is im unsure as to how to add it to my existing code! To make a interface (as far as i know) You can create classes such as mainScreen, intructions and so on. Ok i get that, make the classes then add ther buttons from the library i these classes. But i followed a tutorial bu Emmanuel Feronto, and adapted that to the needs of my game.

So im unsure as how to add these 'Screens' to my current class, the I currently only have 1 class, Main which currently has 300 lines of code, and i dont know how to break it up into smaller classes. Thats the problem i think, The main is quite large, normally i have heard people keep this clear... But then say i made a bland main, and added the screens into that then how do i make the main that makes the game play on the play button?

View 14 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

Flash :: Expose A Method In An Interface Without Making It Public To All Classes?

Nov 7, 2009

I have a issue where I'm working with a particular interface for quite a lot of things. However, I have a particular method that I want to be available only to a particular group of classes (basically, an internal method). [code]...

View 4 Replies

ActionScript 2.0 :: Making A Mc Span 100% Width Without Scaling Or Distorting?

Dec 3, 2006

how you would go about making a movieclip span 100% width of the stage?? for example in a full browser flash site?

View 2 Replies

Actionscript 3 :: Fullscreen Not Making My Movie Clips All Over It

Oct 13, 2011

I've tried lots of ways to get my game running on fullscreen, it seems to be impossible. Here's what I've tried so far[code]...

View 3 Replies

ActionScript 2.0 :: Making A Fullscreen Button For Mmog?

Nov 11, 2009

I'm making a fullscreen button for my mmog. It has a draggable menu bar which can be moved up and down a certain height.But when i use fullscreen, the draggable menu cannot go down low enough.I even use Stage.width, but that doesnt do anything. It only supplies me with the width of the movie which was declared in the HTML file.

View 1 Replies

ActionScript 2.0 :: Making A Fullscreen Enabled Flv Player?

Oct 27, 2007

I got a problem while making a fullscreen enabled flv player.I developed a player which will got to fullscreen but the problem comes when the monitor is wide. There comes blanh space left and in the right side of the video.

my code is like this

function goFullScreen() {
Stage["displayState"] = "fullScreen";
flvplayer._width = 600;
flvplayer._height = 450;

[code].....

flvplayer is the movieclip which contain the video.

View 4 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







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