Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
James Brown #1
Motion with slowdown and Book recommendations
Hi there.
A 2 part actionscript question.
1. I want to use actionscript to move an object from A to B and gradually
slowing down as it gets to point B. I know how to move it in actionscript
but not how to slow it down. Any pointers/tutorials on how I do this.
2. Anyone recommend a good book with this sort of thing in it as tutorials.
Thanks a lot
James Brown
James Brown Guest
-
Programming 3D book recommendations?
Any recommendations of books on programming / working with director 3D? preferably for someone coming from a JavaScript / ActionScript background.... -
Newbie looking for Flash Book recommendations
Flash Newbie! I'm looking for a recommendation on a beginning Flash book. I'd like something like Adobe offers. That is, like the Classroom in a... -
PHP Book Recommendations
Hi all. I am going to be teaching an introductory, course on PHP. As this course has not been offered before, there are no existing materials or... -
PS7 Book Recommendations
Greetings... I've thoroughly digested the Adobe Photoshop 7 CIB title (in concert with my PS7 user manual), which was very useful. My question for... -
Book Recommendations
Hi All, I have been a java/oracle/linux programmer for last 3+ years. I have to build an application using asp and Sql Server. I am fairly... -
stwingy #2
Re: Motion with slowdown and Book recommendations
you can use something like this
function move(clip, targetX, targetY, speed) {
clip._x += (targetX-clip._x)/speed;
clip._y += (targetY-clip._y)/speed;
if ((targetX-clip._x)<.1 && (targetY-clip._y)<.1) {
clearInterval(myInterval);
}
}
//example of use
myInterval = setInterval(move, 20, mc1, 200, 200, 20);
Some of the best books for this sort of thing are now a little out of date as
they often don`t include setInterval. Have a look at the Friends of Ed series
of books foundation actionscript and Studio Mx.
stwingy Guest



Reply With Quote

