Monday, February 12, 2007

Action scripting for dragable movie clips

Re: dragable movie clips. Just to remind you : first, make a button. Place it in a new symbol -- a movie clip. Give the button an instance name in the properties window (bottom of screen). Give the movie clip an instance name. Then in the ACTIONS box, you will add sine script :

Here's Geoff's action scripting for the dragable movie clip. He has some "better script" that he'll upload to the blog soon. Meanwhile, here's the OK script we found today :

dragable.onPress = function() {
startDrag(dragable);
}
dragable.onRelease = function() {
stopDrag();
}


Remember, this applies to a tutorial you can find on web developer (see link on the title below).

HAVE A GREAT STUDY WEEK!!!!

No comments: