# F8 AS Animation/Script/Delay

**URL:** <https://forum.kirupa.com/t/f8-as-animation-script-delay/218383>\
**Category:** flash\
**Created:** [March 7, 2007, 11:58am UTC](https://forum.kirupa.com/t/f8-as-animation-script-delay/218383 "2007-03-07T11:58:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [March 7, 2007, 11:58am UTC](https://forum.kirupa.com/t/f8-as-animation-script-delay/218383/1 "2007-03-07T11:58:14Z")

</div>

Hi I have the idea of scripting animations, placing them inside a function, so then I can recall them whenever I want :thumb:

```auto
function eyesleft(){
eyes._x=0
eyes._x=-100
}

```

one question is I need some kind of delay timer to make the animation smooth, otherwise the animations would be all jumpy

set interval seems a bit jumpy \<

I guess another important question is would this work?

\*\*thanks for any insight \*\*
