Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Actionscripting

Categories Drawing Spider Web Using API
Author: Mimi Widjaja

 
Page 4
«prev 1 2 3 4

Preparing Spider Object

Draw the spider object (a common drawing, not API). Convert it to movie clip by clicking Insert> Convert to Symbol or pressing F8. Add actionscript to the movie clip:
onClipEvent (enterFrame) {
 Mouse.hide();
 startDrag("", true, 120, 120, 280, 280);
}
This actionscript is telling the mouse (when moved inside the stage) to be hidden and start drag the movie clip (spider) instead, inside the constrain defined area.

The closing thought

Your timeline is simple, it will look like this:

I really hope this tutorial will help you learning one of the new features in MX . If you have any questions, don't hesitate to share with me.

Keep on Flashing...
Mimi Widjaja

«prev 1 2 3 4

» Level Intermediate

Added: : 2002-12-30
Rating: 7.75 Votes: 29
Hits: 3611
» Author
Mimi Widjaja is a flash developer & web/ multimedia designer.
» Download
Download the files used in this tutorial.
Download (48 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments
 
   
 


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers