Flex :: Cannot Resize Player Back From Full Screen
Apr 15, 2010
The key event is not listened by my Flex app. Since it is really simple code, I cannot understand where the problem is...
init() {
stage.addEventListener(KeyboardEvent.KEY_DOWN, escHandler);
}
[Code]....
View 1 Replies
Similar Posts:
Mar 9, 2011
Ive imported an FLV into a Project. Some computers wont play the video back if the Flash Player is set to Full Screen. The screen goes black during Full Screen. If you set the player to regular, you can see the video playing (embedded into design) but once you set player to Full Screen the video plays on its own right at centre of screen. Im working on a Touch Screen Display that has the display set to Portrait mode. Im investigating if the display card is causing the problem.
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
Oct 16, 2009
We have this legacy code of a flash video player that functions well enough but still has some loose ends I need to tighten up. It can do the basic "switch to full screen and back to normal size" stunts, however with one exception.
On the first fresh load of the app, if I switch to full screen mode first, and then click to play the movie, the player would be in full screen, yet the movie itself would remain in it's original size.
//trigger
if (stage.displayState == StageDisplayState.NORMAL) {
stage.addEventListener('fullScreen', procFullScreen);
stage.scaleMode = StageScaleMode.NO_SCALE;
[Code]....
The VideoDisplay object even returns the expected width/height, but the movie just plays in it's original size. If I switch screen sizes during movie playback, then the movie size will shrink or stretch as it should.
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
Aug 20, 2011
I'm building a course to be hosted on my LMS and am unsuccessful at resizing my external SWF files in my player.
My Flash HTML output contains:
HTML Code:
<style>
html, body {margin-left:auto; margin-right:auto; height:100%; background-color: #ffffff;}
body {margin:0; padding:0; overflow:hidden;}
[Code]....
When I launch introduction.swf in preview and resize my window, it all works great, but in the HTML page is does not scale the external SWF.
I have messed with various different solutions with now change in results.
View 1 Replies
Jun 5, 2009
I have a problem with the resizing of the background. This is the code i use
bg_mc._x = 0;
bg_mc._y = 0;
bg_mc._width = Stage.width;
bg_mc._height = Stage.height;
How I can make this background to resize in full screen?
View 1 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
Jan 8, 2005
I've done some research but all I can find is help on how to fill the browser window.
how to resize the browser window to fill the full screen - that works in both Mac and PC?
I want to have an opening page in HTML and a button to open the .swf in full screen mode, centering the movie.
View 2 Replies
Jun 9, 2008
Dear members and experts in Kirupa forum, first I apologize because I only join this forum just to ask this question . I already come across some flash forum but can't get the answer to my problem. If somebody from this forum come up with a solution, I may have myself a frequently visited forum. It works, of course... but that's not the problem.The problem occurs when I want to have button scrBtn that can toggle between Full Screen view and normal view.It is obvious that the image that I loaded in the movie clip will get pixelated.That's why when I click the scrBtn button here is the script:
Code:
scrBtn.onRelease = function(){
if(Stage.displayState == "fullScreen"){
[code]....
View 14 Replies
Jun 8, 2009
I have a problem with the following actionsctipt. what this actionscript does is to position the "mc_content" in the middle of page all the time, even the user trying to resize the window. but my problem is when you open the window "mc_content" is not align in the middle, but after you resize the browser it will adjust in the middle of the page.
[Code]...
View 5 Replies
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
Jan 8, 2005
I've done some research but all I can find is help on how to fill the browser window.Does anyone know how to resize the browser window to fill the full screen - that works in both Mac and PC?I want to have an opening page in HTML and a button to open the .swf in full screen mode, centering the movie.
View 2 Replies
Nov 2, 2009
I have a swf that loads images from my server and resizes them to fit the 800x600 stage size. The original images are stored at 1024x768 max pixels. The user can press a button to go into fullscreen mode. What should I do to show the images at the best quality?
a) should I resize the loaded images to their max size (1024x768).
b) do I need to reload the entire image if it has been resized to 800x600 or is the original image still accessible and I can replace the 800x600 image with the original?
I am using AS2 and Flash 8 (but require users to have Flash Player 10 for fullscreen)
View 1 Replies
Jun 2, 2007
In ActionScript 2.0, I am trying to make my application resize to Full Screen mode (for Flash Player 9). It goes to full screen correctly, with the typical message "Press ESC to exit Full Screen mode".
What I need to do though is toggle a few elements' visibility on the stage.
So when I go to to Full screen mode I do
[Code]...
View 12 Replies
Feb 12, 2008
I've created a shelll that loads individual swf's one at a time, like a slide show.
The swf I'm having trouble with contains an animated movie clip that loads and plays an flv after it stops the animation.
In non full screen the whole mess plays fine.
In full screen my monitor goes black whenever the aforementioned swf tries to load the flv.
I'm getting this error message "ReferenceError: Error #1056: Cannot create property player on flash.display.Stage." when I run debug movie.
View 3 Replies
Oct 6, 2009
I have designed a Flash player Full screen function is not working in Mozilla Firefox (latest i think 3.5 ) full screen functionality works fine in other browsers ( ie Chrome , IE )
View 2 Replies
Jun 6, 2011
In a video player how this can be done, any tute / thread will be helpful Add right click option to go fullscreen Add double click option to go fullscreen
View 0 Replies
Sep 11, 2011
I've always been frustrated when I use the FLV video player component because it does not create the full-screen button For example, I have a 1280x720 F4V video. I want to use the FLV component to play it. But I want it to be on the stage half that size (640x360) and then give viewer option to click full screen to play it at 1280x720 (like YouTube does).So I'm basically stuck with the same old player controller that flash CS4 generates with no full screen capability.
View 6 Replies
Jun 9, 2010
for a project I need to develop a custom video player that needs to be able to go fullscreen, with custom control (play btn etc) overlay. The player will be used in a flash application (say as a window in the application.
Now I can figure out how to build a player from NetConnection, NetStream, Video etc, but I have no idea how you would implement the ability to go fullscreen and have the control overlay when in fullscreen as well.
Note that I cant tell the SWF to go full screen, it needs to be just the player.
View 2 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
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
May 30, 2011
I'm running Vista, 32 bit, and the latest version of Firefox. Any time I enlarge a video I'm watching on a website that uses the Flash Player, (youtube and others) to full screen, the computer eventually locks up. The video continues normally, but hitting escape does nothing to reduce the video back to the smaller size. I then hit CTRL ALT DEL and still nothing changes. The mouse can't move the cursor, hitting tab doesn't work, nothing.
I've tried uninstalling the Flash Player using the offline uninstaller, and reinstalling the latest Flash Player using the offline installer. I've gone to the Flash "about" page after each of those 2 actions to make sure that Flash is completely uninstalled, and reinstalled. I've also run CCleaner after uninstalling Flash Player just to make sure no registry entries, etc. remained.
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
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
Jan 15, 2010
I have an application that runs as a projector and is meant to run full screen in a kiosk. However, when the app is expanded to full screen it crashes and I get an error message of:
Faulting application test.exe, version 10.0.2.54, faulting module test.exe, version 10.0.2.54, fault address 0x0015187e. Event ID: 1000
If I run it in a web browser and try to go full screen the same thing happens. I've been all over the web and haven't found anything. Have uninstalled virus software thinking it might be a problem.
View 4 Replies
Dec 11, 2009
I have implemented chromeless player and so far the necessary controls such as play, pause, change video, mute, unmute all appear to work fine through JavaScript. I now need to send the chromeless player to "Full Screen" mode via JavaScript.
The JavaScript API player includes the full screen button but the chromeless player does NOT; infact; the chromeless player is not supposed to contain ANY button. I therefore need to set full screen mode via JavaScript but could not find any documented method for this.
[Code]...
View 3 Replies
Sep 16, 2011
I am using dreamweaver to embed a flash video, but cant find how to enable full screen.
[Code]...
View 1 Replies
Oct 6, 2011
I do not want to intertop between c# and AS3 or here. I want a full screen content player in C# which can host a Adobe Flash swf file. Is there an example? In full screen, right clicks would have custom behavior attached.I saw one in Visual c++. As per Chris's I checked the link. I tried adding these lines of code:
path = @"D:exampleFlexMainMenu.swf";
axShockwaveFlash1.LoadMovie(0, path);
axShockwaveFlash1.Play();
However, this swf was from Flash Builder and not Flash, hence there were other files like
framework_4.1.0.16076.swz rpc_4.1.0.16076.swz sparkskins_4.1.0.16076.swz
osmf_flex.4.0.0.13495.swz spark_4.1.0.16076.swz textLayout_1.1.0.604.swz
playerProductInstall.swf
View 1 Replies
Jul 18, 2008
I am using the FlvPlayback class to show movies. The full screen feature works since I am just calling the method defined in the class. My issue is whenever I make it full screen on a computer that has 2 monitors, the full screen flash player always ends up in the primary monitor. When that happens, I notice that the location where the flash player was in the other monitor is empty. How do I prevent this from happening and force the video player to remain in the monitor it was originally in?
View 7 Replies