This content has been marked as final. Show 2 replies
"user341975" <email@example.com> wrote in message
>I am new to flex and I am working the following feature. Please let me know
> it can be done in flex or not
> The app I am working on is a questionnaire type. There are bunch of
> with categories. I do not want to show all the questions on the screen. I
> to show only the categories. If user chooses YES to the category, I would
> to display the category related questions.
> Example: Question 1 is yes then shows Question 2 to Question 10. Currently
> am using controls visible property to display or not display the
> questions. But
> if user chooses ?NO? to question 1, it leaves blank space and user has to
> scroll down to the Question 2. This is kind of ugly.
> Is there any way that I could put Questions 2 to 10 in a container (like
> in .net) and show or not show the container? When user chooses yes the
> container will expand and show the details and when user choose no the
> container will shrink.
> This looks very simple but I am not able to figure it out. I know I am
> some thing. Please help me to find any documentation or examples.
Look at the includeInLayout property.
using States for questionaires is usually a good solution.