60+ Adobe Flex Interview Questions And Answers

Spread the love

Adobe Flex Interview Questions

Question 1. What Is The Use Of Disableautoupdate Method?

This methodology prevents the occasions that signify adjustments to the underlying knowledge from being broadcasted by the view. It additionally prevents assortment from being up to date. This methodology is beneficial the place a number of objects in assortment are being edited without delay. By disabling the auto replace the adjustments are obtained as a batch as a substitute of a number of occasions. Also in a DataGrid this methodology prevents replace to the gathering whereas a selected merchandise is chosen. When merchandise is not chosen the DataGrid controls calls enableAutoUpdate() methodology.

Question 2. What Events Are Used By The Collections?

Collections dispatch CollectionEvent, PropertyChangeEvent and FlexEvent objects.

Collections dispatch a CollectionEvent when there’s a change in assortment. The property type for a CollectionEvent object can be utilized to seek out which sort of change occurred. This property is in contrast in opposition to CollectionEventType constants to seek out what the change was for instance, UPDATE and so forth.
The CollectionEvent object contains an objects property that’s an array of objects. For ADD and REMOVE type occasions this accommodates added or eliminated objects, however for UPDATE it accommodates an array of PropertyChangeEvent objects.
PropertyChangeEvent class has type property to point the way in which during which property modified. This will be decided by evaluating type property with PropertyChangeEventType constants, for instance UPDATE. This occasion object additionally has properties to point the values earlier than and after the change.
View cursor objects dispatch a FlexEvent with kind property mx.occasions.FlexEvent.CURSOR_UPDATE when the cursor place adjustments.

Question 3. What Is A View Cursor?

A cursor is a place indicator; it factors to a selected merchandise within the assortment. We use view cursor to traverse objects in a group’s knowledge view and modify the info in assortment.

A view cursor contains following strategies:

The moveNext() and movePrevious() to maneuver the cursor ahead or backward. Use beforeFirst or afterLast properties to test whether or not we’ve reached the bounds.
The discoverAny(), findFirst() and findLast() strategies transfer the cursor to an merchandise that matches the parameter.

Question 4. What Is A Filter Function?

We use this perform to restrict the info view within the assortment to a subset of supply knowledge object. The perform should take a single Object parameter, which corresponds to a group merchandise, and should return a Boolean worth specifying whether or not to incorporate the merchandise within the view.

Question 5. What Is A Metadata Tag?

These tags present info to Flex compiler relating to the utilization of our part. Examples are Bindable, Event, DefaultProperty, Inspectable and so forth.

Question 6. Does Exclude Or Exclude Class Really Excludes The Data Or Class?

Exclude(and ExcludeClass) tags merely affect the set of selections which can be accessible in Flex Builder. They don’t exclude the courses from linking, which is a basic false impression. There are MXML choices to say “I want to treat this symbol as exteranally defined” . Depending on how we compile our software, usually the courses which can be included are these which can be referenced from the foundation software or courses, both immediately or by way of another class that’s referenced immediately or not from the foundation software or courses. The -link-report mxmlc possibility could be very helpful in that it tells us

what all is in our swf, and
who trusted every class to trigger it to be included.

Question 7. What Is The Difference Between Viewstack Vs Viewstate?

Actually ViewStack and ViewState should not associated. View states give one strategy to change the feel and appear of a part in response to consumer motion. We also can use navigation container e.g. Acordion, ViewStack, Tab navigator and so forth. Choice of choosing navigation container or states relies upon upon requirement of software.

View stack is a part used to show completely different views (usually completely different knowledge), one after the other. View states are associated views of a single set of information. For instance regular view and superior view for a picture.
In ViewStack parts can’t be shared simply between the completely different views, they needed to be created every time view is modified. For instance if we wish a search field in each view, then it must be created in each view. States work with transitions. We can apply numerous adjustments to a identical part in numerous states. They will seem based on states.

Question 8. What Are The Differences Between Flex 3 And Flex 4?

There will be lot of syntactic or different variations between the 2, however main distinction is: In Flex Four the structure of parts (most of) have gotten modified. These parts (known as Spark the older ones in Flex Three are known as Halo) have separated the position of developer and designer. Spark parts have one predominant core part class (written in actionscript) that accommodates the principle logical half and one Skin class that handles all of the visible features. We can say core part is skeleton and pores and skin is its visible look. For instance spark button has one core Button class and one pores and skin class for it.

Question 9. What Are The Advantages And Disadvantages Of Using Flex? And Why Flex Wins Over Other Technologies?

Flex could be very mature component-based growth framework that reduces the event time and provides superb outcomes. There are loads of benefits: Easy to be taught, Flash Player accessible broadly, Works very well with different back-end applied sciences (specifically with java), primarily based on parts so very simple to debug and repair, additionally has an excellent IDE and so forth. The disadvantages are: functions was once barely heavy and so forth. But all of them will be dealt with to a very good extent by following up best-practices and good software structure.

Question 10. What Is Flex?

Flex is an software framework (sure it’s a framework!!) that enables builders to construct wealthy functions for desktop (utilizing AIR), internet, mobiles and tablets (iOS, android, blackberry and so forth). The internet functions (SWF Files) run in Flash Player which is out there in additional than 90% computer systems internationally. For desktop-based functions AIR is required. There are two predominant constructing blocks for growth in Flex: ActionScript (used primarily for Logic half) and MXML (used primarily for declaration of tags and parts and so forth).

Question 11. Explain Data Binding In Flex?

Data binding is the method by which adjustments in a single motion script object are mirrored in one other motion script object. (OR) Data binding mechanically copies the worth of a property of a supply object to a property of a vacation spot object when the supply property adjustments.

Data binding requires a supply property, a vacation spot property, and a triggering occasion that signifies when to repeat the info from the supply to the vacation spot. An object dispatches the triggering occasion when the supply property adjustments
Adobe Flex supplies Three methods to specify Data binding:

Curly braces ({ }) syntax in mxml and [Bindable] metadata tag
<mx: Binding> tag in MXML
BindingUtils.bindProperty/bindSetter strategies in Action Script at runtime.

Question 12. Explain The Configuration Details Of Blaze Ds?

Add BlazeDS JAR information and dependent JAR information to the WEB-INF/lib listing from BlazeDS undertaking.
Add BlazeDS configuration information within the WEB-INF/flex listing from BlazeDS undertaking.
Define Message Broker Servlet and a session listener in WEB-INF/internet.xml from BlazeDS undertaking.
The Blaze DS makes use of 4 predominant configuration information particularly:

Services-config.xml: The prime stage Blaze Ds configuration file, this file often accommodates safety constraints, channel definitions and logging settings that every of the providers can use.
Remoting-config.xml: The remoting service configuration file, which defines remoting service locations for working with distant objects.
Proxy-config.xml : The proxy service configuration file which defines proxy service locations for working with webservices and HTTP Service (REST Services)
Messaging-config.xml: The messaging service configuration file, which defines messaging service locations for performing publish subscribe messaging.

Question 13. Explain About Blaze Ds And Blaze Ds Services?

BlazeDS supplies a set of providers that allows you to join a client-side software to server-side knowledge, and move knowledge amongst a number of shoppers related to the server. BlazeDS implements real-time messaging between shoppers.

Blaze DS providers:

HTTP Service
Webservice
Remote Object
HTTP Service: HTTP Service parts to work together with JSP’s, Servlets and ASP Pages that aren’t accessible as Webservice or remoting providers locations.

<mx:HTTPService id=”myService” url=”http://localhost:8400/middlejava/LoginServlet” end result=”end resultHandler(occasion)” fault=faultHandler(occasion)” methodology=”Get”/>

Webservice: Webservice parts allow you to entry webservices, that are software program modules with strategies. Webservices strategies are generally known as operations. Webservice interfaces are outlined by utilizing XML. Flex software can work together with webservices that outline their interfaces in a Webservices Description Language (WSDL) doc, which is out there as a URL. WSDL is an ordinary format for describing the messages {that a} webservice understands the format of those responses to these messages.

<mx: WebService id=”Webservice” wsdl=”http://search.yahoo.com/searchservice?wsdl” end result=”end resultHandler (occasion)” fault=faultHandler (occasion)” methodology=”Get”/>

Remote Object: Remote object parts allow us to entry the strategies of server facet java objects, with out manually configuring the objects as webservices. We can use distant object parts in MXML or ActionScript. We can use RemoteObject parts with an ordinary alone BLAZE DS internet software or macromedia ColdFusion MX from Adobe.

Question 14. Difference Between Cairngorm Event And Flex Event?

Cairngorm Event just isn’t a bubbled occasion and it may be perceive by solely flex instructions.
Flex occasions will be dispatched by each part in Flex.

Question 15. How To Add Two Commands To One Single Event Type?

Sequence Command is used so as to add a number of instructions to at least one occasion kind.

Question 16. Should Model Locator As A Singleton Class? Can’t We Instantiate This Class As Like Normal Class?

You can name as a traditional class as a result of constructor is public.

Question 17. What Is Singleton Class? Explain The Steps To Create A Singleton Class?

The singleton sample is a design sample that’s used to limit instantiation of a category to at least one object. If we create the category as a singleton then no strategy to create a couple of occasion. But, we will get that single occasion in any variety of courses. So all of the courses will share the identical properties and behaviours of that singleton object.

Steps to create a Singleton class:

Consider the MySingleTon class as a singleton class.

package deal {
public class MySingleTon {
// Single Instance of Our MySingleTon
non-public static var occasion:MySingleTon;
//DEFINE YOUR VARIABLES HERE
public perform MySingleTon (enforcer:SingletonEnforcer)
{
if (enforcer == null)
{
throw new Error( “You Can Only Have One MySingleTon”);
}
}
// Returns the Single Instance
public static perform getInstance() : MySingleTon
{
if (occasion == null)

occasion = new MySingleTon ( new SingletonEnforcer );

return occasion;

}
}
}

// Utility Class to Deny Access to Constructor
class SingletonEnforcer {}

We ought to create one static variable. It shall be known as “occasion” and will probably be of kind MySingleTon. This would be the variable the place we’ll retailer our one occasion of our class.
Then we must always create one constructor. The constructor takes one argument – “enforcer”. You will discover that this “enforcer” has a kind of “SingletonEnforcer” which is outlined immediately after our class. Here is the logic behind that:
When you set a category in an ActionScript file under the principle class, it’s only accessible to that class.
If the constructor requires this argument – then solely our predominant class can create an occasion of itself, as a result of we don’t have entry to the “SingletonEnforcer” class. Only the principle class has this entry.
We won’t entry our class within the regular manner by utilizing the “new” assertion as a result of we will’t name the constructor. Once we get inside the constructor, we’ve a couple of traces that make certain issues work as deliberate. The “if” assertion ensures that we had a legitimate “enforcer” handed in. If there wasn’t it throws an Error stating that “You Can Have Only One MySingleTon”.

Question 18. Explain About Cairngorm Architecture?

Cairngorm is an implementation of a number of design patterns that kind a light-weight architectural framework. Cairngorm follows the precept of separating the view and business logic which is called the Model-View-Controller sample (MVC).

The Pieces of Cairngorm:

Model Locator
View
Front Controller
Command
Delegate
Service
Model Locator: Stores your whole software’s Value Objects (knowledge) and shared variables, in a single place. Similar to an HTTP Session object, besides that its saved consumer facet within the Flex interface as a substitute of server facet inside a center tier software server.
View: One or extra Flex parts (button, panel, combo field, Tile, and so forth) bundled collectively as a named unit, sure to knowledge within the Model Locator, and producing customized Cairngorm Events primarily based on consumer interplay (clicks, rollovers, drag n drop.)
Front Controller: Receives Cairngorm Events and maps them to Cairngorm Commands.
Command: Handles business logic, calls Cairngorm Delegates and/or different Commands, and updates the Value Objects and variables saved within the Model Locator
Delegate: Created by a Command, they instantiate distant process calls (HTTP, Web Services, and so forth) and hand the outcomes again to that Command.
Service: Defines the distant process calls (HTTP, Web Services, and so forth) to connect with distant knowledge shops.

Question 19. Tell Me Arguments Of Addeventlistener() Method?

addEventListener (kind: string, listener: perform, useCapture: Boolean=false, precedence:int=0, useWeakReference:Boolean=false):void

kind: Type of Event(MouseClick, MouseOver)
listener: It’s a perform
useCapture(dfault:false): If True: Enable solely Capturing Phase
Flase: Enable Targetting and Bubbling Phase.
Priority(int=0): The precedence stage of the listener. The greater the quantity the upper the precedence.
useWeakReference(default =false): whether or not the reference to the listener is powerful or weak. A robust reference (default) stopping your listener from being garbage-collected, a weak reference doesn’t.

Question 20. What Is Clone() Method?

Clone methodology creates duplicate copy of the occasion class. This methodology is executed mechanically when the occasion is redispatched within the occasion listeners.

Question 21. What Is Preventdefault () Method?

To cancel the default behaviour of the occasion. The strategies of the Event class can be utilized in occasion listener capabilities to have an effect on the behaviour of the occasion object. Some occasions have an related default behaviour. For instance, the doubleClick occasion has an related default behaviour that highlights the phrase beneath the mouse pointer on the time of the occasion. Your occasion listener can cancel this behaviour by calling the preventDefault () methodology.

PreventDefault () methodology will work provided that Cancellable property is true, in any other case it’s not working.

Question 22. What Is The Difference Between Target And Current Target?

Target: The object that dispatched the occasion (doesn’t change). Target won’t change.
Current Target: The object who’s at present being checked for particular occasion listeners (adjustments). Current goal is carry on change.

Question 23. How To Create Custom Events? Explain The Steps To Create A New Custom Event?

To dispatch a brand new occasion out of your customized part, you should do the next:

(Optional) Create a subclassfrom the flash.occasions.Eventclass to create an occasion class that describes the occasion object.
(Optional) Use the [Event]metadata tag to make the occasion public in order that the MXML compiler acknowledges it.
Dispatch the occasion utilizing the dispatchEvent() methodology.

Question 24. What Is Stoppropagation() And Stopimmediatepropagation()? (or) Difference Between Stoppropagation And Stopimmediatepropagation()? (or) How To Stop The Event Flow/ Event Phases?

stopPropagation: Prevents processing of any occasion listeners in nodes subsequent to the present node within the occasion circulate. This methodology doesn’t have an effect on any occasion listeners within the present node (present goal).
stopImmediatePropagation: Prevents processing of any occasion listeners within the present node and any subsequent nodes within the occasion circulate. This methodology takes impact instantly and it impacts occasion listeners within the present node.

Question 25. What Is Adapter In Blaze Ds?

Java Adapter is used to speak with Java and JMS adapter is used to speak with JMS. Java adapter class permits us to invoke strategies on a Java object.

Question 26. Explain About Different Types Of Channels Available In Blaze Ds?

HTTP Channel, AMF Channel, RTMP Channel:

AMF Channel: A easy channel endpoint that transport knowledge over HTTP within the binary AMF format in an asynchronous name and response mannequin.
HTTP Channel: Provides the pattern behaviour the AMF Channel/endpoint, however transport knowledge in AMFX format, which is the textual content primarily based illustration of AMF.
RTMP Channel: The RTMP Channel creates a single duplex socket connection to the server and provides the server the most effective notification of the participant being shut down.

Question 27. Explain About Remote Object? What Is End Point In Remote Object?

Remote Object: Remote Service mechanically serializes and deserializes the info between Flex consumer and your server facet language. As a end result, you’ll be able to immediately name strategies in your Java/.Net/ColdFusion/PHP and so forth… objects. This service connects to an AMF (Action Message Format) Gateway. AMF protocol transfers knowledge in a binary format, so the info will be moved throughout the community extra shortly.

endpoint: This property is used to establish the Java internet undertaking out of your flex consumer undertaking.

Ex: http://localhost:8080/JavaTest/messagebroker/amf

http: it is a protocol used to speak with webserver from consumer. http means “Hyper Text Transfer Protocol”
localhost: Host identify of the machine the place you have got deployed your Java internet undertaking.
8080: Port variety of the net server the place you have got deployed your Java undertaking.
JavaTake a look at: Context root of the net software to establish the net undertaking uniquely.
Messagebroker/amf: that is the URL sample of the servlet which we’ve outlined in internet.xml file.
<<protocol>>://<<hostname>>:<<port no>>/<<context root>>/<<URL Pattern>>

Question 28. Explain About Resultevent And Faultevent In Remote Object? (or) Explain About Result Handler And Fault Handler Methods?

end result: This is the occasion listener for the occasion ResultEvent. This occasion is mechanically dispatched by the Flash Player when it receives the profitable outcomes from the backend Java service.
fault: This is the occasion listener for the occasion FaultEvent. This occasion is mechanically dispatched by the Flash Player when it receives any error in calling the Java methodology.

Question 29. Difference Between Http Service And Remote Object? (or) Which One You Will Prefer?

Data Service(Remote Object):

Remote Objects specifies named or unnamed sources.
This service connects to an AMF(Action Message Format) Gateway
AMF protocol transfers knowledge in a binary format, so the info will be moved throughout the community extra shortly.
Remote Service mechanically serializes and deserializes the info between Flex consumer and your server facet language. As a end result, you’ll be able to immediately name strategies in your Java/.Net/ColdFusion/PHP and so forth… objects
HTTP Service/Web Service:

These providers use named or uncooked URLs
These providers hook up with an HTTP Proxy Gateway.
HTTP Service use HTTP protocol/requests
Web Services use SOAP (Simple Object Access Protocol).
These providers switch knowledge in XML format. This is sluggish.
Here the info switch is in XML solely.

Question 30. Explain About Component Life Cycle?

A set of strategies the framework calls to instantiate, management and destroy parts. OR The part instantiation life cycle describes the sequence of steps that happen while you create a part object from a part class. As a part of the life cycle, Flex mechanically calls part strategies, dispatches occasions, and makes the part seen.

3 Main Phases:

BIRTH:Construction, configuration, attachment, initialization
LIFE : Invalidation, validation, interplay
DEATH : Detachment, rubbish assortment
override protected perform createChildren():void
override protected perform replaceDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
myLab.transfer(0,0);
myLab.setActualSize(100,100);

Question 31. Explain About Measure() Method? When This Measure() Method Is Called?

The measure() methodology units the default part measurement, in pixels, and optionally units the part’s default minimal measurement.

This methodology is used for following causes:

To set the parts measuredWidth, measuredHeight, measuredMinWidth and measuredMinHeight.
To set the default width and peak values to this part.
To measure the kid parts widths and Heights. So that we will specify how a lot width and peak is required for our part.
Measure methodology known as solely when you find yourself not specifying each width and peak externally on the time of calling this part.
This methodology will be known as a number of occasions by calling the invalidateSize() methodology.

Question 32. Difference Between Item Renderer And Item Editors?

Both are used for modifying,however merchandise renderer is used for displaying visible components..

merchandise editor is used for modifying function. Item editor can move knowledge again from the actual management to reserve it as a brand new worth for merchandise being edited. We also can use merchandise renderer as editor by utilizing boolean property renderIsEditor.
itemrenderer is used to format and show the contents in a parts whereas itemeditor permits us to edit the displayed content
Question 33. How To Display The Check Box In Data Grid Header?

<mx:DataGridColumn headerText=”ADD” dataField=”add” merchandiseRenderer=”mx.controls.Button”/>
<itemrendere>
</merchandiseRenderer>

Question 34. Can We Use Text Input/editable Component As Itemrenderer?

Yes.

Question 35. What Are All The Events Dispatched In Item Editor?

Item Edit Beginning, Item Edit Begin, Item Edit End

Question 36. What Are The Collections Classes Available In Flex?

Array Collection, XML List Collection, Grouping Collection.

Question 37. Difference Between Array And Array Collection?

Array Collection is a wrapper class primarily based on Array.
Array Collection accommodates sorting, filtering options however Array not.
Array Collection dispatches the Event when new merchandise is added, up to date or deleted.
Array Collection mechanically refreshes/updates the view at any time when the change occurs in Array Collection.

Question 38. What Type Of Skinning Is Available In Flex?

Graphical skinning, Programmatic Skinning and Stateful skinning:

Graphical Skins: Images that outline the looks of the pores and skin. These photographs can JPEG, GIF, or PNG information, or they are often symbols embedded in SWF information. Typically you utilize drawing software program similar to Adobe Photoshop or Adobe Illustrator to create graphical skins.
Programmatic Skins: Action Script or MXML courses that outline a pores and skin. To change the looks of controls that use programmatic skins, you edit an Action Script or MXML file. You can use a single class to outline a number of skins.
Sateful Skins: A kind of programmatic pores and skin that makes use of view states, the place every view state corresponds to a state of the part. The definition of the view state controls the look of the pores and skin. Since you’ll be able to have a number of view states in a part, you should utilize a single part to outline a number of skins.

Question 39. What Is The Difference Between Graphical Skinning And Stateful Skinning?

Sateful Skins: A kind of programmatic pores and skin that makes use of view states, the place every view state corresponds to a state of the part. The definition of the view state controls the look of the pores and skin. Since you’ll be able to have a number of view states in a part, you should utilize a single part to outline a number of skins.

Question 40. What Is Css (cascading Style Sheet)?

Cascading Style Sheets (CSS) are utilized in Flex to use kinds to visible parts on the appliance show listing. CSS is an ordinary for encapsulating the code that makes up the design of an Application. Given the facility and maturity of CSS, most skilled Web designers/builders attempt to implement as a lot of the design and format properties of a Web website/software in CSS as doable. The result’s a lot larger management and adaptability over the feel and appear of the location.

Some options of CSS:

Global: kinds utilized to all of the parts.
Type selector: Applied to specific kind of parts in complete undertaking.
Style Name selector: Applied to just one part by specifying the Style Name property.

Question 41. Difference Between Swc And Swf File?

SWC file is a library file and SWF file is a runnable file. We will copy to Flex Projects libs folder.
SWC is what you utilize while you’re on the lookout for a library to compile into your app. You have entry to the courses and might import particular person elements. SWF is extra probably what you are on the lookout for when embedding graphics.

Question 42. Difference Between Label And Text?

Label: If you explicitly measurement a label management in order that it’s not massive sufficient to accommodate it is textual content the textual content is truncated and terminated by an ellipsis(…)
Text: Here the textual content is displayed in new traces.

Question 43. What Is Shared Object? (or) How To Store The Data In Local?

Shared objects perform like browser cookies. The SharedObject class to retailer knowledge on the consumer’s native onerous disk and name that knowledge throughout the identical session or in a later session. Applications can entry solely their very own SharedObject knowledge and provided that they’re working on the identical area. The knowledge just isn’t despatched to the server and isn’t accessible by different Adobe® Flex® functions working on different domains, however will be made accessible by functions from the identical area.

Public var so : SharedObject = SharedObject.getLocal(“mySO”);
so.knowledge.fName = “Wisdomjobs”;

Question 44. What Is Over Loading? Is Method Over Loading Possible In Flex?

No. Method overloading just isn’t supported in Action Script3.0.

Question 45. What Is Method Overriding?

Override a technique of a base class in your ActionScript part. To override the tactic, you add a technique with the identical signature to your class, and prefix it with the override key phrase

Question 46. What Is Composition?

Making use of the already created class performance or behaviour by instantiating the category and calling the required strategies.

Question 47. Difference Between String And String Buffer?

String is immutable and String Buffer is mutable. String class creates new occasion for any methodology however String Buffer updates/modifies identical occasion.

Question 48. What Is Serialization?

Object will be represented as sequence of bytes that features the item’s knowledge in addition to info.
Transfer of information from consumer to the server like sending the Java objects from Java to Flex.

Question 49. What Are The Differences Between 4.6/4.5/4.0 And Flex 3.0?

4.5 and 4.6 are used for creating cell primarily based functions. 4.6 has few new parts.

4.0:

Spark parts have been launched. Component logic and look has been separated. Appearance of the parts is laid out in skins.
FXG
FTE (Flash Text Engine)
States modified
Effects modified

Question 50. Difference Between Flash And Flex?

Flash is utilized by the designers. Flex is utilized by the builders. Flash makes use of solely Flash Player API however Flex makes use of each Flash Player API and Flex SDK library additionally. like datavisualization.swc, automation.swc, rpc.swc.

In flash no coding solely designing.
In flex you’ll be able to create large tasks.
Question 51. Difference Between Sealed Class And Dynamic Class?

Sealed Class:

A sealed class possesses solely fastened set of properties and strategies that have been outlined at compile time. Additional properties and strategies can’t be added at runtime.
This allows strict compile time checking.
It additionally improves reminiscence utilization. Because it doesn’t require an inside hash desk for every object occasion.
All courses in Action Script 3.Zero are sealed courses by default.
Dynamic Class:

A dynamic class defines an object that may be altered at run time by including or altering the properties and strategies.
It doesn’t allow strict compile time checking.
It consumes extra reminiscence as a result of it requires an inside hash desk for every object occasion.
You can create dynamic courses by utilizing the dynamic attribute while you declare a brand new class.

Question 52. Difference Between Data Grid And Advanced Data Grid?

Advance Data Grid permits type by a number of column while you click on within the column header. DataGrid permits solely single column type.
Styling rows and columns: Use the type perform property to specify a perform to use kinds to rows and columns of the controls.
Display Hierarchical and Grouped Data: Use an expandable navigation tree in a column to regulate the seen rows of the management.
Creating Column Groups: Collect a number of columns beneath a single column heading.
Using Item Renderers: Span a number of columns with an merchandise renderer and use a number of merchandise renderers in the identical column.

Question 53. Advantages Of Adobe Flex?

Complete browser portability: any browser that helps flash participant and that features nearly each browser.
Strong backend connectivity: from its inception, flex has featured wonderful assist for standard backend applied sciences such because the java and dot Net.
Streaming: flex gives wonderful assist for streaming binary knowledge. Heavy allocations that should switch great amount of information to the top consumer.
Asynchronous: Asynchronous request/response mannequin. Flex gives full assist for asynchronous processing of consumer requests.
SVGs (Scalable Vector Graphics): flex stands out from most different RIA-based applied sciences as a result of it helps vector-based drawing and direct embedding of SVG mark-up information. SVG primarily based photographs look equally good at any decision a given browser helps.
Security and Rich User Interfaces: Robust safety flex leverages the extremely examined flash participant safety.
RUI, flex advantages from halo skins, gradient fills, vector graphics and different flash participant options.

Question 54. What Is Calllater () Method?

The callLater () methodology queues an operation to be carried out for the subsequent display screen refresh, moderately than within the present replace. Without the callLater () methodology, you would possibly attempt to entry a property of a part that isn’t but accessible.

Syn: callLater(methodology:Function, args:Array):void

Ex: We have a button click on occasion that masses knowledge from a XML file or a webservice. That loading of information would most likely have one other end resultHandler which is able to anticipate the loading to complete. And in the meantime your button click on handler is perhaps doing another issues …so in these conditions we will use callLater.

Question 55. What Is The Use Of Arraycollection Filter Function?

filterFunction: Function [read-write] : A perform that the view will use to eradicate objects that don’t match the perform standards.

A filter perform is predicted to perform (merchandise: Object): Boolean When the return worth is true if the desired merchandise ought to stay within the view. If a filter is unsupported, flex throws as error when accessing this property. We should name refresh () methodology after setting the filter perform property for the view to replace.


Spread the love