As I see that the font-icon technique is becoming very popular, and I personally like it very much I decided to post some code of how to create a simple button with an Icon using only AS3 as it is lighter and much faster on mobile devices. We will create a class that will hold…

Here’s an after midnight project I undertook. So I’ve always wanted that grid gallery layout and effect for my images or slides. So I decided to make it happen. A useful tool in this was TweenMax from the greensock library (I love their tween effects, easy and to the point). So here’s the simple code…

And yes this is my first game build on Air and Flex. The AI is kinda hard to beat, and it also keeps your scores and win %… Check out the Air Desktop version: Here The Android application: Here And the source project: Here ps: the code is a little messy, it was made in…

Below I present a way to control the HTML scrollbar in order to scroll to a specific component.I mostly use it when I deal with long repeaters or lists. The following example takes a repeater that creates groups of components, such as textAreas and buttons and places them one after the other. So by using…

I was really fed up of editing my posts all the time to add “& lt” and “& gt” instead of < and > so I thought to make an air application to do just that. So here’s the code for the tag removal tool: <mx:Script&gt <![CDATA[ import mx.controls.*; import flash.filesystem.*; import flash.events.Event; import flash.net.FileFilter;…

This is the second part of the Flex-PHP-XML tutorial, in which I’ll show you how to delete nodes from an XML and thus making it work like a database. First we need to have something in our XML so lets assume the following content: <?xml version=”1.0″ encoding=”UTF-8″?&gt<music&gt <newItemID&gt <titleID>very soon.mp3</titleID&gt <urlID>http://www.filerecycle/music/very soon.mp3</urlID&gt <dateID>9/8/2009</dateID&gt <descriptionID>delete fodder…</descriptionID&gt…