-
Hello,
I would like to move a movieclip in specified increments. IE - when you click a button the specified movieclip will move 5 pixels down. So if the center value of the movieclip is 0 it will then be set to 5 once the button is clicked. If you were to click this same button with the same code again then the center value would move to 10, etc...
The code I am using is as follows:
on (press) {
_root.services._y = _y + 5;
}
Is this the correct code to use for this action? I can't get it to work properly. Thanks in advance!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|