adobe-air

air flex windowed application rotation

Hi, We have a air/flex app that we want to add an effect to. Basically we want to rotate the whole window when a particular button is clicked. Similar to say how, the clock widget behaves in mac os dashboard when you click the 'i' button, the whole widget rotates. I'm wondering if this sort of thing is possible in air/flex 3? Thanks ...

flex context menu clipboard item clear

Hi, I am using context menu using the code given below in a flex air application. For me all Context Menu Clipboard Items are working fine except "clear". Plese suggest me where I am wrong. var cMenu:ContextMenu = createContextMenu(); private function createContextMenu():ContextMenu { var editContextMenu:ContextM...

Flex 3 TileList Drag/Drop/Re-order Exception. How do I rearrange tiles?

Hi all. I’m in need of some dire help here. I'm writing an application in Flex 3 that utilizes a TileList with a custom itemRenderer to display info from a service. Unfortunately, I'm running into an exception with the drag/drop/rearrange portion of the TileList. With dragEnabled and dragMoveEnabled, I receive a fully-reproducible ex...

What's the point of Adobe AIR?

I am a little confused. I keep seeing articles of how Adobe AIR can let you download apps that run on the desktop. Don't we have this already? How is this different from any WinForms or WPF application? Just the fact that you can download it from the web? Am I missing something? ...

Advantages/disadvantages of writing a web app using Adobe Air/Java as opposed to platform specfic languages?

I need to write a web app (that also works offline) for windows and mac (and linux as well perhaps). I was wondering if I should use something like air/flash/java for this, the advantage being I will only need to write the app once. However, I was wondering if there are any disadvantages of doing it that way as opposed to ...

Is there a built in method to merge the properties of two objects into a single object?

I'm looking for a built-in method that combines two associative arrays or objects into one. Using webkit in Adobe Air if that makes a difference. But basically I have two objects or associative arrays if you will: var obj1 = { prop1: "something", prop2 "anotherthing" }; var obj2 = { prop3: "somethingelse" }; and I want to do merge the...

Hide Javascript/CSS in Adobe AIR application deliverable

I've created an Adobe Air application that, when installed, will distribute the Javascript and CSS in the same readable format it was built with. This doesn't surprise me, but I was hoping that there would be some option that would have Air automatically obscure the source of the application for you upon installation. I know that I c...

How can I do Flash 3d animation, Flash only supports 2d animation?

I am a beginner Flash developer. I saw some site like [http://www.3dfreeair.com][1] and another site also. On this site some 3d Flash animation there. How can I do like those animations? Because Flash only supports 2d animation. If you know, send me any reference url for studying 3d animation in Flash only. ...

Flex zoom and scroll problem

Hi All, i am required to zoom a canvas through Hslider. The problem is after zooming the canvas i cannot scroll to the extreme left and top of the canvas i.e some part of left and top canvas are not visible. i cannot find the reason. The source code for the example is given below. " import mx.events.SliderEvent; private functio...

What restrictions/workarounds are needed for third parties external swf

We are loading external swf content into an adobe air application. Content is provided by an increasing number of third parties. Being third party content, it will be loaded in a separate security domain (trustContent=false) and a sibling app domain (loadForCompatibility=true). We are doing this using the Loader class. What are the fea...

is there any way to acess swf embeded in html page from air application? [my air application loads the html page via html loader]

is there any way to acess swf embeded in html page from air application? [my air application loads the html page via html loader] ...

Would it be ridiculous to use a switch statement to handle irc server codes?

There are quite a few of IRC server codes I am working on a small IRC client for Adobe AIR, and I started out by supporting only a few of these initially, and then a switch statement didn't seem like a bad idea. But as I support more and more, the switch statement is getting longer and it feels like it's a little out of control. One iss...

custom components with ColorPicker and ComboBox

Hi, I've a custom component with a ColorPicker and a ComboBox grouped using a ApplicationControlBar. This custom component is created at runtime using actionscript and added to the application (AIR application). When a button is clicked, this custom component is removed from the main application and added to a window to show it in a se...

What is the best way to write to several logs that are continuously being updated?

Working on an irc client in Adobe AIR in JavaScript, and thinking about logging. Each channel would have its own log file. I wouldn't keep all of the logs open while the app was running would I? I'd log every few minutes? What's the best way to do this? ...

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. ...

IDE with step-through debugger for Adobe Air / Java application

I'm looking for an IDE to use for creating an Air interface to a desktop Java application (using something like Merapi for Air / Java connectivity). I'm only interested in debugging ActionScript and Java (no mxml, JavaScript, or AJAX). I've used a previous version of the FlexBuilder Eclipse plugin that had step-through debugging. You co...

clone flex component

Hey I am trying to duplicate a flex component at run time. For example if i have this mx:Button label="btn" id="btn" click="handleClick(event)"/> i should be able to call a function called DuplicateComponent() and it should return me a UI component thts exactly same as above button including the event listeners with it. Can some one ...

Is it possible to modify Adobe Air's WebKit settings in the mx:HTML component?

Adobe Air's (read: Flex) mx:HTML component uses WebKit to render webpages. As such, does anyone know of a way to tweak WebKit's settings via the Air application (or a Flex API)? For example, I'd like to set WebKit's "enable-private-browsing" setting from "false" to "true". ...

How to display XML data (extracted from PHP) in an Adobe Air Application ?

Hello I would like to create a small Adobe Air application which would extract XML data from my site and display it in my Adobe air application. I have the xml part setup, when i run the xml file, it displays the results in the browser. Now what i need is to display the same results in my adobe air application. For e.g. I have a simpl...

Problem with within datagrid of itemRenderer checkbox - still can't Solve the problem

i used iteamreander in datagrid . if i select checkbox in grid automatically select another checkbox why? plz explain My xml data is more then 50 records. <mx:DataGrid change="calculate()" id="calamount" x="0" y="3" width="327" height="337" variableRowHeight="true" dataProvider="{xml_coupon.lastResult.Teamco...