Showing Articles in Category: Tips

AS3 and Flash Document Class

POSTED Wed Oct.31.2012 by Dave Seah UNDER Tips

I’ve been thinking about porting some old ActionScript 2 code to ActionScript 3 and building an AIR app. The big advantage of ActionScript 3 is that it’s faster AND has a new package hierarchy that makes way more sense than the old one. For example, you can now instantiate a MovieClip or TextField with var [...]

Leave a comment

Quick and Dirty CSS Templating Engine

POSTED Wed Oct.26.2011 by Dave Seah UNDER Tips TAGGED ,

I recently posted about creating some Baseline Grid CSS for my web typography. The first iteration was hand-coded for a specific font-size and line-height. A reader mentioned that there are CSS templating engines available called LESS and SASS respectively. They both allow you to treat CSS more like a real programming language, with constants and [...]

3 Comments

List.js List Manager in Javascript

POSTED Sun Oct.23.2011 by Dave Seah UNDER Tips

My cousin posted a link to list.js, a 7K (minified) Javascript list control. It works with Javascript/HTML and implements a way of dynamically managing a list data structure and displaying it through a template engine. It’s a nice compendium of Javascript coding techniques too, easily readable and cross-platform. In the grand scheme of things, it’s [...]

Leave a comment

Javascript Closures

POSTED Sat Oct.15.2011 by Dave Seah UNDER Tips

This detailed FAQ about Javascript closures is worth reading to understand the power of this mysterious concept. It doesn’t exist in other languages I’ve studied, and it’s possible to misuse. This article helps understand how the Javascript interpreter implements and uses them, which can help you avoid creating inefficient code.

Leave a comment