function play_anim_by_name(obj, finish_callback, anim_name) { var slot_num = m_anim.get_slot_num_by_anim(obj, anim_name); m_anim.play(obj, finish_callback, slot_num); }