I am trying to create an animation of a phone dial rotating (yes the old style).
I tried to execute a javascript when I pressed on a button to trigger the move. The javascript had a loop with a 10 millisecond delay to incrementally change the value of the dial variable. My hope was that the dial image moves (rotate) whenever I change the dial variable. However, it seems to work only after the javascript has completed execution.
Can anyone recommend any other way to do this? Thank you for any advice.
Hi Linda. Thanks for the feedback. I am not sure what you mean by this. I assume you mean to make an animated rotating image as another state for each number. I think that would actually make it look better. Will have to try that out. :)
I was able to make something similar. I will need to transfer the codes to my original phone storyline. I used JS to do this. I read about looping the slide. The only restriction is that I can't make the timeline shorter than 0.25 so it is a bit jumpy. :\
Hi Dan, the interaction is to dial the number like how we dial a real telephone (not click). It works in my IE11 but the sound effect will only be played in the first dial for each number and that is a bug from SL I think (because when I preview in SL it causes the same problem). But if you play it in Chrome (suggested by SL) it works perfectly just like a real dial telephone.
7 Replies
Hi Dan,
You could make states for each number on the rotary dial and have it triggered when the number is clicked on.
Hi Dan, I created a dial telephone here. Take a look to see if this is what you want. No javascript, pure SL.
Hi Linda. Thanks for the feedback. I am not sure what you mean by this. I assume you mean to make an animated rotating image as another state for each number. I think that would actually make it look better. Will have to try that out. :)
Hi Joanne. Thanks for that. I will have to try it out again when I get home. I can't seem to make it run from the browsers at work. IE11 & FF56.
I was able to make something similar. I will need to transfer the codes to my original phone storyline. I used JS to do this. I read about looping the slide. The only restriction is that I can't make the timeline shorter than 0.25 so it is a bit jumpy. :\
Hi Dan, the interaction is to dial the number like how we dial a real telephone (not click). It works in my IE11 but the sound effect will only be played in the first dial for each number and that is a bug from SL I think (because when I preview in SL it causes the same problem). But if you play it in Chrome (suggested by SL) it works perfectly just like a real dial telephone.
That's exactly what I meant, Dan.
This discussion is closed. You can start a new discussion or contact Articulate Support.