air

Flex/Air : Text Area with Line Number Filtering

I need to have a Text Area With Line Numbers, & once the Text File is Imported to the Text Area.. the user must be able to select the line numbers & see the filtered output. I have implemented the same with Numeric steppers. I am in search of an enhanced component. are there better Advanced Components for Textarea ? Any Advanced Textar...

JQuery using cookies

Hi all, in my js file i want to be able to load a "splash screen" in a new air app im developing. At present when i call the splash screen it opens and closes fine, but its when i make it set a cookie it doesnt run at all. Please help... cookieSplash(); function cookieSplash(){ var cookieSplash = $.cookie('loadSplash'); i...

FlexNativeMenu Problem in Air Application

I am trying to add a flexnativemenu to my air application and I have some problems... When I set it in the windowApplication, I get null errors in child controls so I tried to set this.menu = myMainMenu (which is my flexnativemenu) in the creation complete event but the menu doesn't show up... I tried to show an alert message before se...

extract and display contents of zip file in Adobe AIR.

I have a requiremnt where my Air application loads ZIP files instead of swf. The zip contains all swf ,images and other files. My requirement is when user browses for file in a browse dialog, user selects a zip file and the contents of this zip file should be displayed to the user. i found examples to extract zip files, but i want to k...

I have some questions about building an AIR app for use with a connected projector.

For an app I'm working on, I'd like to have a control panel window and a video output window to use for projecting video with an attached projector. I have built many Flash applications but this will be my first time using AIR so I have some questions. Is it possible to have two seperate windows as part of one AIR application? Can one ...

Determining when Video has ended in Adobe Flex using Events

Hi everyone, I'm new to Flex, Flash, and ActionScript. I'm attempting to create a video player that starts another video when the previous video ends. I thought there might be an event that is thrown when the video finishes playing, but I have not been able to find it. VideoEvent.COMPLETE is when the video is completely downloaded, n...

How to display an alert when there is no available update (using Adobe Air update framework)

Hi all, I'm using Adobe Air update framework to implement auto-update feature in my application. The feature is working great when there is an available update, but when there is no updates no notification/alert is displayed. is there a way to display an alert when there is no update available ? thanks ...

Write Local File using Adobe Air Iframe

This is driving me mad. I am creating an AIR application and everything is working great. However I would really like to have a form inside an Iframe that when the user clicks submit saves the file to local application storage directory. Right now I am able to do this and save the file with no problems when I just access the HTML page...

What language/API to use for a standalone live-input audio visualizer app?

I develop with Actionscript and was glad to see that AIR 2.0 was going to give access to mic input data. I planned to use this to create a visualizer set to the tempo of the incoming live audio. After doing a few days of google research it seems unlikely that it will be possible to analyze the data of the mic input in Flash/AIR. If anyon...

Flash Builder AIR Project Background Image

I'm very new to Flash Builder and am trying to create an AIR app with a custom background. How can I put a background image in my project? I've tried just placing the image in the design view but it never shows up when I run the project. ...

ActionScript 3.0 / AIR Cannot Convert VideoEvent to VideoEvent ?!?!?! HELP

I have made an AIR app that brings in local SWF files and displays them in an interface. One particular local SWF file contains a FLVPlayback component. On this component I've placed some event Listeners. vod.player_flvp.addEventListener(fl.video.VideoEvent.PLAYHEAD_UPDATE, vodPlayheadUpdate); vod.player_flvp.addEventListener(fl.video....

.Net developer trying to get into developing Adobe Air apps and feeling a bit lost

So I've installed Aptana, looked around at a few tutorials, but let's just say I'm not quite feeling the love yet, the penny hasn't quite dropped as to where I should get started. So pointers in the right direction for a complete Air beginner but seasoned .Net/Html/JavaScript/Css developer would be much appreciated Thanks ...

adobe air stream end on line (EOF)

Hi to all, I need to read a file, which has an "n" number of lines, I need to know when reading the end of each line, so I can store the line in an array, ok so far I have while(stream.position < stream.bytesAvailable) { char = stream.readUTFBytes(1); if(char == "\n") { array.push(line); ...

Rendering videos online using flash as3 and AIR, how does it work?

I came accross this link that talks about the technology used with Animoto.com And it seems like they use AIR to export their flash animations to bitmaps that ffmpeg compil as a movie. http://labs.animoto.com/2009/06/07/presenting-filmstrip/ "It also takes time to render, so what you’re seeing isn’t realtime. It’s a series of Flash-gen...

Is it possible to profile CPU / memory inside an Adobe AIR application?

Couldn`t find any ActionScript native APIs even in the beta documentation, am I right supposing that this means the only way to measure CPU / memory consumption is by cooking up a custom native solution, hooking it up with AIR and making it work on each targeted platform? Basically the aim is to be able to have this information availabl...

Flash/AIR AS3: comparing contents of Screen.screens

In a sane world, this works as expected: var array:Array = ['a','b','c']; trace(array.indexOf(array[0])); // returns 0 In an insane world, this happens: trace(Screen.screens.indexOf(Screen.screens[0])); // returns -1 ... if Screen.screens is an Array of the available instances of Screen, why can't that array give an accurate indexO...

Adobe Air, packaged install fails with my trace routine... how come?

I cobbled together some code from here and there for a trace I like... it generates an error to get a stack trace and picks out the traced routine name, I like that detail in the trace log. Problem: it fails in an installed AIR file. I wonder why? I don't expect it to do anything as is... just, I'd prefer it not cause the program to f...

Skinning AIR application window

Hi, 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? Thanks, ...

Flex Chrome now showing up on AIR app when I compile with Flex 4 SDK

I have an AIR app initially written in Flex 3 that I had removed the Chrome from, but now it shows up when I compile using Flash Builder 4 with Flex 4 SDK. I have <systemChrome>none</systemChrome> <transparent>true</transparent> set in the *-app.xml file and showFlexChrome="false" showStatusBar="false" showTitleBar="false" set in t...

Update local sqlite database from Adobe AIR application

I have a local sqlite database which is created by an IE addon. The sqlite database cannot be updated from a Adobe AIR application which I use as a frontend. The exception is as follows SQLError:'Error #3132:Datatype type mismatch.',details:'could not convert floating point value to integer without loss of data.',operation:'execute',det...