2 invaluable Drupal development tips: list all available variables and...
The Drupal Devel module includes some invaluable functions that make working with Drupal much much easier. A short list of these functions can be found at this post. One of these is the dpm() command...
View ArticleCommon Flash Compiler Errors: #1042
This error shows the following in the Compiler Errors window: 1042: The this keyword can not be used in static methods. It can only be used in instance methods, function closures, and global code....
View ArticleCommon Flash Compiler Errors: #1046
This error shows the following in the Compiler Errors window: 1046: Type was not found or was not a compile-time constant: [Class name]. Quick Answer and Solution Where I have “[Class name]” above you...
View ArticleObject-Oriented JavaScript Tip: Overriding toString() for readable object...
JavaScript has a core Object class that contains a toString() method that is called whenever a request is made to convert an object to a string (like related ECMAScript-based ActionScript). This is...
View ArticleObject-Oriented JavaScript Tip: Creating static methods, instance methods
Custom JavaScript objects can have instance methods (function that are associated with a particular JavaScript object), but like other Object-Oriented languages, they can also have static methods, that...
View ArticleObject-Oriented JavaScript Tip: Implementing the Singleton Pattern
The Singleton design pattern is a development approach that ensures only a single instance of a particular class is available in a system. Imagine building the game of chess, you would only want there...
View ArticleCreating a date countdown timer in ActionScript 3 / Flash
Creating a countdown timer in ActionScript is quite easy. The essentials of it are: Specify a target date to countdown to using the Date class. Create a Timer instance to check the countdown time each...
View ArticleThis isn’t right… MovieClip nested inside Button throwing null object...
A great thing about teaching is that your students approach problems in ways you haven’t done before and run into problems that you never knew existed. This is one such problem in Flash CS4 and a...
View ArticleAuckland Adobe CS5 Roadshow
Under the slogan of design without boundaries, work faster, and streamline critical processes, the CS5 Roadshow kicked off at Skycity Convention Centre in Auckland today. The hosts for the day were...
View ArticleIncorrect value in Microsoft Excel LOOKUP function
While developing a spreadsheet that used the LOOKUP function I discovered what appears to be a bug (possibly a rounding error) in Excel. Also, as I have not checked on Windows, this is a Mac OSX issue...
View Article