Archive for the ‘Flash’ Category

Android for ActionScript developers, part 4: Reading XML is nuts

Posted on 8/February/2012 at 12:42

One of the most baffling things for me when I started messing around with Android was dealing with XML files, especially parsing them. In Actionscript, parsing a XML is simple enough: var xml:XML = new XML(“<root>Some-stuff</root>”); And you can get children pretty easily using E4X, or the standard syntax. For example, to get a list […]

Android for ActionScript developers, part 3: Threads and blocking

Posted on 24/January/2012 at 19:19

Multithreading support – the ability to run different blocks of code separately, in parallel – has always been a requested feature in the Flash/ActionScript community (and it’s, indeed, coming). But the reality is, due to the way the platform is designed, reasons to use concurrency in Flash are very rare. I’m sure some exist, but […]

Android for ActionScript developers, part 2: Events and listeners

Posted on 17/January/2012 at 19:09

The first thing that made me pause when working with Java is discovering that it doesn’t have event listeners – at least not in the sense that I’ve come to expect based on my ActionScript experience. In ActionScript 3, you attach an event to an object like so: myObject.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); protected function onMouseDown(e:Event): void { […]

Android for ActionScript developers, part 1: Getters and setters

Posted on 12/January/2012 at 12:23

I’m just in the process of finishing the development of an Android application at work. This reminds me that since I’ve been a dedicated Flash developer for more than a decade, switching to a different platform was an interesting challenge, and one worth sharing. Luckily, I saved a lot of notes in the process, and […]

A mobile AIR application post-mortem

Posted on 9/November/2011 at 13:47

With Kana Mind released (even if still in beta form), I figured I’d talk a little bit about the experience of writing a mobile application using Flash (and Adobe AIR) as a platform (there’s also the weird timing of Adobe announcing they won’t be updating the Flash plugin for mobile devices anymore, focusing instead on AIR apps). The […]

Kana Mind, a mobile AIR Application to help you learn Japanese

Posted on 4/November/2011 at 12:01

Almost 20 years ago, I decided I wanted to try and learn Japanese. Other than studying the language’s grammar and vocabulary, I also had to learn the basic symbols used by the Japanese language – the Kana – so I could read Japanese properly. The Kana consists of 96 symbols (plus variants) which are to […]

Using StageText for AIR applications

Posted on 27/October/2011 at 18:35

Adobe AIR 3 includes a great new feature: StageText. Using the normal TextField for text input works just fine, but this new TextField-like class allows you to control your text input more closely (especially on mobile devices) with many options like auto capitalization, software keyboard type, and more. It has its caveats (it’s a separate class, […]

The developer’s guide to browser adoption rates

Posted on 13/October/2011 at 12:25

Just posted a new article on NetMagazine: the developer’s guide to browser adoption rates. It analyzes the speed of adoption of new browser versions and compare them to each other, and to the Flash Player plugin adoption. Much like my old Flash video playback benchmark, this is one of those things that started with an […]

Setting up an Android environment for Flash mobile applications development

Posted on 15/August/2011 at 11:36

Update (May 2012): The information below applies to an old version of FDT and is deprecated. If you’re using FDT 5.5 or newer (which I recommend), you can skip most of it and just follow the IDE’s own mobile project setup steps, which are must easier and straightforward. There’s something wonderful about using the same […]

Eye tracking testing

Posted on 12/August/2011 at 10:36

Recently, in one of our work pitches at Firstborn, we were asked whether we could create a web-based application that could use your webcam to track the position of your eyes. We didn’t know for sure that would be possible (or to which level of accuracy) so we decided to spend a few days creating […]