Flash AS3 little framework