Archive for November, 2011
ByteArray class, introduced in Flash Player 9, has a pair of very powerful functions alongside all the usual ones like
writeInt. It actually allows you to read and write AS3 objects and provides an easy, fast, and compact way to serialize anything without writing any code. Today’s article explores shows you how to harness the power of these functions to improve your data serialization and deserialization.
Flash Player 11’s new
Stage3D hardware-accelerated graphics API not only allows you to write shaders (custom code to position vertices and color pixels), it downright requires you to do so. To get the lowest level access (and therefore most power) out of your shaders, you write them in an assembly language called AGAL. Read on for a test app that compares the speed of these shader instructions, the fundamental building blocks of all
Thanks to Tronster for today’s guest article! If you’re interested in writing a guest article, e-mail Jackson about your idea.
Natively, Flash does not offer a two-dimensional array type. But, Flash’s one-dimensional
Array and various other container types (i.e.,
Vector) allow for user-created 2D array solutions. Today’s article explores the performance of various ways to make a 2D array.