Archive for the Category AS3

 
 

Embedding fonts in AS3

marcosweskamp posts this example:


Read the rest of the entry…

Preloaders in AS3

BIT-101 Blog comments

Garbage Collection and Weak References

First off: A wonderful series of articles by Grant Skinner about the new concerns regarding Garbage Collection in AS3. This can not be ignored if your doing AS3 coding.

Read the rest of the entry…

Oh, That Stage

Alright, running (Ctrl+F11) an ActionScript 3 Project from Flex 2/Eclipse was getting annoying. I couldn’t figure out why the SWF movie was positioned in such an unexpected way in the browser. The top left corner of the Movie was not in the top left corner of the browser window.

Read the rest of the entry…

Some AS3 Constants

This is nice. We now have some constants that we can use instead of “magic strings”. What I mean, is that we have something kin to pre-made Enums for some common values in AS3.

Read the rest of the entry…

AS3 DisplayObject subclasses

Taken from here.

Adobe's AS3 DisplayObject subclasses

Or, maybe I like this next one better. It comes from OReilly Essential ActionScript 3.0 (June 2007). It gives a little more information.

Adobe's AS3 DisplayObject subclasses (alternate diagram)

MovieClips with Reflections

Nice article here (http://www.adobe.com/devnet/flash/articles/reflect_class_as3.html).

Shape Size in AS3

Okay.. I’m copying here. This comes straight from waxpraxis’ website here (http://www.waxpraxis.org/?p=3). Hope he won’t mind.

Read the rest of the entry…

Applying Color Changes

O’Reilly’s “ActionScript 3.0 Cookbook” states in section 10.1 that this is the way to do a color transform:


Read the rest of the entry…