I've put states to the different rectangles on my table so that people can see which one they already visited or not. However, when I click on a rectanle and it is in the visited state, it does not change colour.
not sure I understand - but see the attached video. I have four rectangles that each have a normal (green) state and a visited (orange) state. As I click each one it changes from normal to visited. Are you wanting other behaviour? If so you may need to use custom states, as the built in SL states have specific behaviours attached.
Hello Annabelle! You mentioned that your project works when previewed but not published. How are you viewing your project after you publish? I'd want to know that same information that Wendy brought up: Are you uploading your published output to a web server or LMS? Which browser have you tested? HTML5 or Flash version?
One other consideration: Are you using Storyline 2 or Storyline 360? Storyline 360 uses HTML5 to create the preview, unlike Storyline 2 which relies on Flash. The difference between preview and published output might fall between HTML5 and Flash.
You could use a button, which has built-in states that you can customize, but ideally, I'd like for your custom rectangles to work as expected, too! We're happy to have a look at your file if you want to upload it to our support team.
10 Replies
Hi Annabelle
what state change are you expecting when it is already in the 'visited' state?
Hi Wendy,
The colour has to change from green to orange
Hi Annabelle
not sure I understand - but see the attached video. I have four rectangles that each have a normal (green) state and a visited (orange) state. As I click each one it changes from normal to visited. Are you wanting other behaviour? If so you may need to use custom states, as the built in SL states have specific behaviours attached.
Yes Wendy, that's what I did and it does not change color automatically. I have to go to the next slide and come back for it to change colour.
The weird thing is when I preview the project, it works perfectly but when I publish it, it does not work properly
Do you have any triggers changing the states? That could cause an issue.
Are you publishing and viewing locally or on a webserver/LMS? Are you testing the flash version or html5 version?
Perhaps you can upload the slide for someone to take a look.
Well there are triggers that I have put so that when we click on the rectangle, it shows a layer
I can't share the slide because of confidential issues
Do you think if I replace the rectangles with buttons, it might work?
If you can't share the file here perhaps you should log a support ticket with Articulate and upload privately to them.
Hello Annabelle! You mentioned that your project works when previewed but not published. How are you viewing your project after you publish? I'd want to know that same information that Wendy brought up: Are you uploading your published output to a web server or LMS? Which browser have you tested? HTML5 or Flash version?
One other consideration: Are you using Storyline 2 or Storyline 360? Storyline 360 uses HTML5 to create the preview, unlike Storyline 2 which relies on Flash. The difference between preview and published output might fall between HTML5 and Flash.
You could use a button, which has built-in states that you can customize, but ideally, I'd like for your custom rectangles to work as expected, too! We're happy to have a look at your file if you want to upload it to our support team.
This discussion is closed. You can start a new discussion or contact Articulate Support.