# Continuous Execution

**URL:** <https://forum.kirupa.com/t/continuous-execution/155753>\
**Category:** flash\
**Created:** [July 20, 2005, 2:53am UTC](https://forum.kirupa.com/t/continuous-execution/155753 "2005-07-20T02:53:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy\_toth](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@andy\_toth](https://forum.kirupa.com/u/andy_toth)\
**Post date:** [July 20, 2005, 2:53am UTC](https://forum.kirupa.com/t/continuous-execution/155753/1 "2005-07-20T02:53:12Z")

</div>

[color=#003366]objective: continuous scroll of GIF while mouse button is depressed[/color]

[color=#003366]problem: i can only get the movement-command to run once per click  
(instead of a continuous execution on mousedown)[/color]

[color=#003366]  
here’s my code and FLA

* * *

onClipEvent(mouseDown) {

speed =1  
\_root.blue\_scroll.\_y += -speed;

}

* * *

with sincere thanks,

Andy Toth[/color]
