As3 game library