Programmable progress bar
Jan 16, 2015
Is it possible to programmatically change the size of a rectangle shape in Storyline? I want to build a custom progress bar which tracks from the beginning to the end of a layer's timeline so that the user knows how long the content is on that layer and knows where they are.
We can't use Storyline's built-in seekbar: it doesn't fit our requirements because the built-in seekbar appears automatically on every layer in a slide and we only want it to appear on one of 2 layers we have on our slide (one has a timeline, the other has just static text - we don't use the timeline, so a seekbar isn't appropriate on that). We can't use states because we might have content which is say, 2 minutes, long and we couldn't have that amount of states, that would be a nonsense. All help very much appreciated.
28 Replies
Hello Matthew,
thanks for your reply. Unfortunately, it doesn't solve my problem. We had
thought about putting the different layers on different slides but we have
about 100 slides which all have the same requirement, so it's a lot of
work, and there's already quite a bit of branching going on so we can't
afford to complicate it further. We'll just have to live with the seekbar
on the static layer.
Regards,
Ewan
This would be a great feature to add as currently we have to use static graphics to represent the progress bar on a per slide basis. It's a bit of a pain when a slide gets moved/removed...
Hi David,
I think you may have misunderstood/misread my post - I'm talking about a
progress bar which we'd like to synch to the timeline of individual slides,
so each slide has its own progress bar, which is independent of other
slides. I can, however, also see the value of being able to use an in-built
progress bar to show progress in the context of a whole course/resource.
Regards,
Ewan
oops
Hi Ewan,
I am certain I have a solution for this. I also find the built in properties difficult to work with. I remove pretty much everything so can customise to my preference.
So just wondering if you resolved this?
Hello Michael,
No, we don't have a solution but would love it if you could share yours with us :-)
Hi Ewan,
could you create your progress bar as a shape or image, and have additional states showing the bar at differing levels of progress? Then change the state of that object at various points of the timeline on the particular slide/layer which is triggered by a cue point.
Ok, cool. No problem.
Working on a project at the moment, so will send later this evening.
Just to clarify, for when i send over.
I will build you, a demo containing 2 slides, on slide 2 i will insert 2 layers on this.
On the 1st layer i will insert a timeline of 10 seconds.
And the 2nd layer i will insert a timeline of 15 seconds.
So each time you select a certain layer it will play out the timer for the specific layer?
Great thread. Looking forward to your share Michael :)
Is this what you are looking for? The user cannot use it to change position in the timeline, but it does show progress and is really quick and simple to change.
It has a limit of 59 seconds, but put two of them end-to-end, and you would have a 2 minute line, etc.
Hello Walt, Intrigued to see your example, but I don't see any attachment or link
Hi Ewan! Are you checking your e-mail or coming in to view the forums directly? Walt's file is attached to his response.
Great, Walt, thanks
Hi Lesley,
It wasn't there when I replied, but is now - you must have seen it there
just after he edited his post or something. I'm checking my email then
logging in to the forum.
Thanks for your help.
Best,
Ewan
Awesome. Yes, I can see where he must have edited his post :)
Sorry not posted sooner, sorry.
Pretty much same idea as Walt though.
I'd still like to know what you think, and if this resolves your issue?
Of course I forgot to attach it before posting, and Ewan, you must have caught it right as I was editing. Sorry.
Thanks for popping in with assistance as well Michael :)
My pleasure
Walt and Michael, thanks for posting these solutions, and can see that these would both work.
What I don't understand is how they are working.
Walt, in your source storyline file,, I see no javascript or triggers or state stuff to make this happen. If you could clarify that, I'd be grateful.
Michael, since your solution is in the form of a published storyline, I have no idea at all how it's working. If you could also clarify how your solution is working, I'd be thankful.
My solution is exactly the same as Walts.
All it is, basically a shape with an animation fade in effect, and the entrance timer is set to 10seconds, so it will take 10 seconds for the shape to appear. With the fade effect makes it look like a progress bar.
You can set the timer to what ever you wish (maximum of 59 seconds).
Ewan,
Sorry, I've been away getting a new daughter-in-law.
I previewed a slide, and when the timeline finished, I copied the portion of the slide with the timeline. that way, it looks exactly like the other timelines. Then I pasted it to a slide and covered it with a shape and set the shape animation to fade out with a duration of 59 sec. The shape is the exact size of the moving part of the timeline, and the color of the unviewed part.
Thanks for popping back in to share Walt...and Congratulations on your new family member :)
Hello Walt/Michael,
Thanks both for sharing this with me. Nice, innovate workaround - although the 59 second limit could be a dealbreaker - if we had a slide which was longer than that, we couldn't effectively use the solution on any of the slides, for consistency's sake. But good imaginative thinking.
Try this 5 minute timeline
This discussion is closed. You can start a new discussion or contact Articulate Support.