# Function call

**URL:** <https://forum.kirupa.com/t/function-call/92744>\
**Category:** Uncategorized\
**Created:** [October 21, 2003, 8:29am UTC](https://forum.kirupa.com/t/function-call/92744 "2003-10-21T08:29:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ali\_bongo](https://avatars.discourse-cdn.com/v4/letter/a/b5e925/32.png) [@ali\_bongo](https://forum.kirupa.com/u/ali_bongo)\
**Post date:** [October 21, 2003, 8:29am UTC](https://forum.kirupa.com/t/function-call/92744/1 "2003-10-21T08:29:37Z")

</div>

Hi there, im currently using an onEnterFrame=function() comand, which works fine - but ive just been asked to make my movie flahs 5 compattable ☹

heres the code

on (release){  
\_root.sections.onEnterFrame=function(){  
\_root.sections.\_x-=(this.\_x-1103)\*.25  
}  
}
