Forum Discussion
Use triggers and variables to cycle through multiple layers in sequence
First of all, thank you!
Is there a possibility I could see the .story file instead of viewing in Review 360 because I ran into the following hurdles:
I'm not sure how to set the accessibility tag - is that under Alternative Text? Also, should I set that as the tag for the web object or for the image?
Is the Javascript generated once I set the accessibility tag? I didn't see any code.
Based on your published file, it looks like I will still need to build a trigger that moves the slider variable?
Right click on the picture entry in the timeline. Near the bottom of the menu is the Accessibility tag. Just type the name to use in the box. The JavaScript is in one of the triggers in the project, which I thought was attached. Oops. The slider and buttons were just for the demo. You just need to set the image number variable in some way and execute the JavaScript trigger. You can use a slider, which adjusts the variable automatically, or use buttons, which you would have to manually set with triggers. Or you can set the variable some other way. See the link in my other comment for the .story file and the demo web object folder with the images (which you don't need unless you want to rebuild the project from scratch, or change the images).