Hi,
I’m very limited in my Flash skills, but I try…
I have a text box that’s scrollable & has up/down buttons - if I test this scene alone, it works perfectly - scrolls down when you hit down… scrolls up when you hit up…
This text box is inside of a graphic symbol, which is inside of a movie clip symbol - now the button’s don’t work when I test the scene from outside of the movie clip symbol. The code inside of the graphic symbol for my buttons is:
this.scrollDown.onPress = function() {
scrollDirection = “down”;
scrollText();
}
this.scrollUp.onPress = function() {
scrollDirection = “up”;
scrollText();
}
this.scrollUp.onRelease = function() {
delete _root.onEnterFrame;
}
this.scrollDown.onRelease = function() {
delete _root.onEnterFrame;
}
function scrollText() {
_root.onEnterFrame = function() {
if (scrollDirection == “up”) {
scrolltext.scroll -= 1;
} else if (scrollDirection == “down”) {
scrolltext.scroll += 1;
}
}
}
I have a feeling it is something to do w/the use of root, or level or something? (Just a feeling though…) Any insight? Or if I need to be any clearer or something let me know, it’s very important to me to figure this out asap.
Thanks ahead for any help anyone can offer.