Changing States & Layers
Feb 27, 2013
By
Adam Mac
I have a slide that displayers text boxes on seperate layers, each triggered the mouse is held over a button. I decided I wanted to include a character on each layer, and on the main slide he'd have a chat bubble with instructions.
I was able to get the character's state to change on mouse-over, and return to "normal" once the mouse is returned. However, the chat bubble does not return to "normal " and stays hidden when the mouse is returned.
Anyone have a suggestion?
10 Replies
Hi A Mac,
Is the chat bubble a part of the character's state, or its own state? Meaning, did you create the chat bubble on the slides or layers separately, or did you add them to the states for the characters you have?
I'm sure the community would be happy to take a look, if you're able to post the project's .STORY file here
I wish I could post my project's file, sadly I work behind very restrictive firewalls. (my vendors love our restrictions!)
The chat bubble is an independent element. I set the state of the bubble itself to change on mouse-over, exactly the same way I set the character's pose to change on mouse-over.
The bubble only exists on the main layer.
Here's the basic rundown.
Main Slide:
5 buttons + Chat Bubble + Character (pose 1)
each button has an "on mouse-over" trigger to reveal it's associated layer
Character has an "on mouse-over" trigger linked to each button (triggers pose 2)
Chat Bubble has an "on mouse-over" trigger linked to each button (hidden state)
Layer Slides:
Simulated Lightbox effect - new buttons placed over main slide - these have triggers linking to new pages
some text appears on each layer.
I wanted the chat bubble to remain hidden on these layers, while the character's pose would change to 2.
I got the characters to behave as desired, however the bubble remains in it's hidden state.
Hopefully that better explains my dilemma.
Hello Mac
You may have to add a "reset" trigger that changes the state back to normal that's why it stays in it's hidden state because there's no trigger for it to go back to normal.
I ended up deleting my textbox, and reproducing ... no issues now.
@Donna
I did try to add a "reset" trigger, but couldn't figure out how to add a condition when mouse-over is no longer true. Would you be able to explain how to create a reset trigger?
Thanks
Ok.. just to make sure.. coz I was reading this again.. and I got confused.
"I wanted the chat bubble to remain hidden on these layers, while the character's pose would change to 2.
I got the characters to behave as desired, however the bubble remains in it's hidden state."
So you want the chat bubble hidden when you're showing a different layer?
Maybe you can post a screenshot instead of what you want to happen.
I was able to reproduce the issue. This time I made the bubble part of the character's state, rather than have triggers for each item independently.
Screen shots:
The first is the initial slide, second shows mouse-over and first layer, third shows the results thereafter.
As I suspected, I was doing things the hard way.
Rather than add a trigger to my buttons, and additional states to my character/bubble, I ended up simply hiding the character/bubble from the base layer.
I apologize if the questions are starting to sound annoying..but..
When the click on the button, what happens? They go the layer that was showing when they hovered over the button? (so same layer?)
What generated the 3rd screenshot? - Did this happen after you moused over?
Click = no interaction (on each layer there was a copy of the button, which had a click trigger directing to new slides)
Hover = Show associated layer
The 3rd screen shot was the result on the base layer after I hovered over the first button.
Chain of events = Base Layer > Hover + Layer > back to base layer.
Even though the base layer was set to "reset to initial state" the character/bubble would remain hidden, which was not their initial state.
Hello again,
So I do wish I can see the project so I can take a closer look at the triggers you have set up.
But here's a story file that should have some similar effects to what you want to happen. (Assuming my understanding is correct)
Check it out and let me know if that makes sense.
Donna
This discussion is closed. You can start a new discussion or contact Articulate Support.