nerdexam
Adobe

9A0-148 · Question #37

You declare a variable myClip in your Actions panel: var myClip:MovieClip = new MovieClip(); As you are working with myClip in your Actions panel, you are NOT receiving any code hinting for its…

The correct answer is B. You need to import flash.display.MovieClip. See the full explanation below for the reasoning.

Question

You declare a variable myClip in your Actions panel:

var myClip:MovieClip = new MovieClip(); As you are working with myClip in your Actions panel, you are NOT receiving any code hinting for its properties or methods. What is one reason code hinting may NOT be working?

Options

  • AThe MovieClip class does not have any properties or methods
  • BYou need to import flash.display.MovieClip
  • CCode hinting is not supported in the Actions panel.
  • DmyClip is an invalid variable name.

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    76% (25)
  • C
    15% (5)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 9A0-148 Practice