skip to main
|
skip to sidebar
Exploring Flash Actionscript
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:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
▼
2007
(8)
▼
May
(8)
Project 8: Drag and drop a movie clip
Project 7: Bouncy Ball
Project 6: eyes following the cursor
Project 5: Rollover object
Project 4: Simple Cursor Trail
Project 3: Move and rotate movie clip with buttons
Project 2: controlling a movie clip with a button
Project 1: Swap the cursor with buttons
About Me
Laura
View my complete profile
No comments:
Post a Comment