# How to trigger a function

**URL:** https://forum.kirupa.com/t/how-to-trigger-a-function/272548
**Category:** flash
**Created:** [October 6, 2008, 1:26pm UTC](https://forum.kirupa.com/t/how-to-trigger-a-function/272548 "2008-10-06T13:26:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![fs\_tigre](https://avatars.discourse-cdn.com/v4/letter/f/edb3f5/32.png) [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)
#### Post date: [October 6, 2008, 1:26pm UTC](https://forum.kirupa.com/t/how-to-trigger-a-function/272548/1 "2008-10-06T13:26:28Z")

</div>

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
