An Actionscript 3 entity system framework for game development