Answered
how do I delay a loop?
I am trying to build a timeline whereby a user moves his/her
mouse across the screen and the timeline moves to the right or left
accordingly. I am doing this in a bit of a "dirty" fashion because
I am short for time and expertise. Instead of creating a
completlely dynamic component to handle this (or whatever
complicated method) - I have just got 3 sets of vertical invisible
buttons on either side that are supposed to scroll at different
speeds (i.e. myMovie_mc._x++ / myMovie_mc._x+=3, etc.
I trying to execute this by using the "While" loop whilst the user has enabled a button rollover (the invisble vertical buttons). Problem is - loops are almost instantaneous! There is no scrolling, it just jumps to the beginning or end.
I have tried using setInterval method inside the loop itself but it does not work and seems to crash the flash player (no surprise there!). Is there any other easy way I can delay a loop so the user can at least see the timeline moving across the screen?
Thank you in advance.
Ryan
I trying to execute this by using the "While" loop whilst the user has enabled a button rollover (the invisble vertical buttons). Problem is - loops are almost instantaneous! There is no scrolling, it just jumps to the beginning or end.
I have tried using setInterval method inside the loop itself but it does not work and seems to crash the flash player (no surprise there!). Is there any other easy way I can delay a loop so the user can at least see the timeline moving across the screen?
Thank you in advance.
Ryan
