- Difference between ArrayCollection and ListCollectionView?
- Difference between ArrayCollection vs Array?
- Difference between Sprite and UIComponent and how do you add a spite to a canvas?
- Difference between DisplayObjectContainer and DisplayObject?
- what does listData contain in ItemRenderers? What is the Type of listData?
- How do you access methods in DG from external itemRenderers?
- What is the data type of the dataprovider property in DG?
- What are the different data types that the data provider can take? How does it resolve different data types internally in the framework?
- What collection change event gets fired when data changes in arrayCollection?
- What are the advantages of using arraycollection as a dataprovider instead of array in DG?
- DataGrid extends which class?
- What Class does all list base controls extend? and implement?
- Difference between style and a property?
- How do you create a new style for a brand new component just assembled with assets in createChildren() in action script extending UIComponent?
- What will happen when you removeChild() and addChild()?
- what does clear() do in graphics class?
- What are non-visual components in flex? What class do they extend?
- Where is finally used and what does it do?
- What is overloading a constructor? How do you overload constructors in flex?
- Action script does not support overloading constructors - What is invalidation Cycle? What are its uses?
- How do you make a component participate in invalidation cycle?
- Implement IInvalidating interface or extend UIComponent - What are - IStyleClient, IChildList, ILayoutManager, IToolTipManagerClient, IInvalidating, IValidatorListener, IFlexModule, IAutomationObject, IPropertyChangeNotifier, IRepeaterClient, ISimpleStyleClient, IStateClient, IConstraintClient ?
- Why there is no invalidation cycle for createChildren()?
- How do you make component participate in event mechanism?
- Extend EventDispatcher or any subclass of it or implement IEventDispatcher - What is the DOM of a flex application?
- Where do you normally use IFlexDisplayObject?
- Or How do you create skinning for a component?
- To add skin properties to component implement the interface or extend DisplayObject - What is a MovieClip? IUIMovieClip?
- What is localToGlobal and globalToLocal?
- What are explicitHeight, explicitWidth, unscaledWidth, unscaledHeight? When does flex call measure()? (when explicitHeight= NaN or explicitWidth=NaN)
- What happens in measure()?
measuredHeight, measuredWidth, measuredMinHeight, measuredMinWidth are set. - What is layoutChrome()? When does it get called?
- before updateDisplayList() flex calls layoutChrome(). It gets scheduled to get called in next render update when invalidateDisplayList() is called
- It is used to define the border area around the container - You are developing a custom component and you want to use some variables that should not be exposed outside. What is the best way to do it? I'll keep adding to the list as i encounter interesting questions.
Friday, April 2, 2010
Some Interview Questions on Flex
Subscribe to:
Post Comments (Atom)
3 comments:
>How do you access methods in DG from external itemRenderers?
I thought using the methods of the objects down in the display hierarchy is a bad practice.
Shouldn't a developer get a point for not answering this question, because he never tried doing the wrong thing? Or, maybe firing a bubbling and cancelable events from item renderer might be a good answer too?
@Djam
I agree with you.
listData gives owner as a reference to DG. Bubbling Event is another.
Say a use case scenario would be like, have a checkbox that would show/hide the immediate row in the datagrid?
I would prefer to have the function to toggle written in DG rather than ItemRenderer as the functionality belongs to DG rather than the renderer (though renderer kicks if off).
dispatch(event) with bubbling. owner.dispatch(event)! yiks... well thats just another way though.
These questions make me evaluate my knowledge in flex again :(
Post a Comment