when movieClip stoped,how to let it run a function automatically ?

when movieClip stoped,how to let it run a function automatically ?

thanks alot. [import]uid: 21680 topic_id: 7468 reply_id: 307468[/import]