From the course: Designing Interactive Infographics with Adobe Animate
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Modifying code for complex interactions - Adobe Animate Tutorial
From the course: Designing Interactive Infographics with Adobe Animate
Modifying code for complex interactions
- [Instructor] While the beans infographic elements do respond to viewer interactions, they're a bit glitchy at this point, and could use some additional constraints. We'll now modify the code to enforce certain requirements with each interaction. Inside of Animate, go ahead and open up your Actions panel once again, and examine the code that we have right now. We're using a mouseover, and we play the internal timeline of both beans, and the cultivation infobox. However, mouseover, in this case, is not really ideal, because mouseover, interacts with the various child objects within a movie clip symbol. If we want to treat this triggering interaction as one unified piece, it's better to do a rollover. So, we'll change that to rollover instead of mouseover. The other thing we need to do is to add in some constraints. So, at the top of our function body, what we're going to do is add a little if conditional…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.