Flex :: Application Packaged In AIR Doesn't Show It's Window
Feb 1, 2010
I have a Flex application that builds and runs from Eclipse without any problems. I've created an Ant build based on the sample provided by Adobe and builds the application and packages it up into an AIR application. No errors occur during the build process and an AIR file is created.The problem is that when I install the AIR application and run it, there is no UI at all. The process is running because I can see it in Task Manager but I can't see the app window. I've commented out all of my initial code so just the first window should appear but still nothing.
View 1 Replies
Similar Posts:
May 2, 2011
I'm currently learning to make facebook apps with Flex from here:[URL] I've done step 6 in "Upload the application to your web server" section which is to upload the Flex files in bin-debug folder via FTP and run it, but the facebook apps just doesn't show on the webserver I use. here is where I uploaded the files:[URL]I can't locate the problem, is it because the webhosting or what?
View 2 Replies
Jul 1, 2011
I have an AIR app (ActionScript only) that I build with Flash Builder 4. In the application descriptor I define the icons like that:
<icon>
<image16x16>icon-16.png</image16x16>
<image32x32>icon-32.png</image32x32>
[Code]....
and when compiling I add those icons to the ressources to export.
After installation, the MyApplication.exe file displays my custom icon. However - the taskbar shows the normal AIR icon and if I open a Native Window then the top left icon also displays the normal AIR icon.
View 1 Replies
Mar 4, 2011
I am working on an Adobe AIR Application. The size on Application window is 800X600 and is contains border container and border container contains many controls. What I want is to if user re-sizes the application then that container should also be re-sized according to scale. i.e If user maximizes or minimizes the window then that border container should also be maximized or minimized respectively.
View 3 Replies
Jan 18, 2012
I can write to db when running in IDE(FB), while after packaging a air, the app wont write to sqlite db, Why?
View 2 Replies
Feb 16, 2010
I have created a Flex custom preloader, exactly like it is done in this example: [URL]
Now when I implement this, is seems to work fine on my computer in FireFox and Chrome. I publish it on the server, refresh my cache and reload the application and I do get my customized preloader.
But on a friend's computer, the screen stays white for a while, and then for a second or so it shows the preloader, but the indicator is at 100%.
So the loading already happened before it showed the preloader.
View 1 Replies
May 23, 2011
I have a built a mobile application using flash builder burrito and when i export the app from the builder the size of the apk file is say 1180KB,but when i try packaging the same application from the command line the size increases dramatically(to 2679KB).In both the cases if we see the size of swf file it is 2679KB only.So the builder is using some compression techniques to reduce the file size.Is there any options available in command line to do the same compression technique??.I have used the following command to package the swf file..
[Code]....
View 1 Replies
Jul 11, 2011
For the application that I am developing in AIR, I have removed the chrome through the app.xml. I am managing the features of minimizing, maximizing, close, resize and all other functions from within the application. I am facing a problem with resize feature. I have defined the grips for resizing and also I am able to display my custom cursor when mouse moves over it. The problem is that only the part of this cursor is visible which lies inside the boundary of the application rest of the cursor image is hidden.For implementing the custom cursor, I do the following.Embed the cursor image.
[Embed(source='/resources/images/resize_right.png')]
public var resizeRight:Class;
Add the event listener to the canvas that acts as a grip.
rightResizeGrip.addEventListener(MouseEvent.MOUSE_OVER, function(e)
{
setResizeCursor(CURSOR_RIGHT);
[code].....
View 3 Replies
May 28, 2011
I am working on a display that starts with a centered logo and menu. When one of the menu items is clicked I move the logo and menu to the left side and show a datagrid on the right. Is there a way to use an easing function to make this change look better?
View 1 Replies
Mar 31, 2010
I'm using mx:WindowedApplication, I'm wondering how I can skin the title bar and close/minimize button for the window. I can see application like Pandora One is using it and setting transparency. Any pointer to a doc?
View 1 Replies
Jul 27, 2011
how to create new window(same application duplicate) in Air Project.
View 1 Replies
Oct 29, 2010
In this code I'm creating a new window when I click the button. In the new window are TextInput and DropDownList components. When the new window opens, clicking the DropDownList does nothing - you have to click it a second time round to get it to open. However, click into the TextInput field first and then try opening the DropDownList works no problem.
Below is the code, or download the FXP file here.
// DropDownTest.mxml (application)
<?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]....
View 1 Replies
Feb 6, 2012
I want to show the TEXT with the marquee effect in my application.Marquee effect is only on the text that is in the BOX and that should be in the Vertical.
View 1 Replies
Jul 20, 2011
I am trying to paste hyerlink in body of mail in outlook by flex application using navigateToUrl method with mailTo protocol.
but outlook breaks hyperlink after first space in hyperlink.
I tried with < ,> before am after link but it doesnot help out me.
Is there any other way to paste link in body mail containing space.
View 2 Replies
Aug 1, 2009
I want to set the default window size for a flex application that runs with a standalone player.I set width and height to 100% to be able to get the ResizeEvent and being able to adjust the layout if the user changes the window size. But I'd like to also define a default size.
View 3 Replies
Oct 20, 2010
I am using flex4, I am seeking the answer to create multi window web application. My application is some sort of complex, currently I only know using PopupManager to create a new window.Should I create each MXML for each window that I want to instantiate? And then load the mxml and put it into the stage? Is there any tutorial describing that? I want the program modular and easy to manager, extend.
The current way I am using is use Group to group up all the controls inside a window, and if user want to open that window, I will display the group and bring it to the front. Is it the right way to do windowing? But I can't support drag.
I want to know if there is any native support for draggable window, or dialog?
Also till now all the controls are put inside a single mxml file, is it possible to put one window(or one group) to be a separate mxml file?
View 4 Replies
Mar 29, 2011
I am developing flex air application.I have to implement hot-key functionality in air application.
For example whenever user press any two keys like ctr and S keys the open flex air application.and whenever user press any two keys like ctr and q keys then close flex air application.
View 2 Replies
Jul 31, 2011
I have an AIR application. It should be moved around the screen with the mouse. In order to achieve this I use the event: this.stage.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown, true,-2);
It should be activated with the lowest priority compared to inserted elements for example those that should be scrolled, clicked, etc. I tried the solution shown below with the event priority set to -1 because there might happen 2 different events and my moving application event should be the last one to be serviced or shouldn't be serviced at all.
[Code]...
View 1 Replies
Apr 19, 2011
I want to show a local html file into my application but I could't find to do that.
I used <mx:HTML> component with using its location property but it is not working when I try to do it with a local file which is in applicationdirectory.
EDIT: Here is my code :
<fx:Script>
<![CDATA[
private function init():void {
[Code].....
View 2 Replies
Nov 1, 2011
In an application I have created (web) I need to list out my facebook friends within a canvas (or any container) along with their profile pictures.
I am using Flash Builder 4.5. I have also managed to set up AIR app (using the samples) so I am not sure if I am on the right track.
The requirement is :
When each user logs into the site his/her friends list should appear in the frame along with the friend's profile pictures.
View 1 Replies
Jun 20, 2011
I have an (empty) ArrayCollection that I wrap with a ListCollectionView. Then I add a series of items to the ArrayCollection, but these are not showing up in the view.
public var transactions : ArrayCollection = new ArrayCollection();
public var filteredTransactions : ListCollectionView = new ListCollectionView(transactions);
transactions contains 150 items, filteredTransactions contains none. I originally thought it was the filter I was applying, but even when I remove the filter, I still get no items in the filtered list.
Do I need to add the items to the view as well as the underlying collection (this would seem to defeat the purpose of using a view though...)?
View 1 Replies
Oct 13, 2011
I have the follow class :
package my.controls.charts.series
{
import mx.charts.series.LineSeries;
import mx.collections.ArrayCollection;
[Code]....
The new series name appear on the chart, but the data doest, and the chart always remains blank.
View 2 Replies
Sep 17, 2010
I have a viewstack with childrens which I want to show/hide depending on the state the application is
[Code]...
AS you can see I inlude the retail customer view in the retail state and the wholesale customer view in the wholesale state. The problem is that when I run my app they don't appear on neither state.
View 1 Replies
Jul 15, 2011
I'm building an AIR application. Basically, what I'm looking to do is using navigateToUrl() to open a browser window, assign it a "name" and then, send variables to that newly opened window using the POST method.
EDIT : I need the window to be visible, this is why I absolutely need to use the navigateToUrl() function
I already know that I CAN'T DO something like this, that the AIR application will send the variables using the GET method...
var vars:URLVariables = new URLVariables();
vars.myVar = "Hello my friend";
var req:URLRequest = new URLRequest("http://example.com/my-page.php");
req.method = "POST":
[Code].....
View 1 Replies
Nov 20, 2011
So there's been a new "feature" in the flash player since version 10.1, which reduces the player's framerate to 2 fps when the application window is out of view. This is good news for performance, but it can break some functionality, such as the Timer class.
I have an application which uses a Timer to display a countdown. Given the nature of the application, it is required for the Timer to complete its countdown even if the user is not there to see it. Imagine that you need to give the user only 10 seconds to perform a task. If the user minimizes the window halfway through the counter, they can take as much time as they want and still have 5 seconds left when they return to the window. This apparently can not be avoided with the newer flash players.
In Air applications there is the backgroundFrameRate property which can be set to prevent this behavior, but this is part of the WindowedApplication class, so it seems that it is not available in a web application. Does anyone know a way to keep a constant frame rate even when the window is not visible?
View 3 Replies
Mar 28, 2011
I have firefox 3.6.15 with flash debug version 10.3. whenever an error occurs a popups comes up with the error and a stack trace but it does not line numbers of each leaf in the stack trace which makes it more difficult to debug. how to configure it to actually show line numbers ?
I think it may relate to how I compile my flash application. (i think!) i use eclipse FDT 4.2 to compile and i added the following compiler flags: -debug=true -compiler.verbose-stacktraces i think these parameters should be enough but I may be wrong.
View 1 Replies
Sep 2, 2011
I'm a C++ programmer, but I'm a newbie in Flex. I'm developing a Flex 3 application for a social network using the FlashDevelop. For debugging I'm using the stand-alone FlashPlayer (10.3 debug) downloaded from Adobe. The application is a simple audio player which shows artist/album images.
The application worked properly on both local computer and remote server until I made some layout changes in Main.mxml. I added some HBoxes and changed Image placement. After that the application still works on my local computer, but it doesn't work properly after I upload it to a server.
Application buttons are not highlighted on over/out/click events, images loaded from the Internet are not displayed, text changed dynamically is not displayed, but when I click buttons a sound file is loaded from the internet and starts playing. It looks like some events which are responsible for components displaying are not dispatched, because some part of functionality not related to displaying still works.
To make sure that this is not a server problem, I rolled back to the previous revision. All works fine.
I suppose that this is a known issue, but I have no idea what is the reason.
View 1 Replies
Aug 26, 2009
I have a flex 3 application that creates an Image from a canvas which the user draws on. I use the ImageSnapshot class to create the image
var imageSnap:ImageSnapshot=ImageSnapshot.captureImage(myCanvas);
var imageByteArray:ByteArray=imageSnap.data as ByteArray;
I want the user to be able to print or save the image. I can use the following code to print the image but flex does not provide good control over printing across multiple pages
var printJob:FlexPrintJob=new FlexPrintJob();
printJob.start();
printJob.addObject(myCanvas, FlexPrintJobScaleType.SHOW_ALL);
I would like to display the image in a browser window so that the user could print it using the built in browser functionality or right click on the image and save it. Can this be done without requesting server side code to do it?
View 3 Replies
Nov 26, 2010
My Flex application is heavily keyboard-oriented. It uses 100% of the browser window and I'd like the user to be able to start using it immediately - as soon as it loads. However, it seems that the application is only first "activated" (i.e. the activate event fires) when the mouse clicks somewhere inside it, which is very inconvenient for my keyboard-heavy app.
Can I force an activation of my app at some point during/after it loads? I hope I don't have to display some silly "click inside to activate" overlay every time the page loads..
In certain browsers ([cough] Chrome [/cough]) the focus is lost whenever the user switches away from the browser (or even touches the address bar) and is not regained when switching back. So the solution has to take in consideration not just the first focus when the page loads but also "re-focusing".
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