On Wed, 13 Mar 2002, Matthew DeSimone wrote:

>       Now, in order for the movement to appear smooth (instead of
> jumping from 
>       point to point) I use the updatestage() call illustrated below
> to 
>       refresh the stage

I'd consider using a go the frame instead. Repeat loops halt other events 
until they're done, as you've discovered. Putting in a go the frame will 
refresh the screen.

Another thing you could do is attach a behavior to the item(s) meant to 
move and tell them to begin motion, using something similar to your 
current code, with a property flag for the item(s) that starts off as 
false (don't move), gets set to true (move) and set back to false (don't 
move) when the items arrive at their targets.

You could then have the animated items update their location on each 
exitFrame (on exitFrame me), thus letting your movie continue to do its 
standard go the frame without actually siezing control of the processor 
until your animation has finished.

Does that help?

--WthmO

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to