So I need to pass additional information (an object like an associative array) to my renderer provider which is stored nicely in a component, but I can't access any variables in my parent application from the component, only children. As a work around, I parsed the object variable to text, put it in an invisible <mx:Text> control, and parsed it back into an object in my component.
I feel like a hack because I know this is horribly inefficient and there has to be a better way, but I couldn't come up with one. Thoughts anyone? ~Mike PS, I did this because I'm using a summary row in an advancedDataGrid to divide it into sections, but I don't want to sort by the lable of each section (which seems to be the default) but by an ID. My solution was to pass it the ID which will sort it correctly then pull the correct lable text out of my object with that ID. It works perfectly like it is but does anyone know the "Right" way to do this? -- View this message in context: http://old.nabble.com/Passing-an-object-to-a-rendererProvider-tp26396466p26396466.html Sent from the FlexCoders mailing list archive at Nabble.com.

