Results 1 to 4 of 4

Thread: Scrollbar

  1. #1
    Join Date
    Jan 2007
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Scrollbar

    Hello...

    I want to do a somewhat atypical application of a "scrollbar". I was it to be as follows:

    a horizontal scrollbar which as scrolled from side to side will play (if moved to the right) and rewind (if played to the left) another movie clip.

    the second movieclip will have 8 pix (1 per frame).


    I have two questions regarding this.
    (1) How do I construct such a scrollbar.
    (2) I'd like the pictures to scroll in/out as the scrollbar is moved from side to side. Of course this can be done through tweening and/or masking but that will only work if the user drags from the beginning to the end in one smooth motion. If he stops halfway between the tween, it will show 1/2 the fade, which I don't want.

    Thanks for the help.
    Please let me know if I didn't explain that well enough.

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    There are a few different ways to do this, although I think the term "scrollbar" is used wrongly here.

    Of course you can use the built in scroll bar, make it positioned bottom or top (to make it horizontal) and load all 8 pictures in a smaller "box" where only one is viewable at a time.

    If you have an example of what you want I will help you build it, or at least tell you where to go to get the help/tutorial.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Jan 2007
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I suppose what i want is more of a "slider bar"
    Similiar to this: http://trailfire.com/Frankie.Anne/marks/22294

    Now I would like this scrolling to behave almost like a slider on a video player where dragging the slider to the right will advance the pix MC and to the left will send it in reverse.

    I can't find anything like what I'm thinking of to show you.

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Okay, better to show and explain later than to confuse up front.

    So what I have done is used that tutorial that you linked to and adapted it to link to the photos.

    Take a look at the fla here and test it to see it working. Then go in and look at the action script and how everything is set up. If you have questions after that just ask
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

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