# Question on Runing a script only once

**URL:** <https://forum.kirupa.com/t/question-on-runing-a-script-only-once/180638>\
**Category:** flash\
**Created:** [March 2, 2006, 4:10am UTC](https://forum.kirupa.com/t/question-on-runing-a-script-only-once/180638 "2006-03-02T04:10:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![birdboy0103](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@birdboy0103](https://forum.kirupa.com/u/birdboy0103)\
**Post date:** [March 2, 2006, 4:10am UTC](https://forum.kirupa.com/t/question-on-runing-a-script-only-once/180638/1 "2006-03-02T04:10:57Z")

</div>

I’ve got a movie that loads quotes automatically, and it continously loops, so that a variable that has been initialized in the 1st frame as 1 can increase. This allows the quote (there are 6) to be loaded sequentially.

But, it won’t run correctly…what the heck do i do?  
(I’m a C programmer too, so I tried using “static” but that didn’t work)

Thanks for your help,  
Andrew
