website promotion banner
eturnkeys
Your Ad Here
Flash & Swish  Home Flash & Swish Flash Tutorials Dragging Effect
rss

Dragging Effect

Author: Mark More by this author


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 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.

image 5

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: www.pixeldigest.com

Rate this Material: Bad 1 2 3 4 5 Excellent
print this page tell a friend subscribe to newsletter subscribe to rss

Add comments to "Dragging Effect"