Forum Discussion
Object states on a masterslide are not retained on other slides...
- 3 months ago
Hello Alain.
There's something illogical in the way it doesn't work, or rather in the way you find the red or green color of the triangle when you return to the slide, when your trigger is waiting for an action from you (clicking on the button).
On the other hand, it's perfectly normal for triangles not to retain their color from one slide to the next: with each new slide, the timeline of the master slide (re)begins, and at the start, the triangle's color is blue.
So, to achieve this, the master slide must know EVERY TIME whether it is coloring the triangle red or green AT THE BEGINNING of its timeline, using a true/false variable that is modified when you click on the “Change color” button. This is the theory. Take a look at the .story file I'm sending you. It works exactly as you'd expect, if I've understood correctly. Please note that I'm displaying the values of the variables on the screen (which is handy for checking how things work in real time): so you can see that the variables keep their values from slide to slide, and so do the triangles, since their colorations depend on them. It's clearer when you look at the file. I hope I've helped.
Hello Alain.
There's something illogical in the way it doesn't work, or rather in the way you find the red or green color of the triangle when you return to the slide, when your trigger is waiting for an action from you (clicking on the button).
On the other hand, it's perfectly normal for triangles not to retain their color from one slide to the next: with each new slide, the timeline of the master slide (re)begins, and at the start, the triangle's color is blue.
So, to achieve this, the master slide must know EVERY TIME whether it is coloring the triangle red or green AT THE BEGINNING of its timeline, using a true/false variable that is modified when you click on the “Change color” button. This is the theory. Take a look at the .story file I'm sending you. It works exactly as you'd expect, if I've understood correctly. Please note that I'm displaying the values of the variables on the screen (which is handy for checking how things work in real time): so you can see that the variables keep their values from slide to slide, and so do the triangles, since their colorations depend on them. It's clearer when you look at the file. I hope I've helped.