Archive for August, 2009

Initializing Constants

Tags:

Today I bring to you… another silly compiler quirk! Read on for the silliness.

Read the rest of this article »

No Comments

Changing Arrays Midstream

Tags: ,

I often wonder about language features that I know have a lot going on behind the scenes. In AS3, this commonly has me wondering about the for-in and for-each loops, which I use frequently. This article is about what happens to those loops when you change the array you’re iterating over during the iteration.

Read the rest of this article »

4 Comments

Indexing Anything

Tags: ,

Indexing is a little bit special in ECMAScript languages like AS3, AS2, and JavaScript. MXMLC will gleefully let you index just about anything, even if there isn’t a chance it’ll work.

Read the rest of this article »

1 Comment