# Checking when function is complete?

**URL:** <https://forum.kirupa.com/t/checking-when-function-is-complete/200536>\
**Category:** flash\
**Created:** [September 13, 2006, 1:36am UTC](https://forum.kirupa.com/t/checking-when-function-is-complete/200536 "2006-09-13T01:36:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flaevo](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@Flaevo](https://forum.kirupa.com/u/Flaevo)\
**Post date:** [September 13, 2006, 1:36am UTC](https://forum.kirupa.com/t/checking-when-function-is-complete/200536/1 "2006-09-13T01:36:20Z")

</div>

Is there a way to add a listener or something to a function so when it’s finished it will run another function?

I need to run a function in a class, and when it’s completed run a function on the main timeline or elsewhere.

Thanks!
