dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [F8] Multiple Scrollbars in one Movie Clip?

  1. #1
    Member
    Join Date
    Jul 2001
    Location
    USA
    Posts
    78

    [F8] Multiple Scrollbars in one Movie Clip?

    I need two scrollbars within one movieclip. For some weird reason I can only get one to work. I've tried renaming my mc's instance names to be different but it still doesn't work with different names. In the attached example the instance names are the same but housed in different mcs. The type of scrollbar I'm using also only works when you publish with a flash player 6.... something about a mac....

    Anyway, if someone could tell me what I need to do differently I'd really appreciate it. I've attached the file for reference.

    Appreciate the help!
    Last edited by leah5569; 12-08-2008 at 04:27 PM.
    Thanks!
    Leah5569

  2. #2
    Senior Member
    Join Date
    Nov 2005
    Location
    Milan
    Posts
    119
    It's because you're using

    MovieClip.prototype.scrollEase.

    If you set this twice, the second overrides the first, hence the reason why both scrollbars scroll the second movieclip. Instead of using the prototype, use a normal function, passing the mc as a variable.

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