I recently worked on a video player in Flash for a predominantly HTML/JavaScript site, which involved having to do a lot of communication between ActionScript and JavaScript. This turned out to not be as straight forward as I had hoped, so I created a set of JavaScript and ActionScript code to wrap up the nasty bits and make it as simple as possible.
Read: Flash/JavaScript Communication »
It’s now easy to dynamically embed fonts loaded from a swf using Denis Kolyako’s getDefinitionNames class. This combined with external styleSheets is a great solution for multilingual projects which require different fonts to be used for different languages.
Read: Flash, Dynamic font embedding »
Being predominately an Actionscript developer I’m not one of the people getting over excited by HTML5 and the hype surrounding it, especially considering its suggested timeline. But I won’t get onto that already exhausted subject.
I think it’s important to understand the capabilities of technologies to make the right calls on which is appropriate for each project. So I’ve started having a bit of a tinker with HTML5 and really gone back to basics! To have a play with the canvas I messed around with doing a coloured percentage fill on an image.
Read: HTML5, Percentage fill image »
I am by no means an expert at developing for Facebook, and to be honest neither would I want to be. What little I have done on the Facebook platform, I’ve found myself getting frustrated with the confusing, out-of-date and often half-baked documentation.
At last it seems like Facebook might be getting their acts together and the Graph API looks impressive and simple to use.
Read: Flash, Facebook Graph API in tabs »
Bitwise shifting can be useful in AS3 as it can give some quite significant performance gains. It isn’t actually as complicated as you think and the name explains exactly what’s going on.
Read: Bitwise Shifting »