Testing contents of scroll pane

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:

else if (scrollpane=picture2)
end if

The idea is right, but the scripting is incorrect. I’m still trying stuff though. Thanks!


Here’s my scripting so far…any pointers?

[AS]on (release) {
var content = textbox.getScrollContent();
if (content == “LOP”) {