Adobe
9A0-182 · Question #75
You want to invoke a Spark effect with the id "myEffect" when a button is clicked. Which syntax is correct?
The correct answer is A. <s:Button click="myEffect.play();"/>. See the full explanation below for the reasoning.
Question
You want to invoke a Spark effect with the id "myEffect" when a button is clicked. Which syntax is correct?
Options
- A<s:Button click="myEffect.play();"/>
- B<s:Button clickEffect="{myEffect}"/>
- C<s:Button mouseDownEffect="{myEffect}"/>
- D<s:Button click="myEffect.end();myEffect.start();"/>
How the community answered
(39 responses)- A85% (33)
- B8% (3)
- C5% (2)
- D3% (1)
Community Discussion
No community discussion yet for this question.