|
INTERVIEW QUESTIONS
WEB
ACTION SCRIPT
DETAILS
Question: How do we identify a component created in a repeater using flex?
Answer: If currentIndex value is greater than startIndex value means a component is created in Repeater. We can use count property to find number of children. A Repeater component executes initially when it is instantiated. If the Repeater component's dataProvider property exists, it proceeds to instantiate its children, and they instantiate their children, recursively. The Repeater component re-executes whenever its dataProvider, startingIndex, or count properties are set or modified either explicitly in ActionScript, or implicitly by data binding. When a Repeater component re-executes, it destroys any children that it previously created (assuming the recycleChildren property is set to false), and then reinstantiates its children based on the current dataProvider property.
|
|
|
Category |
Action Script Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 8916 users |
Added on |
9/22/2014 |
Views |
67717 |
Rate it! |
|
|
Question:
How do we identify a component created in a repeater using flex?
Answer:
If currentIndex value is greater than startIndex value means a component is created in Repeater. We can use count property to find number of children. A Repeater component executes initially when it is instantiated. If the Repeater component's dataProvider property exists, it proceeds to instantiate its children, and they instantiate their children, recursively. The Repeater component re-executes whenever its dataProvider, startingIndex, or count properties are set or modified either explicitly in ActionScript, or implicitly by data binding. When a Repeater component re-executes, it destroys any children that it previously created (assuming the recycleChildren property is set to false), and then reinstantiates its children based on the current dataProvider property. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Explain the difference between creating an effect and setting the target as opposed to adding an effectListener?
|
View Answer
|
|
What is the problem with calling setStyle()
|
View Answer
|
|
What does calling preventDefault() on an event do? How is this enforced?
|
View Answer
|
|
How do you add event listeners in mxml components. Now AS3 components?
|
View Answer
|
|
Why would you want to keep a reference to a ChangeWatcher and call unwatch()?
|
View Answer
|
|
What is the difference between ChangeWatcher.watch, and BindingUtils.bindProperty?
|
View Answer
|
|
Explain how binding works in mxml components in flex?
|
View Answer
|
|
What design patterns have you used? in Actionscript and java?
|
View Answer
|
|
What keyword allows us to implement abstraction better in flex?
|
View Answer
|
|
What is cairnghorm in flex? how do we use it?Have you worked with Cairnghorn in flex?
|
View Answer
|
|
What are runtime shared libraries in flex?
|
View Answer
|
|
What are sealed classes in flex?
|
View Answer
|
|
What is dynamic keyword used for in actionscript?
|
View Answer
|
|
How do we overload functions in actionscript?
|
View Answer
|
|
How polymorphism works on actionscript?
|
View Answer
|
|
What keyword allows you to refer to private variables of a class in flex?
|
View Answer
|
|
How does item renderer work? How do we add item renderer at runtime in flex?
|
View Answer
|
|
What is state? what is the difference between states and ViewStack in flex?
|
View Answer
|
|
What is MVC and how do you relate it to flex apps?
|
View Answer
|
|
What is the difference between sealed class and dynamic classes in flex?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Action Script Interview Questions & Answers - Exam Mode /
Learning Mode
|