[flexcoders] Re: firing events form a List component

2005-07-26 Thread Andrew Spaulding
The problem here is selectedItem.value is a String and is being treated like a String. Yet in your controller it is declared as the variable name. So rather than passing the string reference into broadCast event, why not use the selectedItem.value as a reference to the variable name in the

Re: [flexcoders] Re: firing events form a List component

2005-07-26 Thread Douglas Knudsen
holy event bubbles batman! I knew it had something to do with the fact that it was a string. I tried playing with eval(). I had no idea you could ref vars using bracket notation in AS though. obviously I'm a n00b. danke flexdaddy. DK On 7/26/05, Andrew Spaulding [EMAIL PROTECTED] wrote: