Hey Guys!!
I have created a loop that contains a flashing .png image and I am trying to break out of the loop. I find it hard to explain. Im trying to get the loop to stop when the screen is pressed again. Im out of ideas. Any help would be awesome!
Many Thanks,
Matthew.
Breaking Or Creating A Loop.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Breaking Or Creating A Loop.
I will try and be a bit more clearer.
When the stack is in a loop (dispatch flashimage - command flashimage) i cant get any other messages (mouseDown) etc.
Hope this is a bit more information.
Many Thanks,
Matthew.
When the stack is in a loop (dispatch flashimage - command flashimage) i cant get any other messages (mouseDown) etc.
Hope this is a bit more information.
Many Thanks,
Matthew.
Re: Breaking Or Creating A Loop.
mmm... maybe this will help you out..
Code: Select all
on mouseUp
repeat forever
if the mouseClick then exit repeat
put the seconds
end repeat
end mouseUp