# Speed of ActionScript

**URL:** <https://forum.kirupa.com/t/speed-of-actionscript/2620>\
**Category:** flash\
**Created:** [May 23, 2002, 8:15am UTC](https://forum.kirupa.com/t/speed-of-actionscript/2620 "2002-05-23T08:15:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 23, 2002, 8:15am UTC](https://forum.kirupa.com/t/speed-of-actionscript/2620/1 "2002-05-23T08:15:12Z")

</div>

Does anyone know any tips for speeding up ActionScript, particularly with regard to script loops and array access?

It seems very slow… eg. trying to move more than 20 small sprites around the screen forces the frame rate below about 30 fps.

Tim

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 23, 2002, 8:59am UTC](https://forum.kirupa.com/t/speed-of-actionscript/2620/2 "2002-05-23T08:59:13Z")

</div>

do you have a single clip telling them to move, or are they moving themselves? If each clip moves itself through it’s own “onClipEvent” it tends to make the movie run faster.
