Bill,

Try:

on mouseDown
  grab me
end mouseDown

Hope this helps,

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

----- Original Message ----- 
From: "Bill Vlahos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 01, 2001 11:03 AM
Subject: How to get smooth animation


> I am trying to program moving a graphic. I can make the graphic a button 
> with icons and move it but it is slow and not smooth.
> 
> Here is the code for a button. Any suggestions?
> 
> on mouseStillDown
> move me to the mouseLoc without waiting
> end mouseStillDown
> 
> This also works but is not smooth:
> 
> on mouseStillDown
> set the location of me to the mouseLoc
> end mouseStillDown
> 
> What I'd like to be able to do is to pick up the item and move it to 
> another location.
> 
> Bill Vlahos
> 
> 

Reply via email to