Latest comments

I'm Great, I'm Fantastic, You Wish You Were Me

Hi Shawn!!!
I think you meant "shorn" :)

Radiac's Swiss Adventure

Leela

Yay! But can I just say, you're really really good at French, and even I am not that bad! When we spoke to people in French, they would reply in French! And then we wouldn't understand!! Oops!

ActionScript No Longer Sucks So Much

Ahh, so they have. Oh well.

Hashes aka objects have been around since Flash 5. Use it just like Simon Willison described

Food, Work and Yay

Leela

I like your new site! But I have not investigated it much, scared to look at any of the games in case the silver fox comes and busts my ass!
Ttfn!

ActionScript No Longer Sucks So Much

I may be wrong but I think associative arrays came along in MX 2004, I'm working in MX 2002.

Maybe I'm missing something, but would Actionscript's associative arrays do the same thing? I hash movieclip objects into an array to look up stuff, before I realized I could just stuff the associated object into the movieclip object itself.

Annoying Obscure Flash Bugs Episode 2: The Phantom Caret

Awesome! Glad I could be of some help :)

I've been chasing the phantom caret for a couple of hours... found this with keywords "Selection lose focus actionscript bug", when it became apparent that there was some lameness with the textfields not losing focus...

ActionScript No Longer Sucks So Much

If it was anything like JavaScript you could, but alas, it's not. At least I haven't found anywhere that says it is, just lots of people saying it's not. The closest is using a variable with the name of the key, like:

set("crapHash."+key, value)
value = eval("crapHash"+key);

But that's rather annoying...

If it's anything like JavaScript, can't you just use objects as hash tables?

myHash = new Object();
myHash['key'] = 'value';
value = myHash['key'];

Annoying Obscure Flash Bugs Episode 2: The Phantom Caret

Well this isn't a normal entry... think of it as more of a public service announcement!

Leela

And you wonder why I never comment on your journal!! It's not very accessible to normal people is it!!

Ahh, but you didn't stumble across the page after trying to fix the same problem as me, so you wouldn't! The instruction to comment is only for those people who find it through a search engine, probably in 2007 or something :)

I Help Support Terrorism! (maybe)

Happy New Year!

Nat

Happy New Year to you too!

We Love Christmas

I just untarred my backup. took 26 seconds... sucker!

Indeed yes... you must have done something in the last 5 days or so.

I'm sad that there are no post-Christmas updates :(