-
Senior Member
Scrollbar
How do you use the Scrollbar Component to move an MC up and down?
-
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.
-
Senior Member
What if I need to dynamically change the content of the MC?
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|