Logging in ActionScript 3

22nd February, 2010 – 9:27 pm

Logging is a fundamental part of any mid to large scale application, your application needs to be able to talk to other developers and Q&A engineers to help diagnose problems and gain insight into what’s going on under the hood. Jesse Warden recently wrote an excellent article on logging, however, my own implementation of [...]

Continue reading Logging in ActionScript 3

Error 2048 and Flash Policy File Logging

17th February, 2010 – 3:54 pm

Whenever you are working with Flash or Flex applications which make use of 3rd party feeds or data sources (such as XML or JSON), you need to be aware of how the Flash Player deals with Cross Domain security issues.
The easiest way to debug a 2048 Security Error is to enable Policy File logging in [...]

Continue reading Error 2048 and Flash Policy File Logging

FlexPMD and ANT – RuleSetFactory Error

9th February, 2010 – 9:58 pm

Just a quick post to save someone a few minutes of headscratching! I’ve just finished integrating FlexPMD, Adobe’s latest opensource offering into my ant build scripts following their documentation when I hit this error:

java.lang.NoClassDefFoundError: net/sourceforge/pmd/RuleSetFactory

Looking at my taskdef, everything appeared to be in order, it wasn’t until I searched the Adobe JIRA and managed [...]

Continue reading FlexPMD and ANT – RuleSetFactory Error

Automatically Generating a Maven POM file with ANT

26th January, 2010 – 7:20 pm

This one tripped me up for a while and doesn’t seem to be mentioned in the Maven ANT Tasks Documentation. I was working on a build process which makes use of Maven soley for deploying and versioning releases and ANT for the rest of the build. One thing I wanted to eliminate was [...]

Continue reading Automatically Generating a Maven POM file with ANT

Sorting Values Stored in a Dictionary

15th June, 2009 – 7:59 am

Looking through my incoming seaches from Google I’ve noticed that a lot of visitors to my site are trying to figure out how to sort values stored in a Dictionary. The short and simple answer is that you can’t as Dictionary’s in AS3 are meant to represent un-ordered HashMaps, however, there’s nothing to stop [...]

Continue reading Sorting Values Stored in a Dictionary

Sorting values in ActionScript 3

23rd May, 2009 – 4:05 pm

One of the next big projects at work will involve displaying a list of data to the user, this list will be generated server side and sent down as un-ordered XML, it is up to the client to sort the data and display it to the user. The system will need to be able [...]

Continue reading Sorting values in ActionScript 3

Using Dictionary Objects to Map Classes and Instances

20th March, 2009 – 12:05 am

This is a neat little ActionScript 3 trick which I’ve been using more and more of recently that I thought I would share.  The basic premise is that it allows you to use a dictionary which maps Classes to other data, the twist is that you can supply either the Class definition or an instance [...]

Continue reading Using Dictionary Objects to Map Classes and Instances

MoshiMonsters.com Homepage Redesign

10th March, 2009 – 10:07 pm

As some of you may know, I am currently working for MindCandy as an ActionScript 3 developer hacking away on Moshi Monsters – a safe, online world for kids to learn and play.  This week is a very proud one for myself as the homepage redesign which I worked on went live – I thought [...]

Continue reading MoshiMonsters.com Homepage Redesign

Steaming HD Content to the Playstation 3 with Windows Media Player 11

31st January, 2009 – 4:54 pm

This month I took the plunge and upgraded my entire Media Setup in the front room by replacing my ancient Goodmans 32″ CRT TV with a Samsung 37″ 720p LCD.  As with most major upgrades, this started a chain of events which resulted in me replacing my trust soft-modded Xbox running XBMC with a shiny [...]

Continue reading Steaming HD Content to the Playstation 3 with Windows Media Player 11

Dead Space Review.

4th December, 2008 – 11:06 pm

I’ve been doing a bit of reviewing over at dooyoo.co.uk in an attempt to raise a bit of pocket money in my down time.  I thought I’d cross post my thoughts on Dead Space.
It’s not often that a game will scare you senseless, but Dead Space is one of those rare gems which, if you [...]

Continue reading Dead Space Review.