Buttons Variables and Layers??
Apr 26, 2017
Hello, I'm trying to do something, and I can't find a post on this site to help, so I guess I'll just make my own post. I hope I'm not trying to do something impossible. I want to show a chart with buttons at the bottom. As the user clicks a button, a layer appears. Clicking the button changes the button state back to normal and the layer disappears. I want the user to be able to select multiple buttons/layers as they like so they can see how the different layers work together. I'm having a heck of a time trying to figure this out. Can anyone help? I've uploaded my file. Thanks so much!!
9 Replies
Hi Kristen -
I couldn't open your file, so I'll have to answer conceptually rather than speaking directly about the actual objects in your SL file.
You could do this with variables, but a simpler method might be this; If the learner clicks button A to show Layer A, then on Layer A have an identical button A positioned over the button A on the base layer. The Button A on the base layer would show Layer A and the Button A in Layer A would close the layer. The button A in Layer A could also be colored differently to indicated the layer is showing (like you would do with button states, but since you are showing a separate button A on the layer, you could just change its color instead of using states).
Hope this helps.
Chris
Chris has a good idea, just be sure you set each layer not to hide other layers.
Hello, thanks for the response. That's a good idea, but it doesn't quite take care of what I'm trying to do. How do I load the file so you can see it?
Hello Kristen - You can share directly in the forums via the Add Attachment button in the bottom left of the reply window:
The way you loaded the file on your first post is fine, it's just that Chris and I have SL2, which can't read SL3 or 360.
Try this sample that illustrates Chris's idea. It seems to me to work like what you describe.
Oops - didn't even realize she had originally attached a file - good catch Walt.
This post was removed by the author
Glad you got it sorted out Kristen. Thanks Walt for putting together the sample.
Hey Walt
My brain was hurting for the last hour until your example showed how easy it is to show and hide layers without variables and complex triggers
Many thanks
Glad you were able to find what you needed here Mr. C!
This discussion is closed. You can start a new discussion or contact Articulate Support.