Adobe
9A0-182 · Question #82
You have created the class MyComponent in the components package. Given the following code: <?xml version="1.0" encoding="utf-8"?> xmlns:s="library://ns.adobe.com/flex/spark"…
The correct answer is B. <comp:MyComponent />. See the full explanation below for the reasoning.
Question
You have created the class MyComponent in the components package. Given the following code:
<?xml version="1.0" encoding="utf-8"?> xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" Adobe 9A0-182 Exam xmlns:comp="components.*"> <!-- Put Component Here --> </s:Group> Which is a correct way to instantiate the MyComponent class using MXML?Options
- A<s:MyComponent />
- B<comp:MyComponent />
- C<components:MyComponent />
- D<s:Component class="components.MyComponent" />
How the community answered
(52 responses)- A4% (2)
- B83% (43)
- C10% (5)
- D4% (2)
Community Discussion
No community discussion yet for this question.