Posts Tagged ‘adobe air’

Yup, this my second Adobe AIR application and YES it is another RSS Reader but this time I was studying how to manipulate XML data in ActionScript 3.0 using E4X syntax “really cool BTW”. Of course the source code is huge if you compared it to the Flex version of the same application [...]

This is my first Adobe AIR application, I was experimenting the HTML component ..

Source code:

<?xml version=”1.0″ encoding=”utf-8″?>
<mx:WindowedApplication xmlns:mx=”http://www.adobe.com/2006/mxml” layout=”vertical”
title=”My AIR Browser”>
<mx:Script>
<![CDATA[
private function onClick(event:Event):void {
if(event.currentTarget == urlButton){
myHTML.location = urlTextInput.text;
} else if(event.currentTarget == backButton){
myHTML.historyBack();
} else if(event.currentTarget == forwardButton){
myHTML.historyForward();
} else {
//DO NOTHING!!!
}
}
]]>
</mx:Script>
<mx:ApplicationControlBar width=”100%”>
<mx:VBox width=”100%”>
<mx:HBox width=”100%”>
<mx:Button id=”backButton” label=”<” fontWeight=”bold”
click=”onClick(event)”/>
<mx:Button id=”forwardButton” label=”>” fontWeight=”bold”
click=”onClick(event)”/>
<mx:Label text=”URL:” fontWeight=”bold”/>
<mx:TextInput id=”urlTextInput” text=”{myHTML.location}” width=”235″/>
<mx:Button [...]

I have found this gem. It contains many skins for Adobe Flex and AIR applications.
ENJOY