Randomly generated platform game using AS3