Which of the following is a method related to the UlComponent class?
Answer(s): D
The drawFocus() method is related to the UlComponent class. It allows users to show or hide the focus indicator of the component. Answer options B and A are incorrect. ScaleX and version are the properties of the UlComponent class. The ScaleX property shows the width of the component and version returns the version number of the component. Answer option C is incorrect. Hide is an event and it is dispatched after the component visibility changes from show to hide.
Which of the following selectors exist in the Flex implementation of CSS? Each correct answer represents a complete solution. Choose all that apply.
Answer(s): C,D
Flex has three selectors for implementing CSS:· Type selectors: Type selectors declare a set of styles that are applied to all instances of that ActionScript type.· Style name selectors: Style name selectors are also known as class selectors, which declare a set of styles within an arbitrarily named collection to apply to multiple components through the styleName property.· Global selectors: Global selectors declare a set of styles that are applied to all components within the application. Answer options A and B are incorrect. Both are not selectors valid selectors.
Which of the following methods/properties can be used to update any control or container bound to the data?
Answer(s): A
The refresh() method is used to refresh the control. A user can sort or filter a collection view. It is also used to update any control or container bound to the data. Answer options C and D are incorrect. SortField is a property of the sort class. It supports the Boolean properties that determine which named property of an ArrayCollection objects data items to sort on and how to execute the sort operation:· caselnsensitive: It sets the sort operations in case-insensitive mode. By default, it is set to false.· descending: It sets the sort operations in descending order. By default, it is set to false. · numeriC. It sets sort operations in text-based mode. By default, it is set to false. A user can instantiate a SortField object and set all of its Boolean properties in the constructor method call, using the following syntax:var mySortField:SortField = new SortField(propName', caselnsensitive, descending, numeric);
Which of the following classes are used to manage XML-formatted data at runtime? Each correct answer represents a complete solution. Choose all that apply.
Answer(s): B,C,D
In ActionScript 3.0, various types of XML classes are used to manage XML-formatted data at runtime, which are as follows:· XML: The XML class supports E4X expressions to parse and modify data at runtime. It has only one root node.· XMLList: The XMLLi5t class represents an ordered set of XML objects, which is similar to an Array that contains objects in fixed order. It does not have a complete API to manage, modify, and reliably execute bindings when its data changes at runtime. · XMLListCollection: The XMLListCollection class is a wrapper class that manages an ArrayList. It supports various features, such as sorting, filtering.
Which of the following is the correct code to define a constructor for an ActionScript class?
A constructor is a special type of method that is used to initialize the instances of a class. To create a constructor method, a user has to use a function definition within a class block.The syntax of a constructor method is as follows:class consname{function consname ( ){}}In ActionScript, the class must have to define a public constructor method, which initializes an instance of the class. The characteristics of a constructor are as follows:· It has no return type.· It should be declared public.· It might have optional arguments.· It can call the super() method to invoke the constructor of the superclass. A user can also call the super() method within the constructor to invoke the constructor of the super class to initialize the inherited items from the superclass.
Post your Comments and Discuss Adobe 9A0-082 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the 9A0-082 content, but please register or login to continue.