-
-
Senior Member
you have to put the button inside a movie clip then give that movie clip an instance name then pu that instance name in the " " it should then only drag the one with that instance name.
-
Ok, this is really simple. Create an empty movieclip instance(ctrl+F8) give it a name. Then from your library(ctrl+L) drag it to the stage. Double click the small movieclip so you are on its timeline. Cut one of your buttons and paste it inside the movieclip, or create a new graphic and change it into a button instance. The button's actions should be:
on (press) {
startDrag (this);
}
on (release) {
stopDrag ();
}
Repeat this process for each of the desired buttons.
If you have any questions email me.
-
Originally posted by Branny
you have to put the button inside a movie clip then give that movie clip an instance name then pu that instance name in the " " it should then only drag the one with that instance name.
Thanks :-))))))))))))
That is so simple that i ....
TY again.
Best Regards
Rui
Ps: I try and it works. YESSSSSSSSSSSSSSSS :-))))))))
-
Originally posted by damnice
Ok, this is really simple. Create an empty movieclip instance(ctrl+F8) give it a name. Then from your library(ctrl+L) drag it to the stage. Double click the small movieclip so you are on its timeline. Cut one of your buttons and paste it inside the movieclip, or create a new graphic and change it into a button instance. The button's actions should be:
on (press) {
startDrag (this);
}
on (release) {
stopDrag ();
}
Repeat this process for each of the desired buttons.
If you have any questions email me.
Very simple to.
Thanks.
Regards
Rui
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
|