Archive for November, 2011

AS3 vs. AS3

Tags: ,

One frequent request I get on my AS3 vs. JavaScript series is to test AS3 in more environments. Today I’m doing just that and testing its performance in browsers (plugin and ActiveX control) and standalone/projector mode across Mac OS and Windows operating systems. Does it make any difference? Read on to find out!

Read the rest of this article »

8 Comments

Serialize Anything

Tags: , ,

The 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.

Read the rest of this article »

39 Comments

AS3 vs. JavaScript Performance Followup (November 2011)

Tags: ,

It’s been about 8 months since my last test of AS3 versus JavaScript and there have been several major releases of both browsers and the Flash Player. Today, we pit every major browser against each other and Flash Player itself to get an updated picture of which provides the fastest scripting environment on the web.

Read the rest of this article »

11 Comments

Stage3D AGAL Instruction Speed

Tags: , , , , , , ,

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 Stage3D apps.

Read the rest of this article »

12 Comments