# Basic AS2 + Flash IDE Question

**URL:** <https://forum.kirupa.com/t/basic-as2-flash-ide-question/258920>\
**Category:** flash\
**Created:** [April 29, 2008, 3:47pm UTC](https://forum.kirupa.com/t/basic-as2-flash-ide-question/258920 "2008-04-29T15:47:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![movax](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@movax](https://forum.kirupa.com/u/movax)\
**Post date:** [April 29, 2008, 3:47pm UTC](https://forum.kirupa.com/t/basic-as2-flash-ide-question/258920/1 "2008-04-29T15:47:00Z")

</div>

A question about how Actionscript interacts with the IDE timeline…

If I want to have my MC bobbing slightly from side to side, does the timeline have to be playing, or can it be stopped? If I was using sin() for the MC position displacement, what would be driving it - a timer, system clock, other?

I’ve done AS3 straight from 100% code - never done anything with the timeline before. I’m trying to understand how keyframed motion coexists with programmatic motion.
