MiniPong Game

My first game published for mobile devices is here.

Made in Flash Builder with Adobe AIR, Startling and Feathers (for the buttons and other components). Next on my list is to publish it to iOS, but for that, I need to get myself a Mac first, since Apple does not allow developers without an Apple machine to compile the application for the App Store.

For now, please check the Android version and let me know if you like it:
MiniPong Game on Google Play

The game has a new graphic interface and it’s also available online:

Color Value To Hexadecimal

A simple utility class that will help you convert a color value (from numbers) to hexadecimal color value.

Basically you can convert the color value to hex string with colorNumber.toString(16);
Now, if you have this shade of blue “13311”, for example, it will be converted to “33ff”.

You can fix that with while(hexColor.length < 6) and add “0” to in front of the hex color output.

Read more
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
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