Archive for the ‘ActionScript 3’ Category

Logging in ActionScript 3

Monday, February 22nd, 2010

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, ...

Error 2048 and Flash Policy File Logging

Wednesday, February 17th, 2010

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 ...

FlexPMD and ANT – RuleSetFactory Error

Tuesday, February 9th, 2010

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 ...

Sorting Values Stored in a Dictionary

Monday, June 15th, 2009

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, ...

Sorting values in ActionScript 3

Saturday, May 23rd, 2009

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 ...

Using Dictionary Objects to Map Classes and Instances

Friday, March 20th, 2009

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 ...

MoshiMonsters.com Homepage Redesign

Tuesday, March 10th, 2009

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 ...

My Development Environment.

Friday, November 21st, 2008

I spend most of my development time sat in Eclipse, I find it funny (or maybe slightly alarming) that only four moths ago I had never ventured near an Integrated Development Environment and spent a lot of time toiling away with a Crimson Editor.  All I can say is that ...

The State of Logging in ActionScript 3

Sunday, October 19th, 2008

I've been looking at Logging Frameworks in ActionScript 3 over the past few days and I'm afraid that I'm slightly at a loss as for which approach is the best to take. There are a few Logging Frameworks out there, but Adobe has kindly supplied an intrinic Logging Framework, ...