First create a new flash document. Then make the character you want to drag and drop. Convert it to a movieclip and then on the property bar make the instance name.
Myobject_mc
Click on the movieclip and copy these actionscript into it.
Myobject_mc.onPress = function(){
startDrag(this);
}
Myobject_mc.onRelease = function(){
stopDrag();
}
HOW TO MAKE A DRAG AND DROP IN FLASH
Subscribe to:
Post Comments (Atom)
Popular Posts
-
-Author: Otobong Click here to view the swf sample This is a very straightforward tutorial. You will be making a twinkling...
-
-BY OTO In this tutorial I will show you how to make some eye catching Iphone like buttons in flash. With this technique you will be able ...
-
In this tutorial we will make an interactive flash menu that you can use on your website, flash games and applications. Step 1 Open a new f...
-
Click here to view the final result. Introduction This could be useful for your flash games, applications etc. Just some view steps ...
-
We are going to make three eye-catching stunning colorful buttons in flash, which you can use for your website, flash games and misc. You ...
-
In this tutorial you will learn how to make a complete character movement which will include rotation and hit test for your flash games char...
-
Within 15minutes or so, depending on your reading speed you will be able to make classic style navigation using Flash Professional. Previ...
-
This will be the most interactive and remarkable lesson on flash menu, that you have ever learnt. We are going to make a flash menu that ...

0 comments:
Post a Comment
Warning! Do not use swear words / slangs when posting.