air

Flex-AIR: Main Thread (Suspended).....WHY??

Whenever I debug my AIR app it keeps suspending at a certain line of code...it doesn't give me a reason why, it just says Main Thread (Suspended) No error, no breakpoint at this location either. If I comment out the code so that, that line does not execute, it just does the same thing on a different line of code. I have no clue why.... ...

flex textflow dyniamic height

Hi, In my flex application I have scenerio like this: parent to child Vbox->Canvas->Sprite->Textflow In this scenerio now I need to have dynamic height of the textflow & its parents. Here the root parent is the itemrenderer of the datagrid I have. I need the heights of rows to be adjust according the content in it. Right now I am imp...

Adobe AIR, memory leaks.

We all know how web browsers (such as Firefox) are certain to fill up memory consumption because we continuously execute JavaScript code (from websites) that is prone to memory leakage. I am debating in developing a Desktop app, and given my experience with Javascript/Css/HTML, I thought I would give AIR a try, this way I don't have to...

Does Adobe AIR work on linux ? how do i install because linux does not support exe format

I am beginner so have some doubt about Adobe AIR. How do I install my AIR project in linux, or mac os because my project out .air(execute file).os does not support execute file ? Does it support multi language in Adobe air? And one more, how can I embed css not use an external css file? Does it support live streaming video in deskto...

Flex Air HTMLLoader blank pop up window when flash content is loaded

I have a flex Air program that loads external content with the HTMLLoader. Now for some reason whenever I load a page that has any flash content a blank system window pops up outside of my program. It's completely blank, all white with min, max and close buttons. If I close it any flash content I loaded stops working. For the life...

How to update adobe air application after install ?

how to update air application after install in system . updated not be reinstall will be automatically ? is it possiable? ...

Get Current Operating System In Adobe Air

I'm making an App using Adobe Flex/Air. I was wondering if there was a way to get the Operating System the Air app is running on? Thanks. ...

How do you dynamically load two different CSS file into a Flex application?

i used blue.css and also beige.css in flex .i have theme combobox for user changed theme dynamically so i stroed [Bindable] private var pickcss:Array=["blue.css","beige.css"]; private function css_initializeHandler(event:Event):void { pickcssComboBox.selectedIndex = pickcss.indexOf(0); } private function css_chang...

How do you find out dynamically created checkbox is select/unselect in data grid component in flex?

i created dynamically checkbox on data grid how do i find out Which checkbox select/unselect and which checkbox contact is select/unselect ? Because we cant set dynamic id for each checkbox <mx:DataGrid x="7" y="3" width="347" height="337" dataProvider="{#####}" variableRowHeight="true"> <mx:columns> <mx:DataGridColumn head...

AIR: sync gui with data-base?

I am going to be building an AIR application that shows a list (about 1-25 rows of data) from a data-base. The data-base is on the web. I want the list to be as accurate as possible, meaning as soon as the data-base data changes, the list displayed in the app should update asap. I do not know of anyway that the air application could be n...

AIR: Connect to database over network?

Is there a way to make an AIR app connect to a database over a network. I know it has a built in SQLLite but I need to connect to a database over a network. Is there anyway to do this? If not directly then maybe through the help of something else like Java. Thanks! ...

AIR: Why is stage == null?

I am trying to set the scaleMode on my AIR app. which is set via stage.scaleMode. However when I try to reference stage it returns as null. I do not know why? Here is the entire app: <?xml version="1.0" encoding="utf-8"?> <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()"> <mx:Script> ...

AIR: new window...adding content to it doesnt show up.

OK I created a class called WindowManager, so far it just as 1 method, to create a new window. You pass the DisplayObject to it that should be contained in the window. The problem is if I added a newly created display object to the new window it does not show up. However if I first as the new display object to the main window, then try t...

AIR javascript class extension - air.URLLoader and static events

I am using multiple asynchronous air.URLLoader objects, and would like the events fired to be aware of the urlloader's "myId". The objects i am downloading have ids per se, so i'd like to know in my event listener callback function from which download id the progress/finished/error event came. code: # loader addonLoader = new air.URLLo...

Flex 3 focusManager.getNextFocusManagerComponent() returns null

I have an app where I am looking to make the enter key act like a tab key. I can easily capture the keypress event and setFocus to a textinput field. The problem is figuring out which textinput field to give focus to. I have this code trace(this.window.focusManager); //returns TheWindow86.focusManager trace(this.window.focusManager.ge...

Flex: center Window?

I am trying to center a launched window in flex, there is a NativeWindow.x and NativeWindow.y but flex uses the Window class which does not have these properties, so does anyone know how to center a window? Thanks!! ...

Flex: Button style messing up FlexChrome

My air app is using the FlexChrome instead of the system chrome. The problem is I also have a .CSS for skinning that sets the skins for the Button class. This is also changing the 3 buttons (minimize, maximize, close) in the flex chrome which is undesired. Is there a way to make it not effect the Flex chrome buttons? Also the css file i...

How to find checkbox value ( checked/unchecked) in iteamreander of data grid ?

i have 3 checkbox for calculating amount purpose . i used Datagrid within datgrid used mx:DataGrid > mx:itemRenderer> mx:Component> mx:CheckBox id=mycheckbox change="calc()"> mx:CheckBox> mx:Component> mx:itemRenderer> public function calc():void { statistic.dataProvider =mycheckbox.selectedItem; } but it's throws...

how to keep a nativewindow on top

I need to keep a NativeWindow I am creating on top of the main window of the application. Currently I am using alwaysInFront = true, which is not limited to the windows in the application. I can successfully synchronize the minimize/restore/move/resize actions, so the top window behaves appropriately in those cases. Even though using th...

Loading Flash when debugging AIR

I'm trying to create an Adobe AIR widget with a Flash menu. The Flash menu was created in SWiSH Max2, exported as SWF9 with SWF6 properties exposed. The menu works, FSCommand works, and the attached JavaScript work (at least in Firefox). However, when I try to test this in the AIR Debug Launcher (ADL), nothing happens. I've used SWFO...