A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Follow cursor

  1. #1
    Member
    Join Date
    Oct 2003
    Location
    Norwich
    Posts
    87

    Question Follow cursor

    I would like to create the effect of a word repeated and falling like rain randomly from a cloud with different alphas for the word.

    The cloud and rain will then follow the cursor around the screen.

    Any help would be great, many thanks
    Last edited by Skippers; 03-11-2010 at 02:41 PM. Reason: I have the code for follow cursor

  2. #2
    Member
    Join Date
    Aug 2009
    Posts
    44
    here you go hope it helps, there's a flash cs3 and flash cs4 file i ther for you!

    MrSmither

    ps: if you change the interval on the timer (first line of code) to 100 insted of 500 or 250 it gives a much nicer effect!
    ps1: sorry forgot to integrate the alpha but it's fairly easy to do, just put before the add child txt.alpha= whatever.
    Attached Files Attached Files
    Last edited by MrSmither; 03-12-2010 at 05:52 AM.

  3. #3
    Member
    Join Date
    Oct 2003
    Location
    Norwich
    Posts
    87
    Thanks very much indeed, I'll take a look

  4. #4
    Member
    Join Date
    Oct 2003
    Location
    Norwich
    Posts
    87
    That's fantastic! Much appreciated. For the text what I meant was to have each word set a random alpha so they wont all be the same.

    What I also wanted to do was have a cloud over the rain and they both follow the cursor around the screen.

    Is it possible to have a layer above all this? When I put one in as the top layer, the animation played over the top of it.
    Last edited by Skippers; 03-12-2010 at 02:11 PM.

  5. #5
    Member
    Join Date
    Oct 2003
    Location
    Norwich
    Posts
    87
    any idea how I can add a graphic from the library above this movie clip to cover some of the animation? I'm struggling to understand how to use containers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center