How to trigger a function

Hi,

How can I trigger a function when something either started or ended using actionscript 3.0, similar to the parameters use in TweenLite (onComplete - onStart)?

Could someone be so kind and show me how to do this or tell me where to find information about it.

Thanks,
fs_tigre