Flex Full Screen
Hi,
I was hoping to add some functionality to my application to enable the user to open it in full screen mode to free up some real estate. Getting to full screen mode is working fine but I was a bit surprised to see that all keyboard interaction (bar the esc function) is disable in full screen mode.
Out of curiosity, whats the rationale behind this? Is it a security issue? Can people be tricked into not being able to close full screen or something?
Is this configurable?
Its a bit annoying. Flex is for building RIA's, most of which would require user interaction. The keyboard is a major source of interaction. SUrely it would have been better to solve whatever problem requires this "hack" in favour of just disabling the functionality?!?!
Had a feeling it was that. Its a real shame in my opinion that instead of trying to overcome the issue in some way, the functioanlity is instead removed.
I had a bit of a look around and Silverlight for example has a "trusted" sites option. Surely something like that would be better than just an alomost blanket disabling of keyboard functionality. Like I said flex was built with user interaction in mind. Granted it runs on the flash player which also serves other purposes but...
Similar Messages
-
Flex Bug - Cannot display full screen video in a new window
My top level application consists of a login screen. When the user logs in successfully, the main application is closed using "this.close()" and a new Window() is opened. Inside the new window I've added the VideoPlayer component and specified a source.
When I run the application, everything worked as expected. However as soon as I click the full screen option on the VideoPlayer, Flex says:
Error: Error #3200: Cannot perform operation on closed window.
at flash.display::Stage/desktop_set_displayState()
at flash.display::Stage/set displayState()
at spark.components::VideoPlayer/fullScreenButton_clickHandler()[E:\dev\4.x\frameworks\projects\spark\src\spark\components\VideoPlayer.as:2233]
Inside the VideoPlayer.as file I've found what I think is the problem:
2204: // add as a popup
2205: PopUpManager.addPopUp(this, FlexGlobals.topLevelApplication as DisplayObject);
I commented out line 2205 and added a new line:
PopUpManager.addPopUp(this, parentApplication as DisplayObject);
However I get the same error and it still says the problem is at line 2233 as well, even though line 2233 now reads (due to the additional line I added above):
// TODO (rfrishbe): Should we make this FULL_SCREEN_INTERACTIVE if in AIR?
I cleaned my project via the Project menu but I still get the same error message. Any idea how I can resolve this problem?Doesn't anyone know?
-
FlashBuilder: Android/Flex Components+Full Screen Graphic possible?
I'm new to flash and interested in multi-platform graphical game development.
I've installed the Flash Builder Burrito test version and want to develop
a full screen Android graphical game with Android-Flex components
(like buttons etc.).
a)
Is it possible to have a full graphical screen and then overlay
Android-Flex components (buttons etc.) or ist only possible
to integrate a graphical screen within a Flex components app
so that Android/Flex components have to been outside the screen
and so no full graphical screen overlayed with Android/Flex
components is possible?
b)
If full graphical screen + Android/Flex components is possible:
which project type have I to choose:
File->New->Flex Project or File->New->ActionScript Mobile Project?
c)
Are the components I can choose to design my Flash-Android project
Android-like Flex components or are they real Android components?a) yes you can
b) Flex Mobile Project
c) Those are Flex components
If you are creating a game for an Android device I would rather do it with Actionscript. The Flex "Hero" Framework for Mobile is great, but in my opinion laid out for applications not for games. Still you can use parts of it, but if you only lists, buttons and that kind of component then I would rather write them up in AS3. -
Flex GUIs get a bad performance in normal screen mode when switched from full screen mode
Hi, there :
I encountered an odd situation and it is only happens on IE. Our project is a Flash 3D Game using Stage3D, and the Game's GUIs are created by CS6. When our game switch from the full screen( StageDisplayState.FULL_SCREEN_INTERACTIVE or StageDisplayState.FULL_SCREEN ) to normal screen ( StageDisplayState.NORMAL ), the performance of the Game GUIs decline to approximate a half FPS of full screen mode. But this condition is only happens on IE.
The Game is normal screen when it is initialized and the performance is as same as fullscreen. The performance degradation only happens after switching to normal screen mode from full screen mode.
p.s. : When the mouse is out of the view, the performance become better, from 20 fps up to 50 fps. But is still not as same as the original 60 fps.
p.s. 2 : My colleague told me the Flash Pro CS6 be used to built a single swc file per GUI, and then package all ui swc files to one swc file by Flex Framework SDK( the command is "compc" ). and the IE version = 9.0.8112.16421, the Flash Player Version = 11.6.602.155.
p.s. 3 : I have utilized Adobe Profiler Scout to observe the application, and I found that when it switches to normal screen mode from full screen mode, the time 「Waiting for GPU」 in 「Inactive」 grows up from 10ms to approximate 30ms which is triple. And in the 「Activity Sequence 」tab, it shows that the 「Waiting for GPU」 happens in the 「Copying to screen 」in 「DisplayObject List」.
ThanksThis does sound like a specific bug with IE. It would be great if you could file a bug report here (https://bugbase.adobe.com/), so we can get somebody to look into it.
btw, Flex is really not a good framework for games - it's really slow and heavyweight. If you're just wanting some lightweight UI elements, you might want to check out the Feathers framework, which is built on top of Starling: http://feathersui.com/ -
How to keep Flash in Full Screen on Dual Monitors
Hi,
I have a simple question. What should I do, to make my application (written in Flex SDK 4.5.1) staying in Full screen when I work in 2nd monitor - like Youtube and Euronews player (http://www.euronews.com/news/streaming-live/) ?
I don't know, how should I embed my application correct or add something to source code to make it work? My application is working correct in Full screen mode, I can use keyboard etc. but I'm not able to make this working - it's always going back to normal when it loose focus.
I have read many topics on this forum and internet, so I'm not interested in solutions like: http://flash-full-screen-multiple-monitor.clangen.com/en/ or .dll tricks like http://lifehacker.com/5419028/keep-flash-videos-in-full-screen-on-dual-monitors
If Youtube and Euronews is working with normal Flash (my current 11.9.900.117) there must be a way?
If someone can type code examples (like for a total dummy ), it will be great.
Thank you.You'd want to ask in the Flex forum or Flash Professional forum, since you CANNOT edit ANY Flash content with Flash Player.
-
Full Screen mode cancelled by launching PDF in Browser Window
There are quite a few of these posts on here. After Flash 9
the fullscreen fscommand no longer retains its fullscreen display
if you use getURL to launch a browser window to display either a
web page or a PDF. All of the previous posts have been "answered"
by the Flash Jester Jugglor Support Team, unashamedly plugging
JSTART and JUGGLOR to everyone raising this issue. When all we
really need is a response from Adobe on how we can fix this -
because it's obviously a BUG - and serves no real purpose.
I DON'T want to buy JUGGLOR, I tried it years ago and found
it buggy and unfathomable. All I want is to be able to keep my
fullscreen!
The cynic in me wonders whether FlashJester might be owned by
Adobe in some way, and by introducing this bug they're hoping to
raise additional revenue from selling all those copies of
JUGGLOR....?most likely the example you got has a flaw, I've created a
few flex apps, and the work fine on full screen using ie6 or ie7 or
firefox. Try debugging it so you'll figure out what's the
issue -
Problem in making air application in full screen on load
Hi all
I am new in flex developing. The problem I m facing in making a air application is that I want to make the application window in full screen view without the top toolbar.
The code i got is like:
<mx:Button label="fullscreen" click="stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;"/>it is working on click the button.
But I want this on starting the application. Without any user interface.
Thanks and RegardsExtensions require both native code and ActionScript code and are packed by the native extension compiler by Adobe to an ANE file. Check this tutorial: http://www.adobe.com/devnet/air/articles/building-ane-ios-android-pt1.html
After compiling the extension, you can put the extensionId into your <extensions> branch in the application.xml and add the .ane as an excluded library into your AS3 project. Then you can use the extension like any other external library (swc file).
It's also helpful to download and play around with extisting ANEs. There are some nice open source libraries here: https://github.com/freshplanet -
Full screen Air app from Flash
Hi,
Im using Flash CS3, and I´m trying to make my first AIR
applications.
I try to get a full screen view using:
stage.displayState =
StageDisplayState.FULL_SCREEN_INTERACTIVE;
but i only get a full screen window. Can´t get rid of
the window/menu-bar and the system bar on top (I´m using OSX).
I think I have to disable the systemChrome, but I can´t
figure out how to do this from Flash. I´ve seen som AIR
examples in javacript and flex, but nothing that works for me in
Flash.
Best regards
Peterquote:
Originally posted by:
petermaseide
I still also get the top system bar when i run the
application on OSX, but on WinXP i get a total full screen wiev. I
think there is a way to get rid of the OSX bar and obtain a real
full screen on a mac, but I can´t figure it out from the
documentation.
Has anyone found a way to remove the top menu in OS X? I am
converting a presentation tool created as a Flash executable to
AIR, so that the client can do more with the tool. The tool is used
to pitch clients and they want a true full screen experience on the
Mac. I have been trying for hours, scouring online and through help
files for the answer and cannot find it. Any help would be greatly
appreciated. -
Trusted Full Screen Interactive
I am working on a flex based app which frequently goes into Full Screen mode. The recent Full Screen Interactive mode is awesome. But is there a way to keep the 'Allow' popup from coming up every single time it goes to Full Screen?
ps. On a completely unrelated note, having access to the traceback in the release version of the player is pretty cool!The danger with interactive full-screen is the potential for creating convincing UI for phishing attacks. We tend to go conservative on that kind of stuff. We'd rather keep you safe and over-communicate than vice-versa.
It's an interesting feature suggestion though, and I can definitely see how it would be nice for a game you play all the time.
The best way to get traction on it would be to file a feature request (and get some votes) over at http://bugbase.adobe.com/
Thanks! -
I hope this is already a known issue.
I use Safari on Mac OS X. In my flex application, I have
problem with full-screen mode. When I get back to normal mode from
full-screen mode, and then resize or maximize safari window, the
screen displays abnormally. Most of components disappears, and
sometimes all of them. The same problem occurs with other video
players, including the one in youtube. I haven't tested it with
other browsers yet. I hope this problem is fixed in future release.
Thanks,Chaos,
Can you please file a bug in the bugbase (
http://bugs.adobe.com/flex)
and somebody can have a look at it. Also, be sure to mention which
version of OS X, Safari, and the Flash Player you're using. And if
you have any source code showing the problem, that definitely
helps.
I did a quick test and i was unable to repro the issue using
the latest Flex 3 SDK on XP/IE7, XP/Firefox, OSX/Safari and
OSX/Firefox (WIN 9,0,60,163 and MAC 9,0,60,161).
Peter -
Adobe AIR HTML Native Full Screen on Mac OS X
I am building an application in Adobe AIR for Mac in HTML/JavaScript.
What I want to do is when the application loads, make the application go into full-screen mode using the correct native full-screen found in OS X Lion and above.
e.g.
This is NOT using the displayState that Flash/Flex uses.
If the users decides to exit full screen mode they will see the app in a native window and can re-enter full screen mode using the icon you get in the top-right of a window.
I've found some information about an extension here: http://forums.adobe.com/thread/1209193
FREObject _EnableFullScreenMode(FREContext ctx, void* functionData, uint32_t argc, FREObject argv[])
//We should be okay to do this, even on 10.6, according to this post:
//http://www.cocoabuilder.com/archive/cocoa/311124-implementing-full-screen-for-10-7-but-app-should-also-run-on-10-6.html
//We can't use [NSApp mainWindow] - didn't appear to work
//This seems to though:
NSArray * allWindows = [NSApp windows];
if (allWindows.count > 0)
NSWindow *mainWindow = [allWindows objectAtIndex: 0];
NSWindowCollectionBehavior behavior = [mainWindow collectionBehavior];
behavior |= NSWindowCollectionBehaviorFullScreenPrimary;
[mainWindow setCollectionBehavior:behavior];
//TODO: Return a boolean instead depending on if we found the main window
return NULL;
That looks to do what I want! But after reading the Adobe AIR docs I can't get my head around where this code should live in my app directory and how I can call it on app load.
So in my index.html I have:
$(document).ready(function() { // Make window full-screen // CALL THE EXTENSION TO MAKE THE APPLICATION FULL_SCREEN // Make window active window.nativeWindow.activate(); // Make it visible window.nativeWindow.visible = true; });
The initialWindow is not visible by default using <visible>false</false> in the application descriptor XML file. And is made visible and active on the document ready as shown above.
The missing piece is loading in the extension and making the window go native full-screen.
To break this question up:
Where does the extension code go? E.g. do I create an extension file and put it in any particular location in the app directory?
How do I then load the extension into the application
Finally how do I then do the full-screen on document ready
What happens in OS X below Lion? How did full-screen work before it was introduced?
Hopefully I can get pointed in the right direction as the docs have totally baffled me and don't explain how the extension file is created (to me at least).Extensions require both native code and ActionScript code and are packed by the native extension compiler by Adobe to an ANE file. Check this tutorial: http://www.adobe.com/devnet/air/articles/building-ane-ios-android-pt1.html
After compiling the extension, you can put the extensionId into your <extensions> branch in the application.xml and add the .ane as an excluded library into your AS3 project. Then you can use the extension like any other external library (swc file).
It's also helpful to download and play around with extisting ANEs. There are some nice open source libraries here: https://github.com/freshplanet -
Full screen application on Mac Os Lion
Hi,
I am trying to develop a full screen application in AS3 / Air. This application must run on Mac Os X Lion plateform.
The fact is that when I launch the application on Lion , a start up window appear, then the application is going to full screen mode, but the launch window still appear in front of it.
This problem is for Lion only, as the application work well on Snow Leopard.
Here is the code i'am using :
Init of the app :
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
showStatusBar="false"
applicationComplete="init()"
width="100%" height="100%"
>
Public function to initiate full screen
public function init():void
// some stuff before, nothing to bother with full screen
this.stage.displayState = StageDisplayState.FULL_SCREEN; // fullscreen --
Any clue to bring the full screen in front or to reduce the launch window ?
regards,
TazHi there, i am usign Flex SDK 4.6 with Air 3.2 release candidate on OSX Lion 10.7.3 and i still have this problem too...
I did manage to find a workaround that work only with air 3.2 :
I wait for user mouse input before setting it to fullscreen and it works.
But i still can't make it go fullscreen automatically, it will be hidden by the app window.
One thing is weird, when i compile it in flash builder, i get this bug one time in 1000 compiles, but when it is installed as an air app on , it wont work at all.. unless i use the workaround stated earlier.
Thanks -
[svn:fx-trunk] 12816: VideoPlayer full screen bug fix
Revision: 12816
Revision: 12816
Author: [email protected]
Date: 2009-12-10 16:19:26 -0800 (Thu, 10 Dec 2009)
Log Message:
VideoPlayer full screen bug fix
SDK-24308 - Full-screen VideoPlayer running as AIR application on dual monitor setup has white background
If we are running on the AIR Player, then use the Screen bounds API instead.
QE notes: None
Doc notes: None
Bugs: SDK-24308
Reviewer: Ryan
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-24308
http://bugs.adobe.com/jira/browse/SDK-24308
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as -
Can not properly view cover flow in full screen in external display
My mac is the new Mac book pro 15.4 inch screen and I connect my mac pro to external display e.g. Samsung LCD monitor 24 inches.
The bug is that I can not PROPERLY view full screen (in external display) for some application e.g. iTunes, and Front Row.
- When I use iTunes, I can not properly view Cover Flow view in full screen (in the external display screen) except the case of mirror display.
- For Front Row, I can not view full screen in external display but only my mac display.
However, for other DVD or VDO players, I can view movie on external display in full screen and I still be able to do other works on my mac screen.
Please let me know how to solve it.found the likely issue! are you participating in youtube's html5 trial? go here and it will tell you if you are:
http://www.youtube.com/html5
exit the trial and it should fix the issue. it worked for me! -
I'm trying to find an outlet for the frustration I feel regarding the "upgrade" that replaced my full screen picture for my contact numbers to a tiny, little dot in the right hand corner. Are they going to give us an option to go back or did someone just need to justify their job by making changes??
Apple.com/feedback
Maybe you are looking for
-
Multiple Lines in a Single ALV Grid Cell
Is there any way to Display Multiple Lines in a Single ALV Grid Cell. This can be accomplished by Sorting the First 3 fields and Make it Looks like below displayed format. But My problem is while downloading also it should be Displayed in the same fo
-
How to get path to file variable with applescript
I've tried: `set file_path to path of myfile` but it's giving me error: `error "Finder got an error: Can't get path of document file ..."`
-
My songs on iTunes are not playing at all!
The bar at the top stays on 0:00, I can move the bar along, but nothing happens. No audio comes out, i've checked my sound, and i've tried hitting the Play button and tried many songs, but the problem applies for all songs. Help, any suggestions?
-
Nokia 7390 Keypads won't respond please Help!
Did anybody experienced keypad froze and would not respond at all except for the power button? this could happen with their new Nokia 7390?
-
Dear All, In the context of SAP ERP EhP releases, component SEM-BW releases are 6.02 - 6.05 (EhP2 - EhP5). It is clear. But what is "SEM-BW Release 634"? It is mentioned, for example in [SAP Note 1171344 - SEM-BCS in the context of SAP ERP 6.0 EHP|ht