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
Similar Posts:
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
May 29, 2009
I'm creating a flash presentation as a standalone Projector in full screen mode...
stage.scaleMode = "noScale";
stage.displayState = "fullScreen";
Problem is that I want to have small video players in this full screen Projector, but I DO NOT want the videos to display full screen. I want the videos to display at their preferred size. However, since the stage mode is full screen, the video automatically goes to full screen as well.How do I prevent this?
View 1 Replies
Mar 9, 2012
I have an issue with video. I have a full screen projector running Flash Player 10.1. I call the video with this code:
function fbtnclickj(e:MouseEvent):void{
var loadera = new Loader();
addChild(loadera);
loadera.load(new URLRequest("videos/video1a.swf"));
}
The videofile (video1a.swf) uses the Flash FLV Playback component 2.5 (size 320 x 240) and the source movie is external (video1a.flv). The videoloads and runs fine but enters in full screen despite I have configure the component to exactFit. Any way to make it stay to 320x240?
View 1 Replies
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
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
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
Jan 23, 2009
I'm currently trying to get an AS3 based flash file to run full screen in a windows projector, but no matter what I try codewise I cannot get the function correctly working,I've tried
fscommand("fullscreen","true");
which works, but I'm also told to avoid it, as it's buggy : - I also tried
fscommand("trapallkeys","true");
fscommand("fullscreen","true");
fscommand("showmenu","false");[code]....
but this doesn't work either, in swf or standalone .exe.
View 2 Replies
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
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
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
Nov 25, 2007
I have a Mac (intel) CS3 flash fla that I am exporting asprojector. The exported Mac projector and windows exe file will notopen full screen w/o the flashplayer's top toolbar. I have testedthe projector file on Mac 10.4 and Windows XP and all show theflashplayer's top tool bar. The only way to go full screen is tomanually select view/full screen in the player toolbar. I havetried the fscommand("fullscreen", "true"); toggle (true/false/true)workaround w/o any success. Any other workarounds I can try
View 4 Replies
Jan 30, 2009
Trying to create a Projector which contains FLV files andother on-screen elements.I have a button "myFSButton" on screen which switches theProjector to Full screen.However when the button is clicked the FLV file plays fullscreen rather than enlarging theentire stage to full screen. I'd like to have the entireinterface zoom to full when the button ispressed.I've tried a couple of different was to switch to fullscreen, but both have the same effect.
First using fscommands:
function gofull(event:MouseEvent):void
{
[code].....
View 3 Replies
Jul 2, 2009
I'm trying to create a Macintosh full screen projector. Easy, I know.WHY the hell doesn't it go full screen... I keep getting the title bar at the top of the projector.
Windows projector works perfectly.Some software called Zinc will provide me with the solution to this problem but it's expensive and the free version adds a watermark to the file, which is not good.
I'm using the standard... fscommand("fullscreen", "true");
I found a thread which suggests a workaround of adding
Frame 1 - fscommand("fullscreen", "true");
[code].....
View 2 Replies
Dec 7, 2009
I know there is a way to make the flash movie play full screen when publishing as a projector? The only method I know of is by adding code to an HTML page, but since this is a projector file that will be played on CD, I'm at loss.
Also, a tad unrelated to the ActionScript forum, but any info on what can be done for the projector file to autorun?
View 1 Replies
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
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 3 Replies
Sep 18, 2009
I am developping a as3 project for a kiosk that should run in full screen mode.I am using eclipse for the programming and Flash CS4 to prepare all the swf library assets.Once I publish the swf, I open it in the flash player and export the file as a projector file.
When I open the projector file it doesn't go full screen automatically.
Where can I set the project to go full screen?In the code?Or is there a preference setting for the projector file?Or another way to publish the projector file that will allow me to set the full screen mode?I remember using fscommand in as2 but that doesn't seem to work anymore.
View 3 Replies
May 14, 2009
I have a full screen .exe file and i want to use the escape button to close the window, at the moment it minimizes out of full screen and stays open. It doesn't need to be the escape button, i just want to close from full screen mode?
View 1 Replies
Dec 28, 2010
I am building an website and i want this website to have an video in the background. I have done the part where the flash is behind everything but i can not play this video in fullscreen. How can i play flv video on fullscreen with actionscript2.0. I dont need a button for this video to go fullscreen it simply needs to start on fullscreen.
View 2 Replies
Oct 4, 2011
Is there a generic way, preferably in Javascript but flash would be okay, I guess, to put an overlay on top of full-screen flash video without editing the video player?The particular use case is that I'd like to add growl-like notifications to some live streaming stuff without writing a lot of AS that ties me to a specific player. It seems that most of the players would not allow this anyway.
View 1 Replies
Jan 27, 2009
I am using an flvplayback component and an flvplaybackcaption component to create a video with captions read from an external xml file. The captions from the xml are read into a dynamic text box just below the video player. I am using a default Flash skin with full screen and caption icons.Upon entering full screen mode, the captions default to play at the bottom of the video, just above the video controls - which is just what I want.
However, if I turn off captions in full screen mode, and then exit full screen mode, I no longer have control of captions when not in full screen mode. IE, I cannot get captions back on after exiting full screen mode, and the caption button in the skin becomes useless. If I re-enter full screen mode and enable captions, then when I exit full-screen mode, I have my normal usage of captions.
View 1 Replies
May 13, 2009
How do i keep a embedded video from trying to display fullscreen? I have a flash movie [I'm using it as a presentation] and in it i have a video [embedded as FLVPlayback] when i run this in flash player in full screen mode [the flash player not the flash file]. when it gets to the frame with the video the video tries to run in fullscreen. I just want it to run with in the flash file that is running fullscreen.
View 2 Replies
Oct 8, 2009
I am working on a custom AS3 video player and I can't find any information on modifying the skin when the player enters full screen mode. Take YouTube for example... When you enter full screen mode, the menu controls maintain their size with the exception of the scrubber bar, which widens to fit the width of the screen.Currently my player controls scale (width and height) in full screen mode and become very large.
View 1 Replies
Mar 15, 2009
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.
View 1 Replies
Nov 2, 2011
I have a FLV playing in Flash with a full screen button. The problem is I want only the video to be shown full screen, not the entire stage. This is the code I'm using to make the video fullscreen.
function fullScreenUP(event:MouseEvent):void {
if (screenCheck == false) {
stage.displayState = StageDisplayState.FULL_SCREEN;
[Code].....
View 3 Replies
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
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
Mar 28, 2010
When I import a video to my Adobe Flash CS4 and choose to add a full screen button the full screen button does not work. I choose the "Load external video with playback component" import setting and import my flv. The volume, pause and play all work but not the full screen button. The full screen button works when I open the file in my flash player on my pc.
[code]...
View 2 Replies
Jan 8, 2010
In my flash site there is a video player that I want to have an option of switching into full-screen mode. It's the video player that needs to be set to full screen, not the whole stage. How would I go about this?
View 2 Replies