SL Version 7 Making a Clicked State Stick
Oct 05, 2015
By
Sam Carter
I need to make a clicked object stay in the clicked state. I'm finding it difficult to do if the object supports Hover.
The attached .story file has two objects. One hovers by having a state called "Hover", the other object has a state "MyHover" and uses a trigger to change the state to Hover... but only when the state is Normal, not clicked.
Both objects change to state "Clicked" when clicked. Both have issues retaining that state. The Hover actions on both objects create issues. Try it out.
Is there any way to make the Clicked state stick on the object?
Sam
4 Replies
Hi Matthew,
Your solution sounds like what I did in the upper-left hover example in the .story file I uploaded, but with one exception that I don't understand:
What do you mean by "Add your hover image"? I presume you mean to the selected state Hover where I just deleted an image? Or something else?
Sam
This is exactly what I have in the first example of the attached .story.
The problem with that solution is that the Hover effect continues after the item is clicked. I don't see any way to suppress it.
Sam
That will do, but when you have several of these on a slide it gets complicated, multiplying triggers and objects.
The problem seems to be implementation: There is no trigger for exit hover, just a restore to original state option. That option probably shouldn't fire if the state has changed from hover to clicked, but it does as shown in the second example of the .story file.
So your suggestion seems to work around this design shortcoming, but doubling the objects when you have eight on the slide already... to get around a design issue. Nuts.
Sam
Hi Sam,
The hover will always appear - unless it's in a disabled state. So selected or visited ("clicked") will still show it as the user may be hovering over it again. You'll see the entire description of the built in states here.
This discussion is closed. You can start a new discussion or contact Articulate Support.