Change graphic based on variables?
Jul 04, 2013
By
Mike Hua
Hi,
I was just wondering what code would I use if I want to implement the following:
I have 4 buttons on the Menu screen;
The learner will select one of those buttons and be taken to that chapter;
After completing that chapter they will click a 'Menu' button on the last slide of that chapter to be taken back to the menu;
The menu will now show that menu but the graphic of that menu has changed to notify the learner that they've completed that chapter.
After the learner has completed all chapters, I would like to include a "Clear" button that resets the states of the buttons to what it was initially if the learner wants to review the content again.
Solution?
6 Replies
Hi Mike!
One way to achieve what you've described above is by using states, triggers, and variables. The steps I would follow to create this type of interaction would be:
I've created a simple example .story file for you that I've attached to this reply, which you can use as a starting point. Also, you might want to check out a few tutorials on using states, triggers, and variables in Storyline.
Hope this helps get you on your way!! =)
Hope it is a false warning but got message that MenuClearButton.story from Nicole had a virus.
Hmmm.. strange, I'll need to look into that! Thanks for the heads up, Kevin =)
Kevin, can you let me know which anti virus software you are running and which version?
It seems that you're probably fine to open the file, this sometimes happens with older versions of antivirus software. The file should be safe to open and virus free =)
Sorry, Nicole, but I believe it is weirdness at my end and there is no problem with your file. I get a similar message about other downloads that I know are clean files. I believe I have a problem with Windows Defender on my computer.
Thanks for the update Kevin! Glad to hear you were able to safely open the file. =)
This discussion is closed. You can start a new discussion or contact Articulate Support.