air

Creating a custom file format for Adobe Air

I'm just starting out with my first Adobe Air project (I'm a pure AS3 developer by trade). I'm planning to build an image editor which supports layers. I'm wondering what the best way would be to store an entire project including layer data (images) to a users hard disk. I'm wondering if there is any pros/cons in creating a custom file ...

Flex: removedEffect causes error when changing parent

ok I have a subclass of TitleWindow with this method: public function launchInNewWindow(e:Event):void { this.parent.removeChild(this); ownWindow = new Window(); ownWindow.systemChrome = 'none'; ownWindow.type = NativeWindowType.LIGHTWEIGHT; ownWindow.transparent = true; ownWindow.setStyle('showFlexChrome', false)...

Is there a API from Flex/Flash to list all the UIComponent ??

Hi All, I am trying to create an API utility using Adobe AIR where given a component name it should list all it methods, variables, and other properties of that component. But I could not find an API to list all the UIComponents of Flex/Flash. is there an API to lookup all the UIComponent or if there is no such API, can anyone tell me...

AIR: make taskbar item flash?

Is there a way to make the taskbar item flash in an AIR app? like it does in other applications to alert the user of a change. Thanks!! ...

Air: Possible? Writing into installed application package

This is probably a bad idea or whatever you wan't to call it. Nevertheless, curious to know if Air can write inside it's own installed package. I'm referring to the OSX '.app' files found in great numbers in the applications folder. Since every one of these can be opened as a regular folder, i'm guessing that's what they are. What other...

AIR App that Loads and Runs Existing AIR swf

I have an existing AIR app whose main content is App.swf. I would like to have another AIR app that hosts and runs App.swf. When I say run it, I mean displays it's WindowedApplication. Here's the code for the 2 AIR projects (imports are omitted for brevity): // App AIR Project -> App.mxml -> App.swf (it's just a window) <?xml version...

Adobe Air Showing image preview

Gurus, We have an Adobe AIR client which talks to a WAMP server. The client has an image upload functionality. The search shows the list of images in a table. We have a Download button in the search window. The file is streamed from the backend upon clicking the download. We need a preview button in there. I want to show a preview of the...

air: Problem. No text showing up in compiled air app

i've been testing a small Air app on different systems and found out that on one of these systems text does not show up, at all. Other (older) applications are fine, but this one does not display any text. I've been frantically trying to solve this with text embedding. To no avail. Could the system be missing a font? system: air 1.5.2...

flex builder new projects with syntax errors

Hi, I'm a junior developer and I'm having some problems with my flex builder 3. Every time I make a new project, flex builder detects syntax errors like: 1084: Syntax error: expecting rightbracket before leftbrace. FotoBeheer line 23 1084: Syntax error: expecting rightbracket before public. FotoBeheer line 22 1084: Syntax e...

Delaying or sleep program for some time using Adobe Air

hi, I am developing a application using adobe air and flex .....i have a block of code which should not execute for sometime for example. private function filewrite():void { //some code 1 //STOP EXECUTION //some code 2 } something like this should happen...is there any Thread concept in adobe air?....how do i do it usi...

Adobe AIR and multiple XMLHttpRequests is being... weird

I'm making a small Adobe AIR app (my first) using HTML+Javascript. I need to run more than one asynchronous data request, but the second one didn't seem to be firing (note that the requests were not run concurrently originally). I tried stripping the program down to the bare minimum that exhibited problems, and at first only the first re...

Launching Terminal on Mac OS X from Adobe Air 2?

How do i launched Terminal from air 2 passing arguments and command as well? ...

AIR: component behaves wrong after switching window

Ok so I have a component, that has a function to remove itself as a popUp in its current Window, and add itself to a newly created Window. It works, however, if the component has a child like a ComboBox, the drop down still pops up in the old window where it used to be, also scrollbars, and focus seems to behave incorrectly in the new w...

access WIA/TWAIN from .NET web application

We are developing C#.NET web application, which MUST have possibility to connect to front-end user's scanner, webcam or sign-pad (http://www.signotec.com/) device and execute their actions. This should be embedded with browser. AS far as I know it's possible with Java, AIR, Silverlight4 (it's still beta). What do you prefer it's best ...

AS3 Working With Arbitrarily Large Files

I am trying to read a very large file in AS3 and am having problems with the runtime just crashing on me. I'm currently using a FileStream to open the file asynchronously. This does not work(crashes without an Exception) for files bigger than about 300MB. _fileStream = new FileStream(); _fileStream.addEventListener(IOErrorEvent.IO_ERR...

Why doesn't AIR start full size?

I have an AIR application set to 800px wide and 600px high. When I launch it, the window starts too small with horizontal and vertical scrollbars? Isn't this dumb? What am I missing? Test.mxml: <?xml version="1.0" encoding="utf-8"?> <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="800" height="...

AIR apps and processes

AIR apps are generally very little in size (a few Mb). Why, when you launch them, the task manager shows n processes for n apps launched? And why the memory used is more than 30 Mb (for single process)? I imagine it is the runtime: but why the runtime doesn't load only once (and then is used to load n apps)? I noticed Chrome does quite t...

Windows Installer and Adobe AIR: Possible to ignore ALLUSERS flag in an MSI?

I am trying to deploy AIR apps internally and am running into permission issues relating to AIR's insistence on installing to all users, which is set as normal in a temp msi file under "SecureCustomProperties". It is always the first entry in this field. I have discovered the following: -An AIR package is a zip file, but does not cont...

AIR: save application location and size

OK I am trying to make it so that when a user launches my air app, it positions itself and sizes itself to whatever it was the last time it was opened. Here is my code: private function init():void { gotoLastPosition(); this.nativeWindow.addEventListener( Event.CLOSING, saveAppPosition ); } private function saveAppPosition(e:E...

which multi-touch hardware devices are programmable via Adobe AIR 2?

Hi, everyone. Thank you for your interesting in my question. You can help me out from this little problem. I am looking to buy the new hardware that is appropriate to use as development machine for multi-touch feature in Adobe AIR 2. I found HP TouchSmart series, which used in Mr.Kevin's demonstration in Adobe MAX 2009, is too expansi...