Forum Discussion
Adding a Trigger to Hide a Scrolliing panel
One little trick I've picked up is how to activate entrance and exit animations on objects (not layers) by controlling the objects normal and hidden states.
If I have an object whose state is hidden by default, and apply an entrance and exit animation to that object, when I trigger the objects' state to become normal the entrance animation will play. When I am done with the object and trigger it's state back to hidden the exit animation will play.
This can be done several times for the same object on the same slide.
Unfortunately you can't adjust the states of a scrolling panel.
To work around this you can create an object on your scrolling panel layer as a container for your scrolling panel. Create a custom state in your object. Build your scrolling panel on a separate slide or layer, copy it, return to the custom state in your object and paste it into the custom state, resize if necessary, etc.
In the attached example I have open and close buttons. The open button shows the scrolling panel layer which has a trigger to change the state of the object to the custom state when the layer's timeline starts, triggering the entrance animation. Once the entrance animation is complete I pause the timeline of the scrolling panel layer.
The close button changes the state of the object to hidden, triggering the exit animation on the object and I have a trigger on the layer that hides the layer when the exit animation is complete.
Here's a link to the Demo - https://db.tt/IwytyyVU
Storyline file is attached...
Hope this helps, have fun!
Related Content
- 10 months ago
- 10 months ago
- 10 months ago
- 10 months ago