Forum Discussion
hint button appears despite trigger
Hi, Martin,
I can't explain why the program shows the item to execute its motion path. I can show you how to get around that.
The attached file is edited to work.
- I set the arrow's Initial State to Hidden.
- I gave a Visited state to the "hotspot." This allow for tracking whether it was clicked.
- Note: This is only possible because you're using a transparent shape. The built-in hotspots don't have states. So if you were using one, you'd need a variable to track whether it was clicked or not.
- I used triggers to show the arrow and move it on its motion path with the condition that the hotspot/button isn't Visited.
Thanks for taking the time Judy! Works like a charm! I'll remember states on transparent objects as an option in the future. Now to apply this work around to forty layers. :)
- JudyNollet3 years agoSuper Hero
It suddenly occurred to me: The moving object didn't appear on the timeline until 1 second. If the user clicked the "hotspot" before then, the trigger to hide the object couldn't work, because, as far as the program could tell, the object didn't yet exist!
In another slide in the attached file, I simply adjusted the start of the arrow to 0 on the timeline, and then edited the trigger to run its motion path when the timeline reaches 1 second.
- Click the hotspot before 1 second, and you'll never see the arrow.
- Click the hotspot as the arrow is moving into position, and it will disappear (which could be confusing).
Sorry I didn't think of this sooner. It's probably too late to help with your 40 layers. Well, the original option is probably better, since the arrow won't disappear partway thru its journey. But I did want to document the issue for future troubleshooting.
Best regards!