adobe-air

Equivalent of "View Source" for <mx:HTML> Component

After setting an control's location to some site. How could I then take a peek at the associated HTML? I notice that as soon as I set Location, htmlText becomes null and vice-versa... So how would one go about looking at the HTML displayed in the control in TEXT form? ...

How can I make an mx.controls.Alert centered on a <s:Window/> component

I have an mxml component "PresentationWindow" that is for brevity's sake, simply: <fx:Script> //... functions here will be explained below </fx:Script> <s:Window> <mx:Canvas id="presentationCanvas" width="100%" height="100%"> <mx:Button label="Test" width="100" height="25" left="0" top="100" /> </mx:Canvas> </s:Windo...

Trying to understand Adobe AIR and full screen mode

This adobe's page says that: In Flash Player, full-screen mode can only be initiated through ActionScript in response to a mouse click (including right-click) or keypress. AIR content running in the application security sandbox does not require that full-screen mode be entered in response to a user gesture. I thought ...

Possible to update Adobe AIR runtime thru AIR application?

I've an Adobe AIR 1.5 application which uses ApplicationUpdater framework to update itself. I am planning to use new features of AIR 2.0 but I am not sure that all the clients installed with my AIR application will have AIR 2.0 installed. I know that I can detect the current runtime version but is there a way I can install the new runti...

Undefined property error with Event.CLOSING

I was using the Flex 3.5 + AIR 2 beta 2 SDK for some time now for one of my projects. Moving to the final 3.5 release today causes the compilation to fail with the following error. Error: Access of possibly undefined property CLOSING through a reference with static type Class. This happens in the following line. this.addEventListener(...

Get full URL from HTTPStatusEvent

Hi I'm using loader.addEventListener(air.HTTPStatusEvent.HTTP_RESPONSE_STATUS, onLogin); function onLogin(e) { air.trace(e.responseURL); } to get the URL to which URLRequest goes after redirection, but all it returns is http://domain/redir.html and missing hash data which has some important information. hxxp://domain/redir.html#{id:v...

Workflow for porting jQuery site with PHP/MySQL backend to Adobe Air?

It looks like Adobe Air has some sort of support for jQuery, so I'm wondering if the workflow for porting to Adobe Air might be more automated than having to rewrite everything.. I'm fairly new to Air, so if so - what are the points of automation, and what are things that should not be automated (in conversion)? Are all jQuery functio...

Filtering out all but a specific color of an image in Flex

Let's say I have an Image in Flex, and I want to filter it such that only the Green Pixels are visible... For example this image: Would show up on the screen as: How can I accomplish this in Actionscript/Flex? ...

last occurrence of a string in a string in flex

Is there any inbuild function to find out the last occurrence of a string pattern in a string in action script . ...

Weird character shown in windows uninstall diaglog while the air application is still running.

Is there somebody who can tell me how to set a proper error message when the user want to uninstall the air application while it is running. Now the windows uninstall screen show some weird characters. See image http://img197.imageshack.us/i/weirdcharactersairunins.png ...

Are there any good tutorials / examples for developing a download manager in Adobe AIR using Flash CS4?`

I want to develop an AIR application that will let users of my website download multiple files in a single process. My database stores details of all the files uploaded by a user so I want them to be able to simply choose a location on local disk then download all files they have uploaded to this location. Are there any good tutorials ...

Air Application runtime problem on a Macbook

Hi, I developed this Air application which tests fine on Windows. At a certain time when i click a button, it is supposed to open a popup which does not work in mac. Is this a problem with multiple children getting added programatically? Also double click works fine at times and doesn't at other. Since this is a Mac only problem, are t...

How to find the full path to a programe already installed on the client in adobe AIR?

For my case, I want to call FMLE installed on the client, but how can I get the full path? My target platform is windows. ...

Copy a file included with an Adobe Air application out of the Application so that it can be modified.

Is it possible to provide an existing SQLite file with an Air installer, and have the Air application copy it out to local storage upon first execution so that it can be modified? Or do I need to take my pre-made db and recreate it on the fly with Air on execution (store all the queries required to create the tables/data in the applicat...

Can I export or publish an Adobe Director movie to a format that can be played in Adobe AIR?

Is it possible to export or publish an Adobe Director movie to a format that can be played in Adobe AIR? ...

AIR application invocation from browser (HTML)

I am trying to launch my adobe AIR application from the browser. I have the following set: application.xml <allowBrowserInvocation>true</allowBrowserInvocation> AIR App <html> <head> <title>New Adobe AIR Project</title> <script type="text/javascript" src="lib/air/AIRAliases.js"></script> var globalinv...

how to set flex html container htmlLoader.placeLoadStringContentInApplicationSandbox to true via action script dynamically

I am creating html container on run time and want to set htmlLoader.placeLoadStringContentInApplicationSandbox to true via action script how can i write code? If i am creating any html container in my mxml code and writting code like below "htmlContainerID.htmlLoader.placeLoadStringContentInApplicationSandbox = true;" it is working...

Adobe Air with HTML DOM

How do I use Adobe Air with HTML DOM? "<input type="text" class="inputtext" name="myemail" id="email" tabindex="1">" I tried document.getElementById('email').value = "[email protected]"; document.getElementById('myemail').value = "[email protected]"; It doesn't work ReferenceError: Error #1069: Property getElementById not found on Main...

flex air app - Get User's AD domain

Hi, Using Flex 4 / Air 2.0.3 Is it possible to get the active directory domain name associated with the logged on user? This page (http://stackoverflow.com/questions/1376/get-the-current-logged-in-os-user-in-adobe-air) shows the user name can be inferred from the user directory folder name, however is there a way to get the domain nam...

Finding A Child Control Based On X & Y Coordinate in ActionScript

In Flex/Actionscript When writing an on mouseMove event on a Canvas control for example, how could I check to see what control if any is under the mouse pointer at a particular coordinate? ...