Free 9A0-182 Exam Braindumps
Flex 4.5 ACE Exam Questions 36–40 (page: 9)

Updated On: 10-Feb-2026

You have a created a custom component called MyComp in a package assigned to the comps namespace.
Which two statements could be used to create an instance of MyComp? (Choose two.)

  1. <comps:MyComp />
  2. <comps>MyComp</comps>
  3. var comp:comps.MyComp = new comps.MyComp();
  4. var comp:MyComp = new DisplayObject("comps.MyComp");
  5. var comp:MyComp = createClass("comps.MyComp");

Answer(s): A,C



Given the following Spark TextInput control:
<s:TextInput id="field1" />

Which statement correctly declares a second TextInput control that's text property is bound to the text property of field1 using two-way binding?

  1. <s:TextInput text="{{field1.text}}" />
  2. <s:TextInput text="field1.text" />
  3. <s:TextInput text="{@field1.text}" />
  4. <s:TextInput text="@{field1.text}" />

Answer(s): D



What is the effect of the following code snippet:
<s:TextInput id="tf1" text="@{tf2.text}"/>
<s:TextInput id="tf2"/>

  1. The text property of tf1 is bound to the text property of tf2
  2. The text property of tf1 is conditionally bound to the text property of tf2
  3. The text property of each field is bound to the text property of the other field
  4. This code is invalid and will generate a compiler error

Answer(s): C



Given the following code:
<fx:Binding source="message" destination="input.text" twoWay="true" /> <fx:Script>
<![CDATA[
[Bindable]
private var message:String = "Hello User";
]]>
</fx:Script>
<s:TextInput id="input" text="Goodbye User" />
What will be displayed in the text input control when the application first loads?

  1. Hello User
  2. the empty string (nothing is displayed)
  3. Goodbye User
  4. message

Answer(s): C



You are creating a custom event.
Which function must be overridden to ensure complete event propagation?

  1. clone()
  2. duplicate()
  3. Event()
  4. dispatchEvent()

Answer(s): A



Viewing page 9 of 21
Viewing questions 41 - 45 out of 96 questions


Post your Comments and Discuss Adobe 9A0-182 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!