Forum Discussion
Help? Wrong layers showing in accordion interaction.
Lon,
The shortest answer is that the shapes aren't working because they have no fill. With no fill, there are no pixels inside the shape to sense the mouse hovering over them. For a shape to catch the mouse, it has to have a fill. For you not to see the shape, it has to have its transparency set to 99%, You can do this by right clicking and choosing Format Shape.
A longer answer involves best practices for States. There is an old saying in the theater: "Anyone who puts kids or animals on the stage deserves what happens to them." That means that no matter how well-behaved, or well-trained you think they are, at some time they are going to revert to their true nature, and you can only hope it doesn't happen during a performance. The SL correlation is: "Anyone who uses groups deserves what happens to them." That means that no matter how well-behaved or how well-trained you hope they are, groups don't play nicely with anything, and especially not states, clicking on, and triggers. Sooner or later, you are likely to have problems with them, as you may have already noticed.
I used a group in SL once, and it worked the way I wanted. I think it was in 19... No, wait. I'm thinking of another program, Maybe ... Well, it doesn't matter; the point is that groups don't work in SL. Pretty much you can use groups, or you can have triggers and states that work, but not both. My advice: quit messing around with groups, and create objects that work with states, and clicks.
One way to do this is to create a single object. Objects can have text on them.
Another method is to create a simple object, then if you have to add other items (like a graphic, text, etc) edit the normal state, and paste the second item into the Normal state. That works because it is still all one single object.
A third method is to put everything together, select them all, right click, export shape as picture, and insert it as a graphic.
A fourth method is to create all of the object in a graphics program and inset the graphic.
Editing these is easier if you create a shape, instead of a graphic. It doesn't take as long, either.
The ultimate aim is to have one single object to catch the clicks, and change state. Groups can't do that because they are a bunch of separate items.
None of these methods will allow a partial area of a table to trigger from a hover or click, so your best bet is a transparent shape.
Related Content
- 11 months ago
- 4 months ago
- 10 years ago