AS3 is a pain in the ass