Wait, I see that I could use the styleFunction, I might retrofit your list
in when I'm done with this current bugfix :)

Cheers!

-Josh

On Fri, Aug 22, 2008 at 9:55 AM, Josh McDonald <[EMAIL PROTECTED]> wrote:

> Thanks for that Amy :) I actually needed the renderers to change their
> styleName depending on the data, so I cheated and added in another Canvas
> that gets the stylename applied to it, which is working for now. Not really
> very happy with it, but it's working for now :)
>
> -Josh
>
>
> On Fri, Aug 22, 2008 at 9:25 AM, Amy <[EMAIL PROTECTED]> wrote:
>
>> --- In [email protected], "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>> >
>> > Hey guys,
>> >
>> > This is probably an FAQ, but I can't seem to google up an answer.
>> What's the
>> > good way to set style info on renderers inside a list? It's an mxml
>> > component using itemRenderer="className" on the mx:List
>>
>> If it's a TileList, you could use my TileList_withStyle component, or
>> you could look at how I did it and copy that with whatever List you
>> need.  http://flexdiary.blogspot.com/2008/08/tilelist-with-
>> stylefunction.html<http://flexdiary.blogspot.com/2008/08/tilelist-with-stylefunction.html>
>>
>> HTH;
>>
>> Amy
>>
>>
>> ------------------------------------
>>
>> --
>> Flexcoders Mailing List
>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>> Search Archives:
>> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
>> Links
>>
>>
>>
>>
>
>
> --
> "Therefore, send not to know For whom the bell tolls. It tolls for thee."
>
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to