Archive for March, 2008

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

I am a big fan of fighting arcade games since I was a little kid. Some of the famous titles I like: Street Fighter, Mortal Combat, King of Fighters …etc.
There was this perfect fighting arcade game named War Gods I used to play it back in 1998, I had its original CD and used to [...]

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