-
Im trying to make my movieclip called "movie", move left when my mouse goes right and vise versa. Right now it goes left If my mouse moves left, and right if my mouse goes right.
How do I switch this?
if (_ymouse>435 and _ymouse<480 and _xmouse>425 and _xmouse<755) {
movieSpeed = (_xmouse-center)/10;
moviePos = Math.round(movielPos+movieSpeed);
if (moviePos<leftStop) {
moviePos = leftStop;
}
if (moviePos>rightStop) {
moviePos = rightStop;
}
movie._x = moviePos;
}
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
|