Because of some limitations (example) in the built-in ActionScript 3 Dictionary class I’m looking to build a wrapper which adds such things. Is it possible to keep the syntax below for my custom class, and if so how?
var dic:MyDic = new MyDic(); dic[stuffy] = someObject;
Yes you can using Proxy function but with performance overhead: