Steven Vachon

Archive for posts categorized as "blog-category-engineering"

“Back in the day”, we used to handcraft our websites with static HTML files on our local machines before uploading them somewhere; either a free web host like Tripod, Angelfire and GeoCities, or a paid one like GoDaddy. Read more

Beautifying parts of your work is never a bad idea. I just wish that I could remember where I got this idea because it really is a neat one. Read more

I was writing some code that generated a string from an array and came across a pretty rare situation where I could either get the length of that array or the length of the assembled string. Wondering which was faster and finding nothing on Google, I put this benchmark together. Read more

I have never stored my particle instances in an array or any unique variables. There’s just no need to. The same can be achieved using only the child list, and with less bloat. New to Flash Player 10 is the Vector() class, and while they are faster than arrays, are they faster than getChildAt() and the child list? Read more

Like many Flash developers, I like writing classes and optimizing bandwidth with remote libraries. ActionScript 1 uses prototypes to extend methods to a function object, and to be able to access that class globally, one would use _global. Unfortunately, globals do not work as well as they’re explained to. This bug is resident in all minor versions of Flash Player 6, and still exists in Flash Player 7. Read more