nerdexam
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)
  • A
    85% (33)
  • B
    8% (3)
  • C
    5% (2)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 9A0-182 Practice