Tag Archives: AVM2

ActionScript Virtual Machine 2

YouView – Smart TV UI

YouView is a Smart TV service in the UK, which runs on Set Top Boxes and Smart TVs. I worked on the original UI for years and thought I’d share some insights into best practices for building applications on such resource constrained devices.

Continue reading YouView – Smart TV UI

CODING WRONGS – Where do I start with the bad?

It gets scary out there sometimes. During my freelance career I’ve worked at a lot of different companies and have seen such coding horrors as you cannot imagine. So I thought I’d start immortalising some of them – so that we can all learn better coding practices, by looking at the bad.

Starter for 10 – What’s wrong with this picture?

public function doSomething(stuff:String):void
{
	var newPixels:BitmapData = new BitmapData(someUint, someUint, true, 0);
	someBlitUtil.blitStuffTo(newPixels, stuff);
	someBitmap.bitmapData = newPixels;
}

Did you spot the fubar? It’s not an obvious one. Continue reading CODING WRONGS – Where do I start with the bad?