Controlling sub-scenes

Is there a way to call a function in a sub-scene from the main scene?

For example I have a global variable getCurrentPage in main.lua I have a set and get method attached to it.

On the different pages throughout the app I have a setCurrentPage to whatever the page is.

On the main.lua I have a events listeners letting me know what page the app is running.

In that listener, depending on the “page” I am on I want to call a function from that page.

Is this possible?

Thanks,
-Jason [import]uid: 155454 topic_id: 28027 reply_id: 328027[/import]