You want to send the HTTP request with the help of a Button component. Which of the following syntaxes should you use used?
Answer(s): A
A user can send an HTTP request using the HTTPRequest objects send() method. For example, if a user wants to retrieve data when the application starts, he can call the send() method in the applications creationComplete event handler:<mx:Application xmlns:mx=http://www.adobe.com/2006/mxml" creationComplete= "httpservice.sendQ'></mx:Application>On the other hand, the user can also send the request upon a user event, such as to send data on a mouse click using the event handler of the Button component:<mx:Button label=Request" click="service.sendQ/>Answer options C, B, and D are incorrect. <mx: Button label = "Request" service.sendo>, <mx:Button label = "Request" click = service.sendo>, and <mx: Button label = "Request, service.send()> are invalid syntaxes to send the HTTP request with the help of a Button component.
Which of the following methods and properties of the ArrayCollection class are designed to access data at runtime? Each correct answer represents a complete solution. Choose all that apply.
Answer(s): B,C,D
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:Answer option A is incorrect. findAny() is not a valid method of the ArrayCollection class.
Which layout container is the sub class of the Panel container?
Answer(s): B
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 option C is incorrect. Accordion is a navigator container, which shows its children containers as a series of panels. It contains a collection of child containers, however, only one of them is visible at a time. It creates and manages navigator buttons(accordion headers), which a user uses to navigate between the children. Accordion does not extend the ViewStack container; however, it implements all the properties, methods, styles, and events of the ViewStack container, such as selectedlndex and selectedChild. An Accordion container has the following default sizing characteristics: Answer option A is incorrect. ViewStack is a container that contains other child containers stacked on top of each other like a deck of cards. It consists of a collection of child containers stacked on top of each other, where only one child at a time is visible. When the user selects different child containers, the ViewStack container gives the impression of replacing the old one because a new child container appears in the same location. The sizing characteristics of the ViewStack container are follows:Container resizing By default, ViewStack containers fit the size of the first child container. They do rules not resize when a user navigates to other child containers. Answer option D is incorrect. The Application container is the root of a Flex application, which holds all other containers and components. The Application container sets all its children vertically by default. There are three types of Application layouts:· Vertical Layout: It sets each child component vertically from the top to the bottom of the application.· Horizontal Layout: It sets each child component horizontally from the left to the right of the application.· Absolute Layout: It has no automatic layout and it requires a user to explicitly define the location of the each child component.If the Applications layout is absolute, a user has to define x and y coordinates, otherwise, by default it will be displayed in the (0, 0) position.
Which of the following styles are used in the <mx:Label> MXML tag? Each correct answer represents a complete solution. Choose all that apply.
Answer(s): A,B,C
fontSize, fontAntiAliasType, and fontGridFitType styles are used in the <mx:Label> MXML tag. In the Label control, the fontSize style is used to set the height of the text in pixels; by default it is 10 for all controls. The fontAntiAliasType style is used to apply anti aliasing to all the text in a TextField subcontrol. The default value is "advanced, which enables advanced anti-aliasing for the font. When it is set to normal, the advanced antialiasing is disabled. The fontGridFitType style can be only applied when a user is using an embedded font and the fontAntiAliasType property is set to "advanced. Answer option D is incorrect. The font-family style is not a valid style type of the Label control.
Which properties are related to the TraceTarget class? Each correct answer represents a complete solution. Choose three.
Answer(s): B,C
A TraceTarget class receives and processes tracing messages. When a user uses the TraceTarget class, the output of the Logging API works in the manner as the output created with the trace() method. The TraceTarget class supports these properties:Answer option A is incorrect. includeField is not a valid property.
Post your Comments and Discuss Adobe 9A0-082 exam prep with other Community members: