7 Replies Latest reply on Jul 27, 2009 8:06 AM by danwize

    getting x and y value of dynamically added ui component


      i have a GridRow and i am adding GridItem 's to it dynamically. however, whenever i trace the x and y value of the GridItem that I just added, it comes out as 0... doesn't flex generate the x and y values of the UI Components that are added dynamically based on where they are added in the application??


      I need these x and y coordinates because I want to dynamically add more UI components specifically at those positions (i was to bind those coordinate values to other UI components in the future)


      would appreciate any advice on the above and/or other ways to approach my goal.