Christmas Day Countdown – Free Android Application

Yesterday I spent some time and made a cool little application with Adobe AIR technology, a simple application that will count down the days ’till Christmas.

Read more
Numbers to letters with ActionScript 3

Numbers-to-letters Today I’ve been working on a project where I needed to convert numbers to letters.

I’ve made a nice utility class for this simple task.
Not sure if it’s the best way but it works perfectly fine.

Basically I have an array where the items need to be in alphabetical order instead of numbering them with 1,2,3,4,etc.

Read more
Book Creator For Kids

Update: At the beginning of this year, the client requested a few new features and a some features removed. Above you have a screen shot of the new app and below you can find an image with the old interface.

Lately I’ve been absent because I have been working on a cool Book Creator Flash application.

This project was a new experience for me since I got to work with Flash and server-side code.

The application is made for kids between the ages of 8 and 12 years.

It’s a Book Creator type of app that lets you configure a simple book. You can then print the book to your local printer or save on your profile.

Read more
Quick Tip: Test to see if an XML attribute is present

Today I received a question about how to check and see if an attribute is present into a XML node.

I thought it wold be a good idea if I post the answer here in case someone else needs to do the same.

This is the ActionScript code:

if(node.@attributeName in node)
{
    //the attribute is here
}

As you can see, the code is very simple, “node” is your actual XML node and “attributeName” is exactly what it says, the name of your attribute inside the XML node (the one that you are checking to see if it is there).

Using lineStyle to draw stroke without affecting the size of the holder container

Have you ever tried to use the graphics class to draw a rectangle with a lineStyle (stroke) and then set bigger width and height values for the container that holds the graphic? If so, you probably noticed that there is a size difference between a rectangle with lineStyle and a rectangle without lineStyle.

If you trace the width and height values of the container, everything seems to be fine. Only if you run and look at the SWF you’ll notice a visual difference between those two (top image).

Read more
Using ExternalInterface and JS to make an Expandable Flash Banner

Expandable Banner – How to make it and embed it into your HTML page without affecting the rest of the page.

Today I helped a friend who needed an expandable banner embedded into a news website. At first, I had the instinct to searching on Google and giving him an URL or something where he can read more about this. To my surprise, none of the info I got through search engines was relevant or complete for this specific subject.

This led me to create an example and now I want to share that example with those searching for how to make an expandable Flash banner.

Read more