Flex :: Air App - Maximizing Window On Startup
Jul 23, 2010
In my air app I am maximizing the app window on creation complete event. Because of this I initially get a smaller window for a few milliseconds which is maximized after all UI elements are rendered. Is there any way I can specify that the initial size of the window should be maximal? Hard coding the size will not works as the screen sizes may change.
My current code is:
<s:WindowedApplication .... creationComplete="maximize();">
.
.
.
</mx:WindowedApplication>
View 1 Replies
Similar Posts:
May 11, 2005
I dont know exactly what to use for closing, maximizing, and minimizing my app/window. Should I make the whole thing one big movie clip or what?
View 2 Replies
Mar 27, 2012
I want to do in Adobe AIR (e.g. in ActionScript 3.0) what Facebook Messenger does when it's "maximized":
So imagine that I would be making a clone of this Facebook Messenger.
Is this possible in Adobe AIR?
I've tried to search in the AIR Reference with no success. And I don't even know what words to use in Google Search.
View 1 Replies
Sep 3, 2011
I am trying to create an AIR app that you can maximize and when you maximize all the components contained in the windowedApplication are scaled with the containing windowedApplication.
At the moment when you maximize the window all the components just stay the same size.
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:ATE="http://ns.adobe.com/ate/2009"
xmlns:ai="http://ns.adobe.com/ai/2009"
[Code].....
View 1 Replies
Mar 6, 2010
I have a map in a panel.When maximizing the panel,the map remain the smaller size.How to make the map growing synchronizely with the Panel? When maximizing the Panel,I added Resize Effects.How to apply Resize effects on the Map when the extent of the map changing? It seems to me that I should dispatch extentChange event when maximizing the panel.
View 1 Replies
Jun 27, 2006
My work file is attached herewith. If the movie played I explained my problem within the movie itself. I have a main movieclip-A and another movieclip-B sitting inside the main movieclip-A. I am trying to minimize/maximize movieclip-B using a button.
View 2 Replies
Feb 1, 2007
is there a method to force an .exe file to open on insert disc?
View 2 Replies
Jul 28, 2009
I have recently purchased CS4 Design Premium. The installation of all applications went fine (no error message) and all applications work perfect except Flash CS4. On startup I see shortly the stage screen and then the spinning beach ball. I tried uninstalling and reinstalling Flash only with no luck. I then uninstalled and reinstalled the complete Suite and still no luck. I work on a MacPro with 10.5.7. All other system requirements are fullfilled
View 3 Replies
Mar 1, 2010
I've created a form based flex app that populates some fields on startup. I'd like to validate that several text fields/labels are not null on startup. If any required fields are null I"ll throw and alert and close the app. There are only 4-5 fields that I need to check.
View 5 Replies
Sep 17, 2010
I'm wondering if this is possible.I have a local swf file.I'd like it to run automatically when the computer starts up.I would also like it to run full screen in the second monitor (graphics card is set to split the screen).
View 2 Replies
Mar 16, 2010
I'm trying to place a popup window (TitleWindow) in the middle of the main application window. how do i set the coordinates of my popup window to be of the main application window? i tried the localToGlobal function but with no luck, I just can't get the main window x and y.
View 3 Replies
Mar 13, 2011
So I have this AIR app coded in flex where I have several floating native windows and what I want is to detect when a user clicks outside of a window so that I can close it. (I don't want to use the PopupManager Class and would want to use the native windows).
My question is, is there a way to detect a click outside of a spark window, or alternativley is there some root container/object which is a parent to all the native windows so that a click inside any native window would bubble up to it? (Apparently the stage object of the root windowed application is not that object since each window is not a child of the stage for the root application).
View 1 Replies
Aug 12, 2011
How to access main window's variable from popup window.
I create a popup window in the main window, and pass variable "content" to this popup window as following [code]...
View 2 Replies
May 28, 2009
I am absolutely new to animation, I have created a movie for web page (using Flash 8)purpose:
--movie is the navigation menu for few of my website's pages.
--uses gotoAndPlay() to play a different animation (in same movie) for each web page.
Works, but late, movie plays from 1st to 61st frame (on 61st frame there is a code gotoAndPlay(1);) then it moves to actual frame number. In the 1st frame of my movie I insert this actionscript:
//code starts
import flash.external.ExternalInterface;
var surlPath;
[code]....
View 1 Replies
Jun 7, 2009
I've been running flash CS4 without error for a few months now, recently though whenever I close it I can't open it back up or I get this error:"The application Adobe Flash CS4 has unexpectedly quit.A crash report has been generated. To provide us with the best chance of fixing this problem, please select Continue to add a detailed description that includes the steps required to reproduce the crash.Recently I've been creating panel extensions and commands but deleting them from the directories to stop them loading didn't make any difference so i doubt it's that
View 9 Replies
Dec 22, 2009
Using Migration Assistant on my mac I transferred all my files to another computer. All the other Adobe programs are starting up no problem (Photoshop, Illustrator, etc.) When I try to start up Flash CS4, it just freezes with the message "copying first run files.." and then it crashes.
I don't have the install discs unfortunately (or I would try to re-install) because this was given to me by a company I work for remotely.
View 1 Replies
Feb 15, 2012
I want to read width and height from XML and then change the stage size based on these numbers in an EXE file of Flash. Imagine the main size of flash application is for example 1024 x786. I write a code which interact with user as touch screen and all startup data(like image file names and key coordination) come from an XML file. My problem is, for different PCs, I must set the size of application manually. Some touch screens have different ratios like 1280 * 400! The only way is set the stage size on startup the application butstage.staheWidthandstage.stageHeightdont change anything for me.
View 1 Replies
Jan 31, 2005
Why in the world won't this work? I have an empty MC on the stage and nothing else. On the empty MC (named "clip") I have:
Code:
onClipEvent(load){
this.loadMovie("myexternal.swf");
}
I've also tried _root.clip and yes I've quadruple checked instance names etc.
I've done this a hundred times and today it doesn't work?
View 3 Replies
Aug 11, 2009
I have a window, the window I programmatically change the size of the window depending on the current view it is displaying. The user cannot resize the window them self, but they can maximize the window.
The problem is if the view is changed while it is maximized, the maximized window size changes, I do not want this, I want it to only change the size of the non-maximized window.
My first thought is to just check if the window is maximized, and if so do not resize it...but the issue there is then when it is restored at a different view then when it was maximized it will not restore to the new size it should be.
View 2 Replies
Jan 9, 2009
My crash log is located here.My specs:quote:HP Pavilion dv6700 Notebook PCIntel Pentium Dual CPU T2330 1.6/1.6 GHz2 GB ramWindows Vista Home Premium SP1 32bit
View 7 Replies
Jul 13, 2011
Please my flash builder always crashes on startup. I have never used the application before because it always crashes.When i open it, it tries to start up but crashes and creates a log report in a file. The contents of this file is here[URL]..I didn't post it here because it was a bit too long. Please can anyone help me with whats going on and a possible solution?
View 2 Replies
Jan 31, 2005
Why in the world won't this work? I have an empty MC on the stage and nothing else. On the empty MC (named "clip") I have:
Code:
onClipEvent(load){
this.loadMovie("myexternal.swf");
}
I've also tried _root.clip and yes I've quadruple checked instance names etc.
View 3 Replies
Dec 12, 2010
I uploaded several intro slide shows onto a black background. They work fine, but take awhile to load (once viewed and go back-they load much quicker). While waiting to load, the stage area is white.
However when I created them, I did make sure the stage area was black.
what I might do to correct this? I just think it would look much better if everything was black until the show appears. The shows were created in Flash CS 4 (ActionScript 3.0), & the site was created in Dreamweaver CS 4.
Here is a link : [URL]
View 1 Replies
Jul 9, 2010
In Flex Air app, how do you open a window behind an active one?
I tried following and i can't seem to get it to work
[Code]...
With this code, I would expect window1 to open behind the main app window and, in 3 seconds, window2 would open behind window1. But if you execute this, window1 will open on top of the main window and window2 will open on top of window1 and the main app will retain focus. This seems like a bug in the Flex. If so is there any workaround for this problem?
View 2 Replies
Jun 30, 2011
I've just started working on a photo viewer type desktop AIR app with Flex. From the main window I can launch sub-windows, but in these sub-windows I can't seem to access the data I collected in the main window.
How can I access this data? Or, how can I send this data to the sub-window on creation? It doesn't need to be dynamically linked.
myMain.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[Code]....
I realize this might be a very easy question but I have searched the web, read and watched tutorials on random AIR subjects for a few days and couldn't find it. The risk of looking like a fool is worth it now, I want to get on with my first app!
View 1 Replies
Apr 19, 2006
Im trying to load a startup photo from a folder "images" with Scottys re-size gallery script. Is there a way to load the latest edited (uploaded) file, from this folder?
I can't post fla since its too big.
View 1 Replies
Mar 2, 2010
I need to attempt to download a 1kb text file on startup to check if there is a connection. This is because of the environment.
I realised:
PHP Code:
//...testLoader.addEventListener(IOErrorEvent.IO_ERROR,someErrorHandler)
or:
PHP Code:
try { //... testLoader.load(someURLRequest);}catch (e:Error){ someErrorHandler(); }
View 2 Replies
Jul 1, 2009
I am creating a project in Flex.
I have a main page from which i open a popup window on button click. i this pop up window to display my data which i am getting from my Http request in my response() as rawdata. I did broke this data into array.
I can display the data everytime i close the popup window and open it again. But to do it at run time -- is the problem. I did tried to call the request.sent() again and again in a for loop, and it works, but it tends to send alot of http request, that is not good i believe.
View 2 Replies
Jul 13, 2010
Can a Flax Air Window (NativeWindow) be modal? how?
View 2 Replies
Aug 25, 2011
I have an Flex 4 application (not AIR) which has some floating windows that act essentially as modeless dialogs.Right now, if two of these are open at once they function as siblings which are both active and whose controls are enabled for user interaction.I now need to maintain some notion of which one is "active" in the application. I don't want to /disable/ the non-active ones so as to blur them or prevent input on their controls.
I basically want to replicate basic OS window management: when you click or type into a control in one window it comes to the front and its title bar looks "active" and the others then look "inactive". Just like with a bunch of explorers in Windows.
View 2 Replies