adobe-air

Showing a "Loading..." dialog or busy cursor on AIR startup

What is the best way to show a dialog or busy cursor for an AIR application that needs to do a bit of pre-processing before displaying anything? Otherwise, the user may think that the app crashed in the 15-25 seconds it takes... ...

Help me understand this UI jargon

From an interview with Peldi Guilizzoni, the creator of Balsamiq--an Adobe AIR application for creating mockups: And then you started working on the first version Balsamiq Mockups. Was there any hurdles in the development process? Ha! There's always hurdles, it's part of the fun of coding isn't it? Let me think. I t...

Designing Adobe AIR applications - Which Usability Guidelines to follow?

Adobe AIR has enabled us push the boundary for creating Rich Internet Applications(RIA) outside the browser fence. Some companies have differentiated such applications as Rich Desktop Application (RDA). We have usability guidelines for Web, Desktop and RIA applications separately. But since, Adobe AIR has enabled us to create desktop ap...

Adobe AIR for an offline application: is this the best option?

I'm looking to develop an offline version of an application that still needs to connect to the live site to retrieve the information and store results. The application is for an online course system, that now needs to work when an internet connection is either unavailable or flaky. The system currently tracks each page viewed of the cou...

Show url on link hover in AIR HTML control

Does anyone know if there is a simple way of catching the hovered link url in an AIR HTML control? Just like in a browser, I would like the url to be displayed in a status bar but I can't find any event that is raised on rollover of a link. Do you I need to inspect and perhaps manipulate the DOM myself for that? ...

How can i get a BitmapData object out of a File object from a local jpeg file in AIR?

So I am trying to create an image gallery. My AIR application accepts files that are dragged and dropped onto a TileList component. I am using the images as icons but the problem is that they take a long time to load so i want to compress the file data first (I have that part done) The problem is that I can't figure out how to open the f...

Embedding COM components into an AIR app?

If you didn't care about cross platform deployment, is it possible to embed a COM component into an AIR app? Googling shows nothing on this. A link to an example of how to do it would be nice. ...

Database schema updates

I'm working on an AIR application that uses a local SQLite database and was wondering how I could manage database schema updates when I distribute new versions of the application. Also considering updates that skip some versions. E.g. instead of going from 1.0 to 1.1, going from 1.0 to 1.5. What technique would you recommend? ...

Know of JavaScript template enginges out there?

I need to generate very big html files based on data entered in a huge form. The project is done in AdobeAIR (js). What templating techniques would you recommend other than Dojo dtl? ...

Problem when reading a txt file in Adobe AIR

I've been working on an app running in a browser and I would like to try to convert it to an AIR one. In my web app, after loading the document, I am loading a text file in a string with jquery. var info; $.get('media/info.txt',function(data) { info=data; alert("the info is "+info.length+" bytes long"); }); In my AIR app, after...

How to access an iframe in an Adobe AIR application?

Hello, I am trying to use the embedded webkit in AIR to write a little browser with HTML+Javascript. I am so displaying the page at the URL typed by the user in an iframe. From there, I would like to: access the content of the frame, for example to display the of the page on a tab. be alerted when the user clicked into the frame, f...

Recreating/resetting views with Flex ViewStack

I'm writing an Adobe AIR application using a ViewStack for the different application states. Is there a way to make sure that each view component is created/destroyed each time it is shown/hidden? For instance, if I have a TextInput in a view, I want it to reset to its initial state each time I change to that view, rather than having pr...

What is the best approach to maintain state in HTML/JS Adobe Air application?

I've recently started toying around with Adobe Air and I am looking at things from an HTML/JavaScript perspective as I have no experience in the Flex/Flash realm (though I've started poking around there as well). As I've started to think about the design of an application in Air using only HTML/JavaScript I began to wonder what approach...

Cannot get Adobe AIR's ApplicationUpdaterUI() to work

Here is my problem - I'm trying to write a self-updating application, but I keep getting an error saying that runtime.air.update.ApplicationUpdaterUI() does not return a constructor. Here's the relevant section of the code; there are other javascript files being included, but I don't think that any of them would be actively breaking AIR...

How to stop Flex / AIR XOR-ing a fill?

If you try the following code: g.beginFill(0xFF0000); g.drawRect(0, 0, 50, 50); g.drawRect(25, 25, 50, 50); g.endFill(); You would think that it would draw 2 overlapping red squares. However, it doesn't - it draws two red squares except for the overlapping area which is now completely transparent. Any idea how to get around this? Po...

Reposition Air NativeWindow when Maximized?

Hi - How can I set the native window position when maximized? I've tried repositioning it upon the DISPLAY_STATE_CHANGE event which sort of works - but the window flashes at maximized size before repositioning, and more importantly the 'maximize' button of the window is still active. What I'm trying to achieve is simply a fixed width w...

Debugging deployed AIR application

Is it possible to attach a debugger to an AIR process like it is in Java? What's the best option for me to debug an AIR application that must be done in production (will not work in FlexBuilder due tom some integration issues). ...

Is there way to find when self signed certificate will expire for Adobe Air application?

Hi, I have to release my Adobe Air application but the build process was "setup" by a different developer. (He made a self signed cert and wrote a batch file to call adt for packaging the application). Adobe mentions that such self signed certificates are valid for 5 years. Now I have no idea when that certificate will expire as I don't...

Updating Version

I created a new air project in aptana but launching it gets me This application requires a version of the Adobe Integrated Runtime (AIR) which is no longer supported. Please contact the application author for an updated version. How does one go about updating the application for a newer version of air? I suspect it is related to <a...

How to add additional files to adobe air installer?

I've created an AIR application, but it uses an external SWF for extra functionality. I want that SWF to be included in the install, but currently it's not. Is there anyway I can get FlexBuilder or any other tool to include this extra file in the installer? I've tried manually adding the file (as a .air file is just a zip file in disguis...