air

How do I avoid a VerifyError when testing code using mobile-specific classes in AIR/AS3?

I'm an experienced AS3 developer doing AIR development for the first time in order to create an iPhone app. I'm trying to account for variable device orientations using the StageOrientationEvent and related classes, and I'm getting a VerifyError when trying to test on a desktop machine, presumably because orientation-related classes are...

Can an Android AIR app call an NDK library?

Using AIR for Android, is it possible to call from Flex into an NDK library? If so, how can this be done? I have a large C library that I need to use. I know that I can do this from an Android Java app (through JNI), but I have a large Flex codebase that I'd like to reuse. ...

Desktop Flex application login system

I'm currently in the planning/early building phase of a desktop flex application that will be communicating to a Zend Application on a web server. The flex app will basically be like a layout/view in terms of the MVC pattern, it will make requests to various controller actions and display the data returned in a meaningful way, and post ...

Air 2 and streaming mp3

I plan to play more than one MP3 at the same time like multi-track does, I know this will caused a huge increase in memory. Is there a way to stream or buffer live? If I use it on creating a virtual piano, would it be feasible to embedded 88's or 500MB of MP3 for performance or dynamic load? ...

Chart problem in Flex/AIR

here the link of my problem pic:here the problem showed above just happened on CandleStick and HLOC Chart. Anyone know what actually happened, and what the solution?? one more question : how to fix width of vertical axis label (shows prices in my picture) thx ...

Air 2.0 native process run multiple applications

After I could execute more than one VLC media player at the same time, am I able to close specific process/VLC instead of all at once? If possible, please guide me. ...

What kind of Flex component can I utilize in NativeWindow?

I'm developing Adobe Air application. To show additional window, I create NativeWindow object. In the object, "stage.addChild( Sprite Obj )" does work, but almost all other flex components do not work. Actually I want to add 'spark.components.BorderContainer', 'spark.components.Group', 'mx.controls.Image', etc., but cannot. One solution...

AIR - Batch File As CMD.exe Argument

AIR doesn't permit launching .bat files as a native process directly, so apparently i'm suppose to set CMD.exe as my startupInfo executable and pass my .bat file and it's arguments. i can't get it to work, so i'm hoping it's a syntax problem. here is my code: var testStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo(...

Flex and Video Annotation

I have been investigating how to annotate video using Flex or AIR. Similar to how it is being done on YouTube. I am not getting much joy. Wondered if anybody might have any insight? Thanks --Matt ...

How to open a folder from an Air 2.0 Application?

How to open a folder in Windows Explorer or Finder (Mac) from an Air 2.0 Application? I'm using Flex 4 + ActionScript 3. Seams like I could do it using NativeProcess but I don't want to create a native installer. Is that possible? Thanks! ...

How can I make my AS3/Air code better?

Hello everyone this is my little Frankenstein code, don't make fun of it, it works! So you would pass in the table name and a data as an Associative array which are objects. I'm pretty sure this is not good code as I was and still am learning ActionScript. So what can I change or how would you guys make it better? public function save(t...

Adding fixed Gridlines Chart in Flex

Is anyone know how to adding fixed gridlines chart in flex, for example: I have a vertical axis which has a minimum value 0 and the maximum value 100 but I only want to display gridlines on values 30 and 70. So please me.... thx ...

tinymce adobe air

Is it possible to get tinymce working inside Adobe air? I found this tut but it is out of date and no longer works with current versions. Normal tinymce produces these errors: 1. TypeError: Result of expression 'g.base_uri' [undefined] is not an object. 2. TypeError: Result of expression 'tinyMCE.init' [undefined] is not a function. ...

Downloading to a specific drive

My users must download a program from the interwebs to a microSD card, which can be any drive letter from A-Z. Q: Is there a drop dead simple approach to downloading a file to a specified drive/directory without relying on the user to navigate for me? I can populate the directory with a seed file if necessary to let my program know the ...

Problems with changing flexmojos to give testing support to air applications

Hello, I want to test air applications and air libraries using flexmojos 3.9-SNAPSHOT. However, although flexmojos does indeed has support for air, it tries to run the swf generated by the build using flash player, and as I need to use air native libraries I wanted to run the tests using adl (AIR debug launcher). To do this, I cloned ...

How can I determined if I'm within an AIR app through Actionscript?

I'm seeking a method that tells me whether my code is running inside an AIR app or not. Something a lot less tacky than polling an AIR-only method. So far, searching the docs has been unfruitful. Anyone know of such a method? ...

I want to play any Flash game on Android (as .swf file). How can I pass key events to a SWF app?

Hi stackoverflow. Can you help me play Robot Unicorn Attack on my Android phone? I downloaded the .swf file, put it on my phone and there is this app called SWF Player that can open SWF files from the SDCard. But, since I don't have a hardware keyboard, I can't play the game because I have no chance pressing X or Z (I heard even with a...

Keep selection when refreshing datagrid in ActionScript

I'm working on my first ever AIR application with flashbuilder - just so you know. I've bound a mx:DataGrid component to a DataProvider which is a mx:HTTPService fetching an xml file with items. To keep the data up to data I'm polling the webservice on a given interval. My problem is that I loose the currently selected item in my DataG...

How can I add support for a specific SSL certificate in my AIR Application

Hi, I need to open a specific SSL secured site inside an iFrame of an Adobe-AIR application written in Javascript. For that reason I've build a small test application which opens the site in a iFrame - this works well, but the server certificate is not accepted. A Popup shows up and prompts the user to accept the untrusted certificate....

Job scheduling service library for flex (similar to quartz in java)

Hi everyone, I am searching for a flex library for job scheduling. I know the Timer API, but this is not exactly what I am searching for. Here is (one of) my usecase for my AIR application: Try to ping to website xyz every 15 minutes Every first monday of a month try connect to website abcdefg .. So I am searching for a library like...