To increase the interactivity of the movies created in flash as well as buttons that allow you to explore you can return it helpful to create a draggable movieclip keyboard. As the example below.
- Create the shape that you like to be dragged.
- Select the right design and select Convert To Symbol button and then select ok.
- Name the button in the box.
- Select the radio button and enter the following code:
on (press) {
startDrag ("_root.nome the movie", true);
this._alpha = 20;
}
on (release) {
stopDrag ();
this._alpha = 100;
}
Where the press event that is going to pressure starts the startDrag event that is dragging the movie clip while the event release does is stop the dragging. The alpha is the level of transparency instead of the movieclip that can be varied at will.
I hope I was clear. For any problem comment here.
If you do not want to waste time download it here







Comments
There are no comments.
Leave a comment.