|
INTERVIEW QUESTIONS
WEB
ACTION SCRIPT
DETAILS
Question: What is state? what is the difference between states and ViewStack in flex?
Answer: The State class defines a view state, a particular view of a component. For example, a product thumbnail could have two view states; a base view state with minimal information, and a rich view state with additional information. The overrides property specifies a set of child classes to add or remove from the base view state, and properties, styles, and event handlers to set when the view state is in effect. You use the State class in the states property of Flex components. You can only specify a states property at the root of an application or a custom control, not on child controls.
Difference between states and ViewStack in flex: * View Stack is to handle different MXML file eg TAB control and states is the transition within single MXML file. * ViewStack should be used were there is complete change in the controls used and States should be used when you just want to add or remove a few components based on certain conditions. * ViewStates are virtual state of an existing page apearing at an instance i.e. only one state can be shown at a time while viewStack are collection of different view containers which can be shown at a time
|
|
|
Category |
Action Script Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9241 users |
Added on |
9/22/2014 |
Views |
68159 |
Rate it! |
|
|
Question:
What is state? what is the difference between states and ViewStack in flex?
Answer:
The State class defines a view state, a particular view of a component. For example, a product thumbnail could have two view states; a base view state with minimal information, and a rich view state with additional information. The overrides property specifies a set of child classes to add or remove from the base view state, and properties, styles, and event handlers to set when the view state is in effect. You use the State class in the states property of Flex components. You can only specify a states property at the root of an application or a custom control, not on child controls.
Difference between states and ViewStack in flex: * View Stack is to handle different MXML file eg TAB control and states is the transition within single MXML file. * ViewStack should be used were there is complete change in the controls used and States should be used when you just want to add or remove a few components based on certain conditions. * ViewStates are virtual state of an existing page apearing at an instance i.e. only one state can be shown at a time while viewStack are collection of different view containers which can be shown at a time 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 |
|
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
|
|
How do we use css styles in flex?
|
View Answer
|
|
what are three ways to skin a component in flex?
|
View Answer
|
|
How do you use a repeater in actionscript?
|
View Answer
|
|
How do we call javascript from Flex actionscript?
|
View Answer
|
|
What is a drag manager in adobe flex actionscript?
|
View Answer
|
|
Can you write to the file system from flex?
|
View Answer
|
|
What are the methods called when a UI component is intialized?
|
View Answer
|
|
How do you implement push with flex data services?
|
View Answer
|
|
What is the dynamic keyword used for in flex actionscript?
|
View Answer
|
|
What are the similarities between java and flex?
|
View Answer
|
|
What is a resource Manager in flex actionscript?
|
View Answer
|
|
I am going to add images into a tag. How will it resize itself in adobe flex actionscript?
|
View Answer
|
|
How do you implement push on a flex applications?
|
View Answer
|
|
Have you built any components with actionscript? If so explain how you did it?
|
View Answer
|
|
How do you generate random numbers within a given limit with actionscript?
|
View Answer
|
|
What is the difference between httpService and Data Service?
|
View Answer
|
|
I need to load an image from flickr into my application. Do I need a crossdomain.xml file on flickr?
|
View Answer
|
|
Is it possible to make httpService Requests synchronous in adobe 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
|