# Visual not adding up with actionscript

**URL:** <https://forum.kirupa.com/t/visual-not-adding-up-with-actionscript/224126>\
**Category:** flash\
**Created:** [April 28, 2007, 9:39pm UTC](https://forum.kirupa.com/t/visual-not-adding-up-with-actionscript/224126 "2007-04-28T21:39:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Z11](https://avatars.discourse-cdn.com/v4/letter/z/97f17d/32.png) [@Z11](https://forum.kirupa.com/u/Z11)\
**Post date:** [April 28, 2007, 9:39pm UTC](https://forum.kirupa.com/t/visual-not-adding-up-with-actionscript/224126/1 "2007-04-28T21:39:27Z")

</div>

It seems my code runs but the visual display of what the code is doing, isn’t working…

my program does something like this:

allow click…

when someone clicks, it disallows clicks…  
moves everything on the stage  
and then re allows clicks…

the problem is when I click 2 times in a row… all of a sudden the stage moves once, and then a second time… even if the second click was before the first stage move.
