Category Archives: Syntax
Dictionary Class in AS3
When was the last time you used the Dictionary? No, seriously, when was the last time??? [as3] var dictionary:Dictionary = new Dictionary(); [/as3] Perhaps one of the most interesting additions to the ActionScript 3 language is the new Dictionary Object. … Continue reading
Try it, if you dare!
Today, I’m going to talk about the Try…Catch…Finally trio. As developers, we perform all the initial testing on our apps before passing them along to the QA team, or even going live with it, depending on your setup. Even with … Continue reading
AS3 undefined vs null
Believe it or not, there’s a difference between undefined and null. It may seem redundant to have two constants that represent invalid values/variables, but given the dynamic nature of the ActionScript language, their existence is pretty evident. If you don’t … Continue reading
AS3 Array vs Vector
Another great new feature of AS3 and Flash Player 10 is the Vector Class. Vectors are a lot like Arrays, in that they’re unsorted lists which can hold values/variables – with one caveat – they can only hold one type … Continue reading