Blog Post
NancyWoinoski
Super Hero
Here is my attempt. I created a true/false variable for each accordion tab and then created a trigger to toggle the variable from true to false each time the accordion tab was clicked. I then created 2 motion paths for each tab to move the tab back and forth based on the value of the variable.
I used motion paths because I wanted the tab to glide smoothly in both directions.
http://pinchedhead.com/free_courses/accordion/story_html5.html
I used motion paths because I wanted the tab to glide smoothly in both directions.
http://pinchedhead.com/free_courses/accordion/story_html5.html
joshstoner
9 years agoCommunity Member
I like this approach too, these are more fun to click around on with them being independent in their motions.
- NancyWoinoski9 years agoSuper HeroThanks Josh, I didn't even think to have them move together until I saw the ones that you and Dan did. I put mine on layers. I have a feeling yours is all done on the base layer.