In Flash, you want to make a smiley that closes its eyes when the user clicks it (no animated transitions). The fastest working solution in terms of coding time is (pick one)
- To write a function that redraws the eyes and is invoked by a callback
- To import a button and replace its graphics with smiley graphics
- To create a timeline with 2 keyframes (smiley with eyes open and smiley with eyes closed. Navigate with a button and
gotoAndPlay()
. - To create a timeline with 2 keyframes (smiley with eyes open and smiley with eyes closed. Navigate with a button and
gotoAndStop()
.
HPI, HCI, 2009/2010 midterm exam, question 40
2016-04-27 19:37:50 UTC
2016-04-27 19:37:50 UTC