AS3 homework