I created a slider, it automatically created a variable called Slider1. I used triggers to set Slider1 to value 0 when the timeline starts on the slide. then, I have triggers
When Slider 1 moves
- Add value 1 to Slider1
-Show layer Layer 1
... if its value = value 1
-Show layer Layer 2
... if its value = value 2
I used the variable %Slider1% to track my variable...and it does not increment as I move Slider1. BUT, if I create a new variable Slider2, and use that in my triggers... it works, as long as I do not designate it on the Design tab as the variable. Crazy, I know... but, I don't think this is the way it is supposed to work.
Since the slider's default value is set to zero at first, you don't need to assign any triggers to set its value zero. I was able to add the increment value by assigning the slider1 variable to the appropriate text box by changing your existing triggers.
If you need any additional assistance, please let me know. Please review the modified SL file that was attached for your reference.
In addition to what Sandeep shared, I see you also opened a support case with our team. That was a great call! If you need further assistance, just let us know!
And that's fine, but my real issue is that on the Design tab, the variable selected in the drop-down is Slider1. However, the slider doesn't work at all using that variable. It only works using the new variable Slider2.... as long as it isn't selected in the drop-down.
When the slider moves, the variable is automatically updated. Your trigger confuses the system, and prevents it from doing anything with Slider1. The way the trigger is written, if the slider moves to 1, Layer 2 is shown. Delete it, and I think you'll see it work how it is supposed to work.
4 Replies
Hello Sarah
Since the slider's default value is set to zero at first, you don't need to assign any triggers to set its value zero. I was able to add the increment value by assigning the slider1 variable to the appropriate text box by changing your existing triggers.
If you need any additional assistance, please let me know. Please review the modified SL file that was attached for your reference.
Hi Sarah,
In addition to what Sandeep shared, I see you also opened a support case with our team. That was a great call! If you need further assistance, just let us know!
And that's fine, but my real issue is that on the Design tab, the variable selected in the drop-down is Slider1. However, the slider doesn't work at all using that variable. It only works using the new variable Slider2.... as long as it isn't selected in the drop-down.
This is your problem:
When the slider moves, the variable is automatically updated. Your trigger confuses the system, and prevents it from doing anything with Slider1. The way the trigger is written, if the slider moves to 1, Layer 2 is shown. Delete it, and I think you'll see it work how it is supposed to work.