Archive for the 'Programming' Category

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

Yes, I have become a Flexaholic . This is a simple RSS reader, I developed it using Adobe Flex.. The whole application contains only 19 lines of code .
Code:

<?xml version=”1.0″ encoding=”utf-8″?>
<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml” layout=”absolute”>
<mx:StringValidator id=”urlValidator” source=”{myTextInput}” property=”text”/>
<mx:HTTPService id=”myRSSFeed” url=”{myTextInput.text}” />
<mx:Label x=”10″ y=”12″ text=”RSS URL:” fontWeight=”bold”/>
<mx:TextInput id=”myTextInput” width=”357″ x=”68″ y=”10″/>
<mx:Button x=”371″ y=”40″ [...]

Flexing with PHP

I have developed this example to understand how the data services and data providers work in Adobe Flex, and after I finished it I thought this would be a good mini-tutorial.

I used PHP as the server side scripting language, but the same can be applied to any other language e.g. JSP/Serlvets, ASP, …etc.
First You [...]