air

example of using HTMLOverlay to workaround limitation in air with swf and transparency

hi, does anyone have an example of how to use the htmloverlay from here:http://code.google.com/p/adobe-air-util/source/browse/trunk/src/net/tw/util/air/HTMLOverlay.as to get around the issue with using the youtube chromeless player in an air application that has transparency set to true? I'm currently loading the html containing the e...

How to spot memory leaks in profiler?

I have an AIR/Flex app I made, I have a few people testing it and everyone is reporting that after leaving it running for a while, it is making all there machines run very slow. It runs fine at first so this must be a memory leak somewhere. I used the profiler on this and the only thing that shows as using a substantial amount of memory ...

Integrate Adobe AIR With C++

Hello, I'm learning C++ and before this i was reading some tutorials in the internet of the Adobe AIR development, but if Adobe AIR is so much easy to learn and C++ is a very flexible and good language it's possible to integrate those two languages in a same project. Thanks! ...

AS3/AIR: Managing Run-Time Image Data

I'm developing a game with AS3 and AIR. I will have a large-ish quantity of images that I need to load for display elements. It would be nice not to embed all of the images that the game needs, thereby avoiding having them all in memory at once. That's okay in smaller projects, but doesn't make sense here. I'm curious about strategies f...

When I convert HTML files to Adobe Air, how I can add CSS and Images?

If you convert HTML files to Adobe Air files, please let me know how you can add css and image files. ...

may i know what is different viewstack and states in flex ?

In my flex project i used one option like Link button . If i like it will be open new page contain more information and components . Which container is suitable one ? Where is used viewstack and stages ? if you know please explain it . or refer me ...

Differences between Adobe AIR development approaches?

The Adobe Air introductory documentation and samples seem to separate Air development into 3 different categories: HTML/Ajax Flash Flex I've read the tutorials and examined some of the code, but I'm not totally clear what the differences between them are, and more importantly why you would choose one approach over the other. Sorry f...

viewstacks vs states in flex ?

I have an app that I am currently using a viewstack to display each page and I am wondering is this the right way to go, or should I use different states (or something else). The site is powered by a menu bar with the top level items of Home, Tools, Support. Underneath the Tools menu is a submenu with Tool1, Tool2, Tool3. Currently when...

Binding combobox with object array ???

Hi, how to bind array object to combo box in Air application.. i have array of objects from that i need to bind name property to the label field of combobox how to do that ? var objk:Array=objkparent.children; // it return object collection comboBox.dataProvider=objk; comboBox.labelField=objk.name; but its not working how to bind...

Inserting date in sqlite db using adobe air and javascript

I am trying to insert a date value in sqlite db using air and javascript. The value gets inserted but when I try and view it, it says null. Later I found that SQLite stores date using julian format. How to convert a javascript date object to julian format? ...

How can I load my own custom component into an AIR application?

I created separate own canvas component for Home page, Contact page, Rules page etc. In my main application it has link button like Home,Contact,Rules in application controller(child state) . <?xml version="1.0" encoding="utf-8"?><mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="903" height="508" backgroundImage="@Embed(sour...

Check Folder as Write access,Air app ,Flex

hi, how to know the folder as write permission in air application..in my application i am saving txt file in folder,so that i need to test that folder as write permission... var file:File = File.desktopDirectory.resolvePath("TxtFolder/DataFile.txt"); i need to check "TxtFolder" has write permission...? before saving the file(DataFil...

How to hide view stacks in AIR application ?

I have two viewstacks one for Main menu and another one for submenu. I want to show viewstack page infomation at the time only one viewstacks . Another one hide . if i click submenu viewstack then Mainmenu viewstack will be hide . How can i do that ? I dont know whether it will be correct or not . If you have any other option for addin...

Event dispatched when network is disconnected while downloading files (URLs) for URLStream object

I am creating an AIR application which downloads file from a server. I am using URLstream object with complete, progress, IOError, security error and HTTP status events. I am not getting an event if the network is disconnected when the download is in progress. Please can anyone tell me which event is dispatched? Thanks, Anahas ...

How do set size of state After moved child state using AIR ?

In my air project i used current state size is width="441" height="358" . i have link button like Singin then move to singin state (currentstate='singin') <mx:State name="signin"> <mx:SetProperty name="height" value="616"/> <mx:SetProperty name="width" value="919"/> So application resize into 616,919 . After that...

Edit PDF files dynamically from Flash or Flex

I am planning to do a CD-ROM in either Flash or Flex, possibly using the Adobe AIR runtime. This CD interactive will have a bunch of forms on it for the user to fill out. After they fill in a form, they will have the option of saving or printing a PDF that is based on there information. I am trying to find a way of editing the content ...

Adobe AIR Application in "What would you like to do" screen

Hi, I would like my AIR application to show up on Windows or Mac when USB drives are attached in the screen that says something to the effect of: "Found a new USB device (Canon Digital Camera), what would you like to do?" followed by a list of applications and possible actions (I'd like one of them to be "Open MyAIRApp to Import Photos...

AIR database export/import help

How do I implement an export/import data of the databse. I would prefer if it was in a sqlite database file, xml or csv. ...

Which container is mostly used for load new custom component into flex ?

In AIR application i have link button like winner statistics . if i like this button then show winner statistics (canves) reports full page on my application . I Already created winner statistics using canves component .Which container is mostly used for view data ? Please refer me ? i tried viewstack but it will overwrite Main page ? ...

GZIP and RemoteObject

Hi, In AIR application, is there any way I can tell a RemoteObject to send headers that will accept Gzipped content back from server ? I'm using Zend Amf, and it's pretty slow. So I'm telling Apache to gzip amf content, but if the client doesn't send headers accepting gzipped content this will never work. Any idea ? ...