Hi All,
I call a pop-up screen with
storyboard.showOverlay(“scrClues”, options2) – called by object listener)
The overlay screen works well as intended.
When the user exits the overlayscreen using storyboard.hideOverlay(),
the control comes back to the previous screen but nothing happens.
I need to take some actions based on the “user selection” in the overlay screen. I am using a persistent variable to check this, The problem is when the control returns to the “calling” screen, nothing happens.
I have “print” statements on createScene, enterScene etc. but nothing shows up until some user action happens.
how do I execute a piece of code on return from the overlay screen?
I am trying to use the showOverlay in place of gotoScene because I want to preserve the changes made to the screen, instead of having to redo it on return.
Thanks