Flash Script - Cursor Trick 3: Cursor Tracking Effect


Download the sample files here.

1. Create a movieclip from any object. I used a circle.

Flash Script - Cursor Trick 3: Cursor Tracking Effect

2. Give the movieclip instance a name. Here I’ve used "circle1".

3. Create 3 keyframes as shown below:

Flash Script - Cursor Trick 3: Cursor Tracking Effect

4. In the first key frame, use the action:

startDrag ("str1", true); 

5. In the second key frame apply the action:

count = count + 1;   if (count > 10)   { count = 1 }   duplicateMovieClip ( "str1","str"&count, count );

6. In the third key frame, insert the action:

gotoAndPlay (2); 

7. Bravo! You’ve made your own cool cursor tracking effect!

Replay

Category: software Time: 2003-04-28 Views: 0
Tags:

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.180 (s). 12 q(s)