Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cursor velocity

Status
Not open for further replies.

duponty

Instructor
Oct 25, 2000
101
CA
Hi there,
does anyone would know how to calculate the velocity of speed in a animation and espetially how to make it in flash. I know the function but I can't figure how to make "detection" with clip events

thanks
Yannick
 
what speed exactly do you want to calculate?
rotation, _x, _y,... and in which unit do you want to have it? pixel per second,...?

regards

tektips.gif
 
the velocity is in _x coordonnates, I am trying to make collision with detection of speed, to activated different animation with increasing of speed. Pixel per second would be ok i guess

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top