Yes, I am lame. I even automatically generated documentation using my automatic documentation generator, and I have added a new section called flash, where my various exciting outings with flash will go. Please let it end here.#include "hash.as"
myHash = new Hash();
myHash.set("this key", "some value");
myHash.set("that key", randomObject);
thisText = myHash.get("that key");
ActionScript No Longer Sucks So Much
20th January 2005 at 02:38
Oh how I hate ActionScript. I was fed up with it not having hashes, so I wrote my own hash algorithm. It's called like this:





Comments
myHash = new Object();
myHash['key'] = 'value';
value = myHash['key'];
set("crapHash."+key, value)
value = eval("crapHash"+key);
But that's rather annoying...