Which characteristic is related to the ArrayCollection class?
Answer(s): D
The ArrayCollection class is a wrapper class. It treats an Array as a collection. This collection can be accessed and manipulated using the methods and properties of the ICollectionView or IList interfaces. Operations performed on an ArrayCollection instance modify the data source immediately. The ArrayCollection class interface can be used to get, add, and remove data at runtime. Following are the methods and properties of the ArrayCollection to access data at runtime:
You are using a RemoteObject object to call a public method of a Java class that is hosted by Flex Data Services, and public List getData() is the syntax of the Java method to be used. Now you have declared an ActionScript method named resultHandler() with the following code: private function resultHandler(event:ResultEvent):void You want to call the resultHandler() method from the RemoteObject result event, and save the returned data to a previously declared ArrayCollection named collection 1. Which of the following is the correct code?
Answer(s): C
According to the question, you are using a RemoteObject object to call a public method of a Java class that is hosted by Flex Data Services, and public List getData() is the syntax of the Java method to be used. Now you have declared an ActionScript method named resultHandler() with the following code:private function resultHandler(event:ResultEvent):void You want to call the resultHandler() method from the RemoteObject result event, and save the returned data to a previously declared ArrayCollection named collection 1. The correct code will be as follows: collection 1 = new ArrayCollection(event. result as Array);
Which of the following MXML syntaxes creates an HTTPService object?
Answer(s): A
A user can create an HTTPService object by using the following MXML syntax:<mx:HTTPService id=webService" url=contacts.xml/> where objects id property identifies it uniquely in the context of the current application or component. The url property shows the URL and can be set with either a literal String, or with a binding expression. On the other hand, a user can also declare the object first and then set its url in a separate statement:private var webService:HTTPService = new HTTPServiceQ; myService.url = "data/contacts.xml';Answer options D, B, and C are incorrect. <mx;HTTPService id="webService">, <mx;HTTPService url = "contacts.xml"/>, and <mx; HTTPService id="webService" & url="contacts.xml"/> are not valid syntaxes to create an HTTPService object.
Which containers are used to present a dialog box-style interface? Each correct answer represents a complete solution. Choose all that apply.
Answer(s): A,B
The Panel and TitleWindow containers are used to present a dialog box-style interface. The panel container is presented in line with the rest of the application layout, rather than as a pop-up window. When you present pop-up windows, you use either the TitleWindow container or the Alert class, both of which extend the Panel container.Fact What is the Title Window Layout container?The TitleWindow layout container is a subclass of the Panel container. It contains a title bar, a caption, status area, border, and a content area for its children like Panel container. It is designed to work as a pop-up window that users can drag around the application window. Answer options C and D are incorrect. The ControlBar is designed to be nested as the last component within either a Panel or a TitleWindow container. The PopUpManager singleton class is used to add and remove custom pop-up windows at runtime.
Which of the following statements truly explains the relationship between the component and the VBox class?
The VBox component is extended from the VBox class. VBox is a layout container that is used to arrange its children in a single vertical stack, or column. This container behaves like the application component when its layout is set to vertical. It has the following default sizing characteristics:· Default size: The height of a VBox layout container is large enough to hold all its children at the default. The width of a VBox layout container is the default or width of the widest child along with left and right padding of the container.· Default padding: It has 0 pixels for the top, bottom, left, and right values. Answer options A, B, and C are incorrect. These are not valid relationships between the component and the ActionScript VBox class.
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.