Counter layer

Mar 03, 2017

Hello,

I have created a layer called "time" that works as a counter in my slide. Also, I have 4 interacting drop down (not built in, I have created them), each with its corresponding layer (see attached photo). The problem is whenever I click on the drop down to choose the answer, the counter stops counting . In the time layer, I have 3 triggers (Adding 1 to the timer5 variable when timeline starts, Showing and hiding this layer when timeline ends).

Does anyone knows why is this happening and how to solve?

Thank you in advance,

 

17 Replies
Walt Hamilton

By default, when one layer shows, it hides all other layers. If you deselect this option, the timer layer can continue to run, but it comes at a cost. You will need to create triggers to hide (for example,) the second layer when you show the third.

Or you could put the timer on the base slide, like this example, which will run as long as the timeline on the base layer isn't stopped.

Or, you could attach your .story file, and someone could look at it and give you some ideas that are specific to what you are trying to do.

dany shaya

Hi,

Mr. Dave i realized that the loop in javascript is a while loop (while(end==false)), so it is as a continuous running of a javascript and updating a variable and that will not work.Thank you Mr. Walt for the attached file, that worked with me. Adding the timer functionality to the Question layout is also a good idea, it also worked with me thank you Michael. 

Have a good day,

Michael Hinze
dany shaya

Hello,

Is there a way to take the elapsed time appeared at  the top right corner of the quiz and set it into a variable? (see attached photo).

If no, is there a way to know the elapsed time taken by the user in the quiz.

Thank you in advance :)

There is no option to access the built-in quiz timer through a variable. You could create your own timer though. Here is a thread that discusses options.

dany shaya

Hello, 

I am facing a problem with the audio sound in my storyline. I have added in the slide Master an audio. When I changed the audio, the old one still playing. After all, I have deleted all what I added in the slide master, so that no more audio exists in the project. But I was shocked that the sound still exist why?? I checked again the file and no audio file exists in it, but when I preview it, the sound is playing. Can anyone help me please? 

dany shaya

Hi,

Here is the file. I have no audio in it, but if you preview it, you can here a sound when the timeline of each slide starts. I didn't understand the source of that audio. I have deleted it and restarted storyline, but nothing changed, the sound still existed. How can I remove it? What is the solution for that?

Thank you,

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