AS3 Global Object 2.0
November 6th, 2009Hello,
I’ve just refreshed AS3 Global Object to version 2.0 by refactoring and simplifying most of the code. The main change is that the classes now reside in new package com.inruntime.utils and there’s only two of them (down from four) which also solves some code conflicts.
Also, AS3 Global Object has got a new home at Github – http://github.com/inruntime/AS3-Global-Object. The download links in this blog were updated and are now pointing to the latest release in Github repository.
Enjoy!


November 6th, 2009 at 4:26 pm
Hurray for using proxy, I’ve only used it once or twice to extend an Array… Still kind of missing prototypes in AS3, I know you can use still them but they don’t quite work the same way. Thanks for sharing the class Uza.
November 6th, 2009 at 9:03 pm
Using such global objects is a VERY bad practice which can save you some time in a small project but will grow in a major pain in the ass later.
November 6th, 2009 at 9:52 pm
@Valentin – On the contrary, Global Object is a huge time saver and occasionally a way to increase performance especially in large real-life projects.
One common example of usage is building complex user interfaces – instead of bubbling events and establishing advanced listener systems, Global Object allows to streamline an shrink the code up to 90% by passing and listening to events on $:Global.
Again, this is what people are saying. If you have facts that prove them wrong, please post them here.