0
Z odpowiedzią

Using counter to affect message displayed on subsequent screen

Gabrielle Strouse 11 lat temu zaktualizowano 11 lat temu 5
Hello,
I am trying to follow this procedure (http://interactbuilder.screenstepslive.com/s/5404/m/16264/l/193580-creating-a-toggle-for-narration-language-etc).  I have one object that can be drug to either the right or left side of the screen.  I've created a counter so that the value is 1 if it is on the left side and 2 if it is on the right side. (The counter works, I have it set to display). 

Now, on the next page, I would like to display text based on the counter value.  I have set the text to invisible at runtime, then set an action to show if the appcounter is set to value 1 (or 2, for the other text).  However, when I go to the page, neither text displays.  I have set the "Refresh on Load" to "No."

What am I missing?  Are there any settings that are not shown in the graphics in the guide?
W trakcie analizy
Do you have Execute on Page Load set to Yes in the Behavior Options window for the Show behaviors of those 2 texts?
Sorry, I solved this right after I posted it.  I found this video: http://interactbuilder.screenstepslive.com/s/5404/...

The trick was that I needed to go to "behavior options" and select "execute on page load" -> yes.

Hopefully this will help the next person!
I've added a note to the user guide now so that it's more clear. Thank you!
Thanks Alin for the quick response!