Archive for March, 2009

Vector bug in FP10

Mar
26

Adobe’s (nice) new Vector class has a bug in it.


var v:Vector.<String>=new Vector.<String>();

v.push("one");
v.push("two");
v.push("three");

// Tracing out vector here produces "one","two","three" as expected

// Stick a new value on the front
v.unshift("zero");

// Tracing out vector here produces "zero","one","two" -- eh? We've
lost the last element.

// This is the equivalent to unshift(), using splice instead...
v.splice(0,0,"minusOne");

// Tracing out vector here produces "minusOne","zero","one","two", as expected.

Annoying, but at least there’s a workaround.

It’s already on Jira, and has apparently been fixed – but I assume it’s a Flash Player issue, so I’m guessing there’ll be broken versions in the wild for quite some time to come…

https://bugs.adobe.com/jira/browse/ASC-3620

Recommendation for Xbox360 owners…

Mar
22

If you haven’t played the Xbox game Psychonauts, then get it – it’s on Xbox Live as a downloadable game.

It’s by Tim Schafer, the guy behind Day of the Tentacle, Grim Fandango, Full Throttle and a lot of the first two Monkey Island games.

It’s sort of a platform game. Ish. The main character, Rasputin, is at psychic summer camp; he must enter the minds of other people to foil a sinister plot. And that’s the least outlandish bit of the whole thing…

Well worth the money. :-)

Protected: Because Lj user=”westernind” asked…

Mar
15

This post is password protected. To view it please enter your password below: