AS3 component example bug fixes