Im trying to learn AS and im following certain examples in the AS book, AS for flash mx, defin guide. Im starting to somewhat understand functions and i wrote the same code they have in the book(ch9,p186) and when i apply it, nothing happens. This is probably a very stupid question, but am i missing something, why isn’t working on my end?
// store a portable reference to the main timeline.
function moveClip(ball, xDist, yDist) {
ball._x += 50;
ball._y += 70;
}
moveClip(ball, 5, 15);
thanks
Tracy