Dear all,
Hiya, is anyone know how to set one MC to follow another dragable MC which have similar effect as below link. When i drag my main MC, then the sub MC follow.
http://www.flashkit.com/tutorials/Actionscripting/Basic/Making_a-Alexande-735/index.php
Hope you can drop me a simple script or sample, that will be very helpful, thank you very much.
Cheers
Madison
Well, it’s quite simple. I’m assuming, though, that you aren’t using that same code to drag the MC. Anyway, the method I’m using in the fla is an adaption of that code. Notice how the MC gets it’s end x and y coordinates from the mouse? Well, why can’t the second MC get it’s end x and y coordinates from the first MC? It can, and that’s the answer. Check out the fla, it should be self-explanatory.
Later,
Elios