air

New Project in Adobe Air

Hi folks, we are starting a new desktop project and we are evaluating adobe air as our development platform. this is because most our team are flex developers and we want to take advantage of that. but we have several question in order to decide whether or not to use air as a development platform. How recomended is to use a bridge to c...

Need to run custom scripts before compiling/building.

Hi, I am creating an AIR app. In this app there's a need to copy a folder from a fixed known localtion C:\xyz to app:/. I would like to know how can I do this copying before compilation/build so that they get packaged when I run the 'Export Release Build'. Thanks guys in advance... :) ...

Connect to BlazeDS with java stand alone app

I have a java server with a BlazeDS interface to handle Adobe AIR clients. I also have a bunch of legacy stand alone java apps that I'll need to integrate with the server. The java apps need all the same methods and remote calls that the AIR clients needs. So it would save tons of work if I could call the remote object methods from th...

Flex Library to do toaster style notifications?

I'm building an Air app and one feature I need is toaster style notifications in the bottom right corner of the screen. Before I go ahead and start writing my own toast controller, does anyone know of an existing library for such functionality? I'm looking for something which will just manage displaying, hiding and stacking of toast noti...

Running Flex 4 on AIR 1.5.3

Hi everybody, I'm trying to migrate a large project to Flex 4. The problem is that the AIR version must be compatible with old MACs (without intel processors) such as G5. As far as I know, only AIR runtime 1.5.3 works on these machines, but Flex 4 requires AIR 2.0. Is there any possible way to deploy an AIR application built with Flex ...

Adobe Air Application

Can anyone direct me to a Adobe Air tutorial or reference that builds an Air application that lets the recipient view a Microsoft Word document? In other word, can I read a Word document from an Adobe Air Application? Thanks for your help. JM ...

What's the best way of learning Flash, Actionscript 3 and Adobe AIR?

I'm a Java/C++ programmer by trade and I'm looking to expand my horizons in terms of computer languages in order to make myself more employable. Flash, Actionscript 3 and Adobe AIR seem like they are useful things to learn and I was wondering what would be the easiest way of getting an introduction to them? Do I need to get hold of a s...

Trouble with AVM1Movie inside AIR app

I'm writing an AIR app which should display other swf's. These clips aren't as3-enabled and loading as AVM1Movies. I need not to communicate with them, only to place on stage inside of some Sprite-based hierarchy. There is no problem with static clips, and no problem with some interactive ones (with functionality like "click to expand - ...

Compression support in AS3 / AIR?

Is there a way to open RAR / zip / 7z in AS3? Thanks. Is it easy to use compression library in C with Alchemy? ...

SQLLite with Actionscript (AIR) for all users

Hi I would like to save settings for an AIR application to a local SQLLite database. Wherever i read, it's recommended that you use File.applicationStorageDirectory to save the database file. My problem is that in most cases, the AIR application will be first started by an administrator that configs and setup the application (and save t...

flex air show pdf preview

Hi, I am using urlloader to load a tiff file from the server. Then i get it as ByteArray and show the image in a popup window. var bytes:ByteArray = urlloader.data as ByteArray; i use the TIFFbaselineDecoder to decode the bytes and open a popup to show the bitmap. Works nicely. Now, i want to do the same thing for a pdf file. How can ...

Dynamically changing the referenced XML file in Flash AS3?

Basically I have media being parsed and played by reference of an XML document using AS3. These media files are gonna be seperated into seperate XML files then what I was planning was to just dynamically change which XML file is being referenced. Problem is, the code only fires once on frame 2 and I can't seem to figure out how to swit...

Scale9Grid doesn't work in MovieClip

I have a couple of MovieClips in swf files loaded with Loader.loadBytes. They are 10-th version, as3-enabled and have scale9Grid defined (I can see the tag DefineScaleGrid in them with SWiX). But when loaded, loader.content has scale9Grid == null (maybe it is normal?) and scaling is not 9-slice. I can't even set scale9Grid myself - any a...

flex HTTP Basic authentication problem

hello, i'm trying to get xml file that requires HTTP Basic authentication : private function authAndSend(service:HTTPService):void { var enc:Base64Encoder = new Base64Encoder(); enc.insertNewLines=false; enc.encode("login:pass"); service.headers["Authorizatio...

AS3 / AIR - Creating a plain text file?

is it possible to create a plain text file with AS3 or AIR? example: i would like to create a plain text file named "MyTextFile.txt", have it contain text that reads "This is my text file." and save it to my desktop. another option would be to have the file already exist in a directory, so i would only have to rewrite its contents - a...

Flex 3 - Rounded bottom corners on a window?

Hi there, I'm making a flex 3.5a/air2 application and I've made a popup window but I can't seem to get its bottom corners rounded. Setting cornerRadius seems to only affect the top corners. There doesn't seem to be a roundedBottomCorners property like there is for panels, and adding a controlbar with a cornerRadius also has no effect...

How can I able to move the content up and down in AIR-Andriod ?

Hi, I'm using Flash CS 5 and Flex 4, both to build an AIR application for android. I would like to know how to allow the user to move content(image or text) up and down(like a map,in this case only vertically). ...

Adobe Air Salesforce get details using id field

Hi I am having a problem using Adobe Air to get contact information. If I import the contacts from Saleforce all I get is the Id of the Account to which they belong. How do I convert this Id to the Account Name. There are similar problems with other objects like Cases, Opportunities, etc where key fields like Owner, Account, etc just...

How to locally cache audio when streaming with Sound.load() in Adobe AIR?

I'm building a mobile MP3 player with AIR, which streams audio using the Sound class's .load() function. I'd like to cache this audio as it's downloaded, to the the user's SD card. Is this possible without having to download the file twice?? ...

AIR <-> Android communication

Hey, I'm looking for a way have some way of communication between an AIR application that runs on a desktop and an Android application (that obviously runs on a phone). Basically, I plan to make the desktop application controllable via an application on an Android phone. Grant Skinner did a similar thing with his Androideroids game, wh...