Attention: you're visiting an archived version of this post on my old website. Click here to view this same post on my new website.
One of the nice new things introduced by Flash Lite 2 is the ability to use Actionscript 2 when programming. For those of you who don’t remember, Flash Lite 1 was more or less a freak of the nature, with a language that was a mix of old Flash 4-ish “actions” and Flash 5 objects. Working with Flash Lite, today, is more similar to working with Flash 7 as a target.
As such, part of my development work with Tweener was testing how the class performed when being ran on a mobile device, both on Flash’s “emulator” and on the device itself. Some of these test samples turned out pretty well, so I’m releasing them as soon as I can get them to look nice. One of them is my “menu” example, created to show what Flash Lite is capable of when it comes to different menu types. This was created on half a day so it’s not any kind of revolutionary interface, just a few different icon menus. And luckily, it works in the browser.
Click the above movie (to get focus) then use the left and right arrow keys to navigate from icon to icon. Pressing up or down switch between the different menu “types”.
Speed on cellphones aren’t as fast (or as stable) as the ones shown above, though. Resizing and moving many vector drawings is still something the player can’t do very well. On my Nokia 6681, I get an average of 13 fps when moving, and 30fps when idle. Not bad for a start, though.
Download the .fla and class source files here.