Our Flash tutorials provide you with step-by-step instructions on how to create beautiful Flash animations and integrate them into your website.  Home Flash & Swish Flash Tutorials Dragging Effect

Dragging Effect


Step1:

Create a new Flash Document with the dimension 550 as the width and 400 pixels as the height, set the background color to white.

Click on the Oval Tool image 1 and create a small oval shape. Something like the image below.

image 2

Click on the Selection Tool image 3 right click on the circle and convert to symbol Button. Press Ctrl+F3 this will bring up the properties window shown below. Change the Instance Name to Drag, this is important.

image 4

Step2:

Click on the circle and press F9, this will bring up the Action window. Enter the script below in the Action window

startDrag(Drag); } on (release) { stopDrag(); }

Below is a screenshot of how the Script looks in the Action window.

Dragging Effect

That is it, test your movie and it should work. Hope it came out to what you expected.

Click on the ball and drag it.



Author's URL: Mark
Final results of our readers
New!
Passed through all the steps? Share your result!
Your result will be premoderated.
Please make sure you choose the right image.
 
 



Captcha

*Required fileds
Our Flash tutorials provide you with step-by-step instructions on how to create beautiful Flash animations and integrate them into your website. More Flash Tutorials: Featured Materials | Fresh Materials | More Flash Tutorials at FlashPerfection.com

No comments yet...
Add comments to "Dragging Effect"

Captcha