How to preserve the button states from slide to slide?

Feb 18, 2013

Hey,

I have a problem with preserving the button states.

I used the master slide to have a navigation bar with 10 buttons at the bottom of a page.

The user can click anyone to go to other slides.

I want to keep the "visited" states for each button, then the user can know what slide he has visited. But the button states can not be preserved from slides to slides. Is there anyone could help or wise thoughts?

Thanks!

9 Replies
Dane Boyington

I tried to do something very similar one time and then abandoned the idea. The problem was with trying to use timeline start triggers to set the button state - I didn't want to erase the user's input on interactions if the page was revisited, so I couldn't have the page set to restart when revisited, so then you can't depend on a timeline start trigger to set up the page. So in the end it doesn't work unless you can reset the page on every visit.

Lisa liu

Dane Boyington said:

I tried to do something very similar one time and then abandoned the idea. The problem was with trying to use timeline start triggers to set the button state - I didn't want to erase the user's input on interactions if the page was revisited, so I couldn't have the page set to restart when revisited, so then you can't depend on a timeline start trigger to set up the page. So in the end it doesn't work unless you can reset the page on every visit.

Thank you anyway!
Phil Mayor

Dane Boyington said:

I tried to do something very similar one time and then abandoned the idea. The problem was with trying to use timeline start triggers to set the button state - I didn't want to erase the user's input on interactions if the page was revisited, so I couldn't have the page set to restart when revisited, so then you can't depend on a timeline start trigger to set up the page. So in the end it doesn't work unless you can reset the page on every visit.


Dane, there is no need to reset the slide to initial state for this trigger to work, this trigger will fire everytime the slide loads, you do not need to reset the slide and can preserve interactions.

Dane Boyington

I tried this before sand had problems. I just tried again with the button and all triggers on the master slide. It works like I want with the page set to automatically decide when revisiting, but if I set it to resumed saved state, then it doesn't work. The trigger I have to handle this is

set state of button to myOnState when timelines starts if myVariable = true

and set state of button to myOffState when timelines starts if myVariable = false

Thanks

Phil Mayor

It doesnt have any effect, your variable must not be being set correctly

The state of the slide has no effect on the timeline start trigger firing or not.  See the attached file one is set to timeline start the other is initial state, you can reset the variables and the slide and the only thing that has an effect is resetting the variables.

The Timeline start trigger should probably be called when slide starts, reseting the slide has no effect on this

Dane Boyington

I was travelling for a couple of days and could not look at this... I'm sorry to ask, but can you look at the two attached? I took your file and made it similar to what we wanted by putting the button on the master slide and removing from the individual slides. I also simplified mine to be essentially the same. Side-by-side, they have the same triggers as far as I can see. But yours works and mine does not. (By working, I mean that I preview, go to second slide, change state of button by clicking, and then click Prev to go back to slide 1 and see if the state sticks.)

To me, the files are identical (other than the name of the variable and states are different). Can you help me understand?

Thanks.

This discussion is closed. You can start a new discussion or contact Articulate Support.