sidkdbl07
07-04-2003, 10:47 PM
I have a problem that I can't wrap my head around:
I have a function pointAt( target ) that moves an image across the screen and points at a target layer
My problem is that sometimes the function gets called twice (or more) via (a href="#" onClick="pointAt( 'target1' );pointAt( 'target2')"></a>
How do I get the second instance to wait until the first call if finished before executing.
Ay ideas are appreciated!
dbl07
I have a function pointAt( target ) that moves an image across the screen and points at a target layer
My problem is that sometimes the function gets called twice (or more) via (a href="#" onClick="pointAt( 'target1' );pointAt( 'target2')"></a>
How do I get the second instance to wait until the first call if finished before executing.
Ay ideas are appreciated!
dbl07