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
Your Ad Here

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 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: Mark
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

Internet & computing Flash is a vector-based moving graphics format created by Macromedia for the publication of animations on the World Wide Web. More Flash & Swish: Most Popular Materials | Fresh Materials | More Flash Tutorials at FlashPerfection.com

Add comments to "Dragging Effect"

Only registered users can write comment

No comments yet...