I’m trying to figure out how to make a back button that responds by testing what is loaded into a scroll pane and then going back to a respective menu loaded into that scroll pane. Does anyone know the scripting for an if () function that tests to see what is in the scroll pane and determine what’s there?
it’s not very clear, but do you mean this:
if(scrollpane=picture1)
gotoandplay(2)
else if (scrollpane=picture2)
gotoansplay(3)
end if
The idea is right, but the scripting is incorrect. I’m still trying stuff though. Thanks!
Batman
Here’s my scripting so far…any pointers?
[AS]on (release) {
var content = textbox.getScrollContent();
if (content == “LOP”) {
_root.textbox.setScrollContent(“BI”);
}
}
[/AS]