A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Howto: sexy scrollable movie clips?

  1. #1

    Howto: sexy scrollable movie clips?

    Hi all -

    I've seen some sites lately that have really sexy scrolling movie clips, where the target clip seems to softly glide to a stop as you release the scroller...The solution that I came up with for a scroller is far less elegant.

    Can anyone point me in the direction of a tutorial on implementing this cool style of scrollable clip?

    Thanks in advance,

    Nat

  2. #2
    Junior Member
    Join Date
    Nov 2002
    Posts
    21
    basically all you want o do is put a delay command in the script, the longer the delay the slower it comes to a stop. Here's the link to a FLA file that will answer your question.
    http://www.flashkit.com/movies/Inter...9316/index.php
    Last edited by supraTT7; 07-01-2004 at 04:57 PM.

  3. #3
    Senior Member Dricciotti's Avatar
    Join Date
    Aug 2002
    Posts
    2,988
    another thing to do if something is going to a destination with coordinates is:
    Code:
    //let testMC be the movie clip
    //-----------------
    MC_targetX = 500;
    testMC.onEnterFrame = function()
    {
      this._x += (MC_targetX - this._x)/2;
    }
    this effect will make it appear like it is smoothly approching the target coordinate

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