0 Replies Latest reply on Jan 4, 2012 3:16 PM by Cyclone_1314

    dynamically change flex variables with JSON

    Cyclone_1314

      I am trying to take different variables from within each other, and use that to dynamically change variables within flex, and I am not sure how to write it. For example, the JSON code would be something like:

      {

           "content" : [

                     {

                                    "panels" : [

                                              {

                                                             "height" : "200",

                                                             "width" : "300"

                                                      }

                                         ]

                             }

                  ]

      }

      Now I am trying to take the height and width from that, into flex, and change the panels' dimensions. any ideas?