A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Scrollbar

  1. #1
    Senior Member SpikeyOmega's Avatar
    Join Date
    Dec 2004
    Posts
    400

    Scrollbar

    How do you use the Scrollbar Component to move an MC up and down?

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Posts
    235
    Use the scroll pane component instead of just scroll bar.

    In the library, right click the MC you want to scroll and set the linkage by giving it a name and "EXPORT FOR ACTIONSCRIPT".

    Click the scroll pane instance on the stage and set the Scroll Content to the linkage name that you gave to your MC. (Scroll Content is found in the Parameters window)

    Hope this helps.

  3. #3
    Senior Member SpikeyOmega's Avatar
    Join Date
    Dec 2004
    Posts
    400
    What if I need to dynamically change the content of the MC?

  4. #4
    Senior Member
    Join Date
    Jul 2001
    Posts
    235
    I haven't tried that far along.

    I am pretty sure that is possible though because you have exported your MC for Actionscript.

    You can probably target the MC just as you would if it was on the stage.

    Worth a try.

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