air

Adobe Air - Read information from LDAP server

Hi, I have an AIR application and would like to connect to an LDAP server to obtain some information for a particular user. The url is something like ldap://ldapservername:389/ I would like to pass the userid/Name as the parameter and hope to retrieve the Full Name, Email address etc. Can you please provide suggestions regarding impl...

Flex 3 - Migrate Flex web application to Air application

Hello communitiy! I have a flex web application and I would like to "transform it" into an Air application. Do you know of any way to accomplish that? Thanks for your help. Regards, BS_C3 ...

What's the timeout on URLLoader.load connection?

Is there a timeout on the connection made by URLLoader.load? If there is, what's its value, where is it documented and can it be changed? Also, what event (if any) gets dispatched if the timeout occurs? Is there a difference between AIR and browser application in those regard? ...

Adobe Air: Is it possible to save files to a network path (osx)

I was wondering if it would be possible to write a file, not to the local system, but to a connected server or other network path. Would i have to use an external php interface for this or can i entrust this to the AIR framework? I'm pretty sure that AIR has certain security precautions to prevent this. Thanks a bunch! Regards ...

AIR File.resolvePath doesn't work anymore

Hi all, I'm having a very strange issue, it looks like my application can't create file anymore. It works w/ directories, but the so-many-times-used resolvePath() methods doesn't. Here is what I do : var databaseFileContent : File = new File(File.desktopDirectory.nativePath + "/testing"); databaseFileContent.createDirectory(); databa...

CSS3 in Aptana AIR

How can I use CSS3 in Aptana Studio 2.0 with the AIR plugin? I want to build an AIR application with CSS3 (advanced), but it doesn't work correctly. I want to use like the Safari/Google Chrome type of CSS3. ORIGINAL: Here ...

How do you hidden/show particular context menu item in flex?

var contextMenu:ContextMenu = new ContextMenu(); contextMenu.hideBuiltInItems(); var contactList : ContextMenuItem = new ContextMenuItem("Add to Existing List"); contactList.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, doStaticListCommand); var newContactList : ContextMenuItem = new ContextMe...

[Air] Take screenshot of web site

Within an Air application, can I take a screenshot of a website WITHOUT rendering it visible to the user? If yes, is it limited to the resolution of the user's desktop? ...

Actionscript not running in nested MovieClips in Swf loaded into AIR app.

I'm loading content swfs into an Air App. The swfs are loaded into the non-app sandbox, and any communication is via the parent/child sandbox bridge. The swfs have timeline code. This code executes fine. The swfs also have mcs on the timeline - any code inside these mcs, or any child mcs of these mcs, is ignored. Simple traces do not ...

server side Adobe AIR apps

This might sound like a really stupid question, but is there anyway to run an Adobe AIR application in a headless server side mode on a non-UI server (i.e. Linux)? I'm trying to build server side bots to interact with an API (grapevinetalk.com) and I want to use existing code to do that without having to re-write all the data munging et...

adobe air(xml request)

what actually local path adobe air accept ? i try xml http request using file:///c:/folder/file.txt .It work on Chrome but when testing on air it fail to retrieve the text file?I thought adobe air is webkit engine so testing should be the same.I'm using adobe air 1.5 ...

how to set an adobe Air application initial window to full screen

I have an air app created from one of Adobe's Examples using javascript / HTML. Is it possible to change the descriptor file so the application launches full screen or maximized? ...

Accessing contents of NativeWindow in a HTML AIR application?

I'm currently building a HTML/JS AIR application. The application needs to display to the user a different 'window' - dependant on whether this is the first time they've launched the application or not. This part is actually fine and I have the code below to do that: if(!startUp()) { // this simply returns a boolean from a local prefere...

Flash CS3 ActionScript3 importing and using SWC

Hello, I am trying to create a SWC library for use in my Flash AIR project. I have created a seperate FLA called SceneLibrary and followed the steps defined here: http://www.luaye.com/blog/index.php?action=read&id=54 to create a new SWC component. I saved the created SWC into a lib folder within my Flash Dev project, I then right ...

AIR GUI testing

What do you guys recommend for AIR GUI testing? ...

How determine File is Open in WIndow while writing file using Flex 3/AIR File Class.

Hi, I want to update a file using FLex3/AIR File class. I know how to do this , but before writing(updating) to file i want to check if current file is open in the OS or some other application is using that file or not . please kindly help on this. Thanks Sanjay ...

Making Flex HTML Control UnSelectable

I am displaying some HTML text in an Adobe AIR Application that I do not want the user to be able to cut and paste. How do I make the HTML control disallow highlighting of the HTML without disabling the ScrollBars. mouseChildren=false works but disables the scrollbars which is unacceptable. Right now I have: <mx:HTML location...

Connection Limit in Adobe AIR?

I have an Adobe AIR application that makes multiple connections to a server. When I open more than two connections I get an error: 2032: Stream Error. Is there a configuration option or a property somewhere to raise the limit? ...

How do you set the creation and modification date for a file in AIR?

I'm creating files in an AIR application like this: var file:File = File.documentsDirectory.resolvePath("myFile"); var stream:FileStream = new FileStream(); stream.open(file, FileMode.WRITE); stream.writeUTFBytes(data); stream.close(); This leaves the creation and modification dates on created files blank. Is there are way to add this...

Flex3 / Air 2: NativeProcess doesn't accepts standard input data (Error #2044 & #3218)

Hi: I'm trying to open cmd.exe on a new process and pass some code to programatically eject a device; but when trying to do this all I get is: "Error #2044: Unhandled IOErrorEvent:. text=Error #3218: Error while writing data to NativeProcess.standardInput." Here's my code: private var NP:NativeProcess = new NativeProcess(); ...