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?