You want to use a Spark item renderer. What must you do?
Answer : B
Which three are valid ItemRenderer implementation approaches in Flex? (Choose three.)
Answer : B,C,D
You have a List control that is populated with product XML data. The product data includes the name and price of the product. You want the name and the price values to appear concatenated in the label field of the List. You do NOT want to affect the underlying data.
The name and price values are separate nodes in the XML.
Which two approaches could be used to achieve the desired result (Choose two)?
Answer : AB
You have created the class MyComponent in the components package. Given the following code:
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:comp="components.*">
<!-- Put Component Here -->
</s:Group>
Which is a correct way to instantiate the MyComponent class using MXML?
Answer : B
For which uses cases should MXML be used rather than ActionScript (Choose two.)
Answer : B,E
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.)
Answer : AC
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?
Answer : D
What is the effect of the following code snippet:
<s:TextInput id="tf1" text="@{tf2.text}"/>
<s:TextInput id="tf2"/>
Answer : 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?
Answer : C
You are creating a custom event. Which function must be overridden to ensure complete event propagation?
Answer : A
What must you do when extending the Event class?
Answer : A
You are creating an application that will need:
An event dispatching system
A means for interested components to be notified when something changes in another object
Which design pattern should be used to create this architecture?
Answer : A
You are defining a User class with username and password properties to encapsulate data.
Which design pattern is being utilized?
Answer : C
You are using a Skin class with a specific component class. How is compile-time checking of the component properties enabled within the Skin class?
Answer : D
You are creating a custom component that extends the SkinnableContainer class. You want to require that the skin of your component use a Spark Button in the layout. What should you do?
Answer : C
Have any questions or issues ? Please dont hesitate to contact us