ActionScript 3.0 :: Full Screen - Works But On Esc - The FLVPlayback Moves And Shrinks

Sep 22, 2009

I'm currently working on a project using FLVPlayback Components. I'm having this issue: The user launches the page, the Component loads fine. They play the video and click the "FullScreen" button. The video launches nicely in fullscreen by using this code

[Code]....

When the user hits esc. or exits fullscreen, they come back to the movie and see that it has shrunk and moved over a few pixels. It doesnt move the entire SWF, just the component. I assume it has something to do with the "else" line. Let me know if you can be of some assistance. Linked please find my FLA and a link to the page where the issue occurs.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Display A FLVPlayback Full Screen The Same As When Click On The Full Screen Component Button?

Sep 17, 2008

I wnat to display a FLVPlayback full screen the same as when you click on the Full Screen component button.

function goFullScreen():void {
vidPlayer.enterFullScreenDisplayState();
}
var vidPlayer:FLVPlayback;

[code]....

View 1 Replies

IDE :: FLVPlayback And Full Screen Scaling

Jun 30, 2009

I have a very simple flash file with the FLVPlayback Component on the stage. When I test it in the HTML page and I click the full-screen button, the video overflows the screen. It looks fine in normal mode - everything is scaled perfectly - but when it enlarges there's a black bar above the video and the bottom 1/3 falls off the screen.

View 1 Replies

ActionScript 2.0 :: Manually Resize FLVPlayback To Full Screen?

Apr 13, 2010

I am developing for a project which I inherited, coded in Actionscript 2 but deployed for Flash 9 (I personally use CS4). Since this is AS2, there is no fullScreen option in the FLVPlayback component. The system I am working with uses multiple layers and movieclips in order to display an interface. Sometimes a video will be displayed as well; the video is published in a standalone SWF, using the FLVPlayback component which loads the FLV file.I created a button/movieclip combination which I would like to use to resize the FLVPlayback component to "full screen". What I do is this:

- read the browser window's available height and width using javascript
- on the onRelease event for the button, resize the FLVPlayback to the maximum available size and place it at 0, 0.
- on the other onRelease event for the button, resize the FLVPlayback back to its original dimension and place it back to its original coordinates.

My problem is twofold: the FLVPlayback skin disappears when I resize the FLVPlayback and it seems that the FLVPlayback is taking more space because I cannot see some of the content of the FLV itself.Does anyone have any experience with manually resizing FLVPlayback components?

View 1 Replies

Professional :: FLVplayback Fullscreen Not Working When Stage Is In Full Screen Mode

Jun 8, 2011

I have an SWF file with a full-screen button working perfectly. I have added an FLVPlayback component, working correctly.
 
However, if the whole stage is in "Full Screen" mode, and I click on the button which loads the FLVPlayback component, the screen becomes black and the FLV doesn't even load.
 
I have tried addind the action movieHolder.fullScreenTakeOver = false;  but it did not help.
 
I m working with Flash CS5 and AS 3

View 14 Replies

ActionScript 3.0 :: Full Screen Works In Projector But Not Swf?

Jun 2, 2011

I have a project whose final deliverable is a Windows projector, but is also published as a swf so the client can proof it remotely online. The projector has the following line of code: stage.displayState = StageDisplayState.FULL_SCREEN; which, of course, makes the projector go to full screen automatically upon launching it. Unfortunately, it prevents the swf from playing at all (not sure why). So I am constantly commenting and uncommenting that line, since I usually publish to both swf and projector. Is there a way to rewrite that so that it works in the projector, but does not stop the swf from playing?

One idea I had was to do something like: "If (I am not a swf) {stage.displayState = StageDisplayState.FULL_SCREEN;}" Or alternately: "If (I am a projector) {stage.displayState = StageDisplayState.FULL_SCREEN;}" I'm not sure this is possible, or, if it is, what the as3 code would be for it.

View 3 Replies

Professional :: Text Input In Full Screen Works?

Jun 8, 2011

I made a trivia game app that lets me enter text into input fields when the app is fullscreen on my trivia laptop. When I try running the swf on my home laptop, sometimes it lets me enter text, sometimes it doesn't. I can't remember what I did on my trivia laptop to allow text entry under full screen. Can someone please shed some light on under what conditions Flash allows it?  I'm wondering if I set up the trivia laptop to run swfs using a debugging version of Flash or something, but I can't remember.  As far as I can tell, it's just using the Flash player.

View 7 Replies

Flash :: Full Screen Site Not Working On PC IE / Firefox Only (mac Works Fine)

Aug 6, 2009

My full screen flash site works oerfectly on Mac's (I have a mac). But on PC IE and Firefox the full screen flash site is cut off 1/4 of the way down the page (see screen shots in zip or test if you are on PC). live site [URL] The site uses a swf object (files included in the zip). I got this from a template on flashDen. my problem is that I only have my mac and can't test on PC IE / firefox. Not that I would know where to start. I think that the problem might be the swf object from [URL] but not sure? I need to sure my site to apply for jobs. But recruiters use PC and it is very embarrassing that they can only see 1/4 of the screen.

View 2 Replies

ActionScript 3.0 :: YouTube Chromeless Player Ceases To Enlarge Up To Full Screen Width In Full Screen Mode?

Jul 9, 2011

I tested my skin for YouTube Chromeless player, and seems it worked properly.All graphic elements, including TLFTextFields, are stored in external SWF, all the AS3 code - in loading SWF.I use ProLoader class to load SWF.However, when I tried to attach Player skin code to my Home Page code, I immediately bumped into two issues:

1. TLFTextFields ceased to display proper font;

2. YouTube Chromeless player ceased to enlarge up to Full Screen width in Full Screen mode, whereas all publishing settings were kept the same...

Although I managed to cope with TLFTextField bug by replacing instances with vars in loaded SWF, I have no the slightest idea what to do with those paddings in Full Screen mode... Neither removing all children on stage before loading YouTube Player skin, nor compulsory resetting player's size can't make it work...  

View 10 Replies

Flash - Close A Video From Full Screen Without Closing The Projector Full Screen?

Dec 10, 2010

I am creating a full screen projector with flash CS4. In the projector I have more videos, starting from an swf player-

The problem I encounter is this:

The projector starts correctly FULLSCREEN (using AS). The video plays 900x506 correctly. If I click on the player, to get the video full screen, it works. But when I press ESC, not only the video, but also the PROJECTOR looses full screen.

This is a bit annoying. Is there a way to apply the "back to normal size" only to the video? I do not want to prevent the app to be exited from full screen, it's not a problem if the user wants to exit the projector full screen. But not when the user exits the video from fullscreen mode.

How to target only the video?

View 1 Replies

Javascript :: Flex - Get Full Screen, Withsame Vertical And Horizontal Bar, As It Was Just Before Full Screen?

Aug 9, 2011

// for Full Screen stage.displayState = StageDisplayState.FULL_SCREEN;// for the normal screen stage.displayState = StageDisplayState.NORMAL;But this code does not fulfill my requirement. I need Vertical Scroll Bar, even I go to the FullScreen, but I don't find any Scroll with this code.Even I tried "window.open" of JavaScript with ExternalInterface, but I couldnot succeed.

View 2 Replies

ActionScript 3.0 :: Why Does Full Screen StageDisplayState, Makes Videos Full Screen?

Sep 29, 2011

i am creating an interactive application that will run independantly on a computer.I have implimented the full screen stage display state to a btn, and it works great!

-------code-----
import flash.display.StageDisplayState;
function goFullScreen():void
{

[code].....

however as soon as i add a video [i will be adding several] the video takes on the full screen property, and that is not the desired effect.I have used several diff ways to import the video but as soon as i call the full screen, it goes to an all black screen.

View 1 Replies

Actionscript 3 - Flash Stage Full Screen Mode, Movieclip Full Screen Mode?

Jul 28, 2011

i am wondering from this code, it makes the stage full screen, does it also makes the content of my movieclips scaled to full screen? i have tried this code and it does not seem to do that, how can i make my content to scale to fill a stage's full screen? i have a Movieclip containing a background with a class to make special effects on the background, i am having trouble making the background be "fullscreened" nicely with the stage.

View 1 Replies

Ensure The Swf Or Projector File Always Stays In Full Screen - Full Page Mode?

May 11, 2010

I am creating a flash-based Kiosk. When launched, it runs full page/full screen. However, if a user clicks a button that opens an external document, the swf or Flash Projector exe leaves full page mode and appears in the Flash Player. Is there any way to ensure the swf or projector file always stays in full screen - full page mode?

View 4 Replies

ActionScript 3.0 :: Get The Full Browser Width Before The User Goes For Full Screen

Apr 1, 2010

I am working in Flash CS3 and Actionscript 3.0 My application resizes according to browser width and height. If the user first resizes the browser and then loads the flash application, I could not get the full browser width untill the user goes for full screen. Is there any way around, to get the full browser width before the user goes for full screen.

View 1 Replies

Actionscript 3 :: Menu Bar Always Anchor The Bottom Of The Screen In Normal And Full Screen Mode

Dec 11, 2011

i am a beginner in action script / flex framework and i am facing a problem: i would like to have like a menu bar always anchor the bottom of the screen in normal and full screen mode... i try to set my component with bottom = "1" (so it should alway be at 1 pixel from the bottom of the stage ... But .. NO :)

[Code]....

View 1 Replies

ActionScript 3.0 :: Flash Full Screen With Dual Screen Monitor?

Jul 17, 2011

I have an AIR application that will go full screen when the application starts:
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE; The stage size is 2560 x 1024. And I have 2 moniters  (1280 x 1024 , 1280 x 1024) When I start the application, it shows my application on one of my moniter only. 
  
I need the left side of the stage to be shown in moniter 1 and right side of the stage to be shown in moniter 2. Currently, both sides are shown in moniter 1, and in moniter 2, it shows nothing but my default desktop. *The blue color line is a divider for better visual purpose. How do I make the left side of the stage to appear in moniter 1 and right side of the stage to appear in moniter 2 when the application starts in full screen mode?

View 10 Replies

ActionScript 2.0 :: Making Movie Full Screen, Not Just Flash Screen

Oct 27, 2009

Is a command for AS2 to make my movie file play fullscreen (stretch, fit to screen, anything).

goFullScreen(); is great but it leaves white bars left and right. What's odd is that I'm using Adobe Flash Media Live Encoder and it seems to display a perfect widescreen that I want as an input and output but once compiled in flash, it's more square leaving me with white bars left and right. The frame for the video in flash is also widescreen looking.

edit: I ended up stretching the width of the frame but if there is a better way through a command that would make my life easier so I don't have to adjust to every monitor that I run this on.

View 0 Replies

ActionScript 3.0 :: Use 100% Of Screen Width And Height When In Full Screen Mode?

Nov 5, 2010

I have a flash app that contains a lot of data. Part of it has a video. I want to have an option to expand just the video to full screen mode. I have this working now, however it scales it proportionally based on the size of my flash app. Instead of doing that, how can I expand it to be 100% of the screen width?

Code:
function goFullScreen(base):void
{
if (stage.displayState == StageDisplayState.NORMAL)

[Code]....

View 5 Replies

ActionScript 3.0 :: Make .flv Video Fit To Whole Screen (Not Full Screen Mode)

Jul 24, 2011

I've been trying to attempt to make it so a .flv video will fit to the entire screen of the browser window. ( I already have my .swf file fit to re-size to any browser on any computer. I just can't figure out how to make the video as well) And obviously an external video so the flash file wont take forever to load.The point is this is to be able to have the Video be the background. So I may put content (Links, information or whatever else) on top of the video.

View 2 Replies

ActionScript 2.0 :: Full Screen, Keep Scale Ratio, Center Screen?

Jan 20, 2009

[ X ] Problem solved I just came up with something i have some trouble to handle I've tried a couple of solution but none seems to work perfectly

What I'm trying to do is simple, get my flash to go full screen, but whatever resolution the user has, my flash must centers itself with the biggest proportion possible, and two movie clips goes right and left of it, as if they were borders.

I've been able to do this with a simple png, but i was not able with a movieclip where his dimension changes through time. ( i have a tween, so the mc gets really big even though just my stage is displayed)

View 1 Replies

IDE :: Entire Screen Darkening (graying Out) In Full Screen Mode?

Sep 9, 2009

I encountered on the building of my largest flash project to date. The project is a dvd-based presentation with audio, video and text that's xml driven.The project has been coming along nicely but recently a bug has popped up that I haven't been able to figure out. Here's what's going on:

There are three main sections in the swf, the intro screen, the main screen and the content screen. The swf is set to default to full-screen with the resizing and re-positioning of the elements built into a resize handler. Since each screen has different content, each screen has a different resize handler that is removed when transitioning to the next screen before the resize handler is applied for that screen.

For the first two screens, everything is working fine, but when you get to the content (third) screen (where the xml loads), the entire flash movie darkens, and nothing is clickable. This only occurs when the swf is in its default full-screen mode, if you escape full-screen the screen goes back to normal and the nav is clickable again. Also, if you've escaped full-screen mode before you reach the third screen, it remains normal and clickable.

I initially thought that it might be an issue with the event handler for the fullscreen, but the bug never appeared in previous versions with the same code. So I replaced the fla file with one that was not causing the bug and got a functioning swf out of it, even though it was including the same as3 files that the buggy file was including. I saved that file and sent it to the client, who has been successfully publishing from it without a problem. So I thought, problem solved, just a corrupt fla file. But now, any version of the swf that I publish has the problem, even ones that published fine earlier, and aren't using any of the new code that was being used when the problem started occurring. is it possible that my flash app has gotten corrupted or something? Has anyone ever experienced anything like this before?

View 4 Replies

ActionScript 3.0 :: Flash Error - Make A .swf File Go Into Full Screen Without Falling To A Black Screen When A Movie Is Played?

Feb 11, 2009

My question is what needs to be done in order to make a .swf file go into full screen without falling to a black screen when a movie is played? I have tried coding it, however I come up with the following error.

[Code]....

What should I do to fix this? This is not going to be an HTML file, however, so the initial thought of changing the publish settings does not seem to work this time.

View 9 Replies

ActionScript 2.0 :: Screen Size For Full Screen Flash?

Apr 24, 2006

I'm creating a flash site. I want the flash movie to fill the entire browser window. What size should I make the canvas, I've been experimenting with sizes and a canvas size of 750*370 fills my browser well on a resolution of 800*600

How do you accomodate different resolution settings? What's the most commonly used canvas size for this type of project.

View 2 Replies

ActionScript 3.0 :: How FlvPlayBack Scrubber Works

Jul 4, 2010

I need an example of how FlvPlayBack scrubber works ?? what is a scrubber and wats the purpose ? i need an example of a scrubber ?? i tried example code of adobe flash, but am getting an error.

View 1 Replies

ActionScript 3.0 :: Keep Mc In Same Position On Screen If Its Container Mc Moves?

Apr 21, 2009

I have a large movieclip that contains all the elements of my game - the level backgrounds, the player character, the non-player characters etc. The stage is only a quarter of its width and when the player character moves off the edge of the stage the whole game movieclip moves a quarter width to the left or right, depending on which side the player character has left the stage from.

Each of the quarters of this large game movieclip are considered levels of the game (so there are four levels, obviously) and what I want to know is how do i get an object that exists in one level to appear in exactly the same position on screen in the next level, when the player moves to that level?

View 4 Replies

ActionScript 3.0 :: Screen Scrolling As Character Moves To Edge

Sep 16, 2009

I am trying to make my screen scroll as my character moves to the edge of it, but when I get to the edge of the screen nothing happens, I think this could be something to do with my registration points but I'm not sure. I have added trace statements for debugging but no luck. I have included my Fla so you can see what I mean.
Here: [URL]

Here is the code I am using to try and make this happen
PHP Code:
// scroll the LBground if character gets past half way up or down the stage
function scrollLevel():void {
// Horizontal scrolling
var horizontalCentre:Number = stage.stageWidth / 2;
var horizontalPosition:Number = LBground.x + Mchar;
[Code] .....

View 2 Replies

ActionScript 3.0 :: Screen Going Blank On Full-screen?

Sep 17, 2010

I am having a strange problem. When I go to full-screen mode in Flash, everything goes blank. The sound added keeps on playing and everything is fine on coming back

View 1 Replies

ActionScript 3.0 :: Full Screen In Dual Screen?

Aug 14, 2009

I have a problem, I have two screens and I will like that when I push full screen the flash not go only one screen and put in full mode I will like that stay in the two screens. Half in one and half in the another.

View 3 Replies

ActionScript 3.0 :: Make Screen Into Full Screen?

Dec 19, 2010

Hi, I have got a game, have a set resolution of 1024x768. May i know how can i make my game display as full screen?

View 2 Replies







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