I have noticed a few sites I’ve come across that have custom scrollbars that work along with images inside of the text boxes (or containers?) If anyone can point me in the right direction, even to a tutorial that would work and allow me to create a scrollbar that will work with image content as well as text I would greatly appreciate it…
This is what I was instructed to do at another site:
First make a movieclip with all the images and text you want to be as the scroll content ( do not place the movieclip on the stage). Then in the library, rightclick on the movieclip and go to Linkage. Select Export for ActionScript, and give the identifier name, myScrollContent. Now put a scroll pane on the stage. In the component’s parameters panel, for the scroll content, type in myScrollContent. You can resize the scroll pane to the size you want. And configure the options to stop horizontal or vertical scrolling, and other things, too.
I think there might be a tiny step missing or maybe I’m just overlooking something, because the linkage doesn’t not seem to be working (my content isn’t in the scrollpane) if you have any suggestions, let me know…
To have something show up when you link it but do not export it in the first frame, you have to first put it SOMEWHERE in your movieclip, somewhere BEFORE you actually call it. So if in frame 3 you try to put some content, you have to put your mc in frame 3 or less.
You can put it offstage, it doesn’t matter. Just click’n’drag’n’drop it on the stage, as long as it’s there it’ll get loaded in your preloader (if you have any)…
that setting the linkage from the library thing ONLY works in actionscript, not calling parameters. So you’d have to get the actionscript coding for it. Or do like cool said.
So I have it working (exporting for actionscript and exporting in first frame) but the only problem is that when I adjust the tint or alpha of the scrollpane, it affects the text as well, its as if the content is underneath the scroll pane as opposed to showing up on top