0 Replies Latest reply on Jul 15, 2006 8:21 PM by Newsgroup_User

    Code around elements?

    Level 7
      Hi --

      I am just getting my feet wet with Flex but I'm find it very difficult to
      figure out how to create dynamic layouts. What I mean is that I read data
      from an XML source and want to create a grid or accordion or whatever based
      on data so I want to do something like this

      While Not Data EOF Do
      // GridRow
      // Grid Item

      and then depending on each record I might continue the row or end the row
      and start a new row.

      I'm confused as to how to write logic around the <MX> elements.