# Priority function execution

**URL:** <https://forum.kirupa.com/t/priority-function-execution/291396>\
**Category:** Uncategorized\
**Created:** [June 29, 2009, 8:19am UTC](https://forum.kirupa.com/t/priority-function-execution/291396 "2009-06-29T08:19:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cellarium](https://avatars.discourse-cdn.com/v4/letter/c/d2c977/32.png) [@cellarium](https://forum.kirupa.com/u/cellarium)\
**Post date:** [June 29, 2009, 8:19am UTC](https://forum.kirupa.com/t/priority-function-execution/291396/1 "2009-06-29T08:19:14Z")

</div>

Is it possible to set in AS3 something like that “making impossible further operations with other parts of code until full complete of particular function that’s running”. In other words to add event “on complete run bla-bla-bla” to a function.
