EventManager 1.3

Dennin Dalke, a Brazillian Flash Developer emailed me a great method for the AS3 EventManager class (read the original post).


//adding multiple events at once.
EventManager.addEventListeners( loader.contentLoaderInfo, [
ProgressEvent.PROGRESS,    onSiteLoad_Progress,
Event.OPEN,                onSiteLoad_Open,
Event.COMPLETE,            onSiteLoad_Complete,
IOErrorEvent.IO_ERROR,    onSiteLoad_IOError
] );

It’s a great method to save retyping so many lines.

Get the updated class here. Also, if you have, are, or planning to use the class I would love to know how!

Nice Review of Boomshine

Here’s a nice review on Boomshine from CasinoGuide.com:

Brain Reaction

Lovers of Internet recreation have played all types of games, including first-person shooters, role-playing, pure action, gambling games via online casinos, mysteries, trivia, typing, and the list goes on and on. The gamers of the world are always looking for something a bit different. Enter Boomshine, a browser-based flash game that cleverly blends common sense with a little bit of luck, and the end result is summed up in one word: Entertaining.

Boomshine is a seemingly simplistic game controlled via your browser’s flash player. The object of the game is to click on any one of a number of randomly floating circles. Doing this will cause the clicked circle to expand (boom, in a sense), and the circumference will then envelop surrounding circles close enough to the action. What you’re left with – if done correctly – is a massive chain reaction of circles. Think about the way the Big Bang is taught, and how the universe began with a boom and then a chain reaction.

The game was created by Danny Miller, with the music supplied by Tim Halbert. The mouse-controlled Boomshine is addictive, mostly because it is challenging to complete each new level. Boomshine starts out simple, with users only having to envelop one other circle in the vicinity. But as the game progresses, you’re given tougher tasks – such as setting off a chain reaction of 27 spheres out of 45 floating within the perimeter. And though it may sound easy, a player’s timing and sense of direction must blend perfectly to advance through the more difficult levels.

Since the spheres carom off of the edges, billiards players might have a slight advantage. Anticipating which direction the circles are going is paramount; also knowing one click in the corner can prompt a chain reaction across the entire screen is a useful tidbit of knowledge. Players may spend their time chasing the direction of the circles, when they actually need to be focusing on how to reach all four corner of the square by way of chain reaction.

The game consists of 12 fun levels, with new high scores posted regularly. Once players get a feel for the task, the game moves pretty swiftly. But with the scoring system, barely squeaking by will not suffice; set off the ultimate chain reaction in each level to hold the high score. It’s definitely a challenge.

A Very Basic and Brief Introduction to HTML

HTML is a markup language. One of the first principals you should know is that HTML is actually just another form of a text file. For example, text files (like Microsoft Word files) don’t change. Notepad or Microsoft Word just knows how to open the files and display the files in a readable way. The same is with HTML. Web browsers read HTML files just like Microsoft Word reads .DOC files.

The reason HTML has all those < and > tags is because HTML was meant to be human readable. That way people can sort of, by reading the code, understand what’s going on and why the page is displayed in a certain way. Unfortunately, there needs to be a balance between what is easy for humans to read and something a computer can read.

For example, consider the HTML:

<b>Hello</b>

will display Hello in bold text on a webpage. Instead of having code that looks like

Hey browser, can you show the word Hello in bold text for me?

Computers have a hard time understanding and interpreting sentences like that. If they did know how to it’d be very computationally intensive. Consequently, markup languages like HTML are short and distinguishable so that web browsers can understand what the author of the webpage intended without using too much computational power. It’s much easier for a computer to search for < or > then it is to interpret an English sentence. HTML is a good universal language for web browsers to interpret.