# After completion of current function run next

**URL:** <https://forum.kirupa.com/t/after-completion-of-current-function-run-next/152064>\
**Category:** Uncategorized\
**Created:** [June 20, 2005, 11:17pm UTC](https://forum.kirupa.com/t/after-completion-of-current-function-run-next/152064 "2005-06-20T23:17:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![developmental](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@developmental](https://forum.kirupa.com/u/developmental)\
**Post date:** [June 20, 2005, 11:17pm UTC](https://forum.kirupa.com/t/after-completion-of-current-function-run-next/152064/1 "2005-06-20T23:17:22Z")

</div>

Hi All,

I am attempting to run a particular function upon the completion of the another function. If anyone has any ideas it would be greatly appreciated!!

# This is what I attempted but I believe this only works for movieclips.

## slide\_left(); slide\_left.complete = function() { slide\_down(); };

## or

# slide\_left(); if(slide\_left = complete) { slide\_down(); };

neither seems to work, but its probably because these are intended for movieclips

developmental
