# Creating an animation that runs on each frame?

**URL:** <https://forum.kirupa.com/t/creating-an-animation-that-runs-on-each-frame/251215>\
**Category:** flash\
**Created:** [February 6, 2008, 11:45am UTC](https://forum.kirupa.com/t/creating-an-animation-that-runs-on-each-frame/251215 "2008-02-06T11:45:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Divardo](https://avatars.discourse-cdn.com/v4/letter/d/6bbea6/32.png) [@Divardo](https://forum.kirupa.com/u/Divardo)\
**Post date:** [February 6, 2008, 11:45am UTC](https://forum.kirupa.com/t/creating-an-animation-that-runs-on-each-frame/251215/1 "2008-02-06T11:45:28Z")

</div>

I have a basic quiz style application with which has a question and a number of choices of graphics for answers. As all these questions fade in and out they cover a number of frames for motion tweening.

What I am trying to do is when the user has selected the correct answer display “correct” and when they answer an incorrect one display “wrong”. Thsi can obviously be done by a dynamic text box but I would like it to fade in and out so I am thinking a motion tween is needed. How can I do this just once and run it in the current frame I am on without having to create the sequence over and over again.

Thanks
