1 Reply Latest reply on Oct 25, 2009 10:14 PM by Flex harUI

    Show and hide text in a Question & Answer page

    2009 Matt

      I need to create a Q&A page in Flex3. The page initially lists all the questions with a "Show Answer" button after each question.

       

      When a "Show Answer" button is clicked, the answer for that specific question is inserted and displayed below

      the question and the button changes to "Hide Answer".

       

      When the "Hide Answer" button is clicked, the answer for that question despairs, the questions (and answers if there are any)

      below moves up to take over the space, and the button becomes "Show Answer".

       

      Any suggestions or examples? DataGrid with hiding rows? Directly using state transitions?