Animating a slider SL2

Jun 01, 2017

Hello all,

I have had a request for an animated bar graph that would change in sync with narration.   I was thinking of doing it with sliders instead of states,  Has anyone ever tried this?

I can create an adjust variable to add to the value of the slider, but how do I get that trigger to repeat in relation to a repeat if value of trigger is <x.

Any help is appreciated.

 

7 Replies
David Anderson

Hi Ari-

You can do it animate the slider a few different ways.

If you want the slider to change based on the timeline progress, you could use time values or cue points. Attached is a quick mockup.

On the second slide, I moved the bar chart under the slider. You could change the slider thumb to the same shape and design as the bar chart to make it blend in with the bar chart. I just left it at the default thumb style so you could see both the slider and chart graphic.

Ari Avivi

Thanks David, 

What I was hoping for was something less trigger intensive as I was planning on setting my interval to .1 to make the movement appear smoother.

In a perfect world there would be some kind of conditional trigger that would say

1. check value of slider, if slider is less than <x add .1 to slider. adjust value of slider and repeat until slider value =x

 

Michael Hinze
Ari Avivi

Thanks David, 

What I was hoping for was something less trigger intensive as I was planning on setting my interval to .1 to make the movement appear smoother.

In a perfect world there would be some kind of conditional trigger that would say

1. check value of slider, if slider is less than <x add .1 to slider. adjust value of slider and repeat until slider value =x

 

Have a look at the attached file (3rd slide) and see if that's closer to what you wanted. 

Content Developer

I know it is not 100% related to this question, however a super-easy / no-trigger alternative that I use for progress bars is a "wipe from left" (or whatever direction you want the bar to progress) animation set to the exact duration of the narration. It works super smoothly, and no need for triggers and variables!

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