How do I make an mc move in relation to the amount I scroll a text? I am not advanced enough to be able to break down the (Flash UI)scrollbar component and change it to my own liking (if it’s possible) so I’d like to fake it.
I have two mc’s that make my text scroll up or down and I’d like to have a mc moving in between them like a regular scrollbar.
The code on the mc’s that scroll:
[AS]this.onEnterFrame = function() {
if (pressing == true) {
_root.mcholder.texten.scroll = _root.mcholder.texten.scroll+movement;
}
};
[/AS]
and on the button:
[AS]on (press) {
pressing = true;
movement = -1;
}
on (release) {
pressing = false;
}[/AS]
with movement =+1 on the other button
or can someone point me to a tutorial?
Thanks in advance