air

Adding dynamic controls to TabBar,Flex 3 Air As3

Hi, I have a TabBar Control with 3 tab, i need to add controls(Button,Label) dynamically in to each tab, I can add the controls to the initial selected tab but when i add to next tab , i am getting Null exception error.. That is when TabBar property selectedIndex="0" means i can add to 1st tab.but not in 2 and 3rd. when Tabbar pro...

Advantages to adding Spring to Flex

What are some of the advantages in adding Spring into a Flex / AIR application? And When would you recommend using Spring? ...

Download a file in AIr,Flex

Hi , i need to download a file ex:pdf from a url and store in applicationsirectory or ApplicationStorage directory , i have a code to download but its opening save dialog box to get the userinput for where to save the downloadig file ,, this is the code iam using downloadURL.url = urlLocation; configureListeners(file); ...

mac,windows,flex,air, alwaysontop

i setup alwaysOnTop="true" in mx:WindowedApplication alwaysOnTop="true" tag. but this does not work in MAC but works in windows. How can i solve this for MAC? ...

AIR : Data binding nativePath & storageDirectory problem

Encountered errors or warnings while building project project1.mxml: Data binding will not be able to detect assignments to "storageDirectory". project1.mxml: Data binding will not be able to detect assignments to "nativePath". ...

Using a composite MXML component from ActionScript

I'm trying componentize one of the pieces of UI in an AIR application that I'm developing in Flex. In this example, I want to display file information on a single line (which has an icon, some text/link and the size). My code looks like this (component is called FileDisplay): <?xml version="1.0" encoding="utf-8"?> <mx:Canvas xmlns:mx=...

How do I redirect pages unde Adobe AIR ?

Hey, I'm developing under AIR using HTML + JavaScript. What I want to do is redirect the page ( something like window.location) using JS, to a local file (ex: login.html ). I've tried window.location but it gives me the following error: TypeError: Value app:/MYSCRIPT.html does not allow function calls. I've also tried something using...

Automating Folder structure dynamically

I want to create a folder structure through Flex or AIR... is it possible? I mean the Flex or AIR will receive the inputs on what the folders and file names will be and when i press create, it should create a directory structure... It is possible in PHP through fileSystem, but i am not sure whether it is possible in FLex or AIR.... ...

Detect cmd-h (hide application) in AIR app on Mac

I have an AIR application running on Mac OS X. The application sometimes pops up little toaster windows to indicate certain events. The problem I have is that when a user "hides" the application (cmd-h on Mac), those toaster windows cause all windows in the application to come to the foreground. I'm opening the toaster window without ...

Parsing large text files with Adobe AIR

Hello, I am trying to do the following in AIR: browse to a text file read the text file and store it in a string (ultimately in an array) split the string by the delimiter \n and put the resulting strings in an array manipulate that data before sending it to a website (mysql database) The text files I am dealing with will be anywher...

Flex: referencing all data in TileList

I have 2 TileList component in my Flex application. 1 tilelist is filled with data much like following xml sample: <person name="Test"> <likes>Flex</likes> <likes>PHP</likes> </person> <person name="test2"> <likes>HTML</likes> <likes>CSS</likes> </person> the data shown in that tilelist is the name. my second tilelist: <items> <pr...

How can I tell if an instance implements an interface in ActionScript 3.0

I am overriding the addItem() function of an array collection and I would like to detect if the added item implements a particular interface. Previously I used the, is operator to detect the class type, but now that I am using an interface for classes I would rather test to see if the object implements the interface. I expect I could j...

how to install adobe air sdk in linux?

i'm trying to install the adobe air sdk in linux. i unzip the package downloaded from http://www.adobe.com/products/air/tools/sdk/ into a folder "AdobeAIRSDK", and add the /bin folder into the PATH environment variable. but when i tried to run the adl, it gives me the following error: Error loading the runtime (/home/monuser/AdobeAIRSDK...

changing file attribute in adobe air

Is there a way to change the file attribute of a file in abobe air,for example : like changing read only file or read write file or copying a "read only" file to a new location a a "read write" file. ...

Skip AIR update

Hi. Imagine I have an AIR application to update: the preceding version number is 0.0.1, the current one is 0.0.2. Now, the preceding app is installed on many different pcs. I want to update ONLY some clients, based on a particular ID. Is it possible to skip update process for some clients? ...

Flex, AIR: Search for .pdf files in specified folder

I need ActionScriot code that will parse a given folder and search it for .txt files. Any links or code samples will be helpful. (Adobe Flex 3.3/AIR) Thanks, Sri ...

Can i develop application in Adobe Flex with AIR support?

I need to create directories in the local machine, can i do this with FLEX with AIR support ...

how to Move state dynamically using image click within Datagrid itemRenderer ?

i used play button image within datagrid iteam renderer, if i click image then move to another state (by using currentState ='play') . so i tried like <mx:DataGridColumn textAlign="center" headerText="" dataField="col2"> <mx:itemRenderer> <mx:Component> <mx:HBox textAlign="center" paddingLeft="17"> <mx:Image source...

what are adobe air applications available for web developers?

What are free/paid adobe air applications available for Project collaboration and management Wireframe issue tracer testing color ..... ..... etc ...

when does executing() return false in sqlite for flex?

i've read the flex language reference: http://livedocs.adobe.com/flex/3/langref/flash/data/SQLStatement.html#executing This property is true if execute() has been called and not all of the results have been returned from the database. however, i'm having trouble understanding what that means exactly. I keep receiving an error: ...