Friday, May 18, 2007

Project 2: controlling a movie clip with a button



Very simple to code. I created two buttons, and a movie clip instance named 'mcPlay'. Code:

(Button to stop animation)

on (release) {
_root.mcPlay.stop();
}


(Button to resume animation)

on (release) {
_root.mcPlay.play();
}

No comments: