I didn't really expect to write a second part to this, but I wanted to dynamically call functions instead of doing what I usually do which is something like this:
Writing a general console for game and application development is almost always an important first step in my experience, so I figured I'd write one I could reuse often. However, I also like using goofy fonts (like pixel fonts, where the default system caret just doesn't look right.
Fairly simple method to select the entire contents of a textfield when it's focused. This is useful for form entries and terminals where the user may want to erase content currently in a textfield.
Occasionally you want to make an application or game that responds to its window being resized. This can be useful in a desktop environment (resizing the window) or in a browser (resizing the browser the swf is in).
Check it out! You can blur images dynamically using only Actionscript. This can be useful for pause screens or image gallery interfaces (to name just two of the uses). It's surprisingly easy to do. Tutorial follows. Download the source at the bottom.
Short post today, but it's really easy to get an Object's class in AS3, for purposes like checking what the user has clicked or what object type a character has run into (though I'd probably have a variable in the Object for the second case indicating what material it is).
I've added this static method to my Util class, so I can access it anywhere by typing Util.getClass(obj);
Something easy that everyone should be able to do, pure AS3 (no Flash IDE or timeline objects) - tracking the frames per second and memory of a current project! Here's how: