Free file of the month on ActiveDen

Image pointer details viewer - Free file of the month of ActiveDen

Hello everyone,

I am pleased to announce that one of my Flash projects is now the free file of the month on ActiveDen. You can hurry up and grub it because it is only available for free this entire month of June 2013.

Enjoy!

Quick Tip: Replace Breakline (\n) with comma

Today I have a very quick tip but useful. I’ve wasted a few minutes of my life trying to find an answer for this because I’m not an expert when it comes to regular expressions.

This code comes in handy if you’re trying to remove \n (a break line) from a string and you want to replace it with something else (line a comma, as shown in the example below) you can use the following code:

string.replace(/[\r\n]+/g, ",");
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).