Flex - Custom List Renderer Question

Hey Everyone,

I know my AS3 pretty well and I’ve been getting into Flex a bit here lately but I am totally stumped as to how the heck this works… I have a custom component…


<?xml version="1.0" encoding="utf-8"?>
<mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" width="325" height="65" horizontalGap="10" 
    verticalGap="0" paddingLeft="10" paddingTop="5" paddingRight="10" horizontalScrollPolicy="off"
    verticalScrollPolicy="off">
       <mx:SWFLoader height="55" width="70" source="{data.image}"/>
       <mx:Text text="{data.title}" width="225" height="55" selectable="false" />    
</mx:HBox> 

Very simple… then I have this inside my main MXML file…


<mx:List id="myList" width="325" height="200" 
        click="_loadURL(event)" dataProvider="{_dataProvider}" itemRenderer="components.ListImageItem" 
            fontSize="{_fontSize}" fontFamily="{_font}" color="{_fontColor}" 
            backgroundColor="{_bgColor}" selectionColor="{_selectionColor}" textSelectedColor="{_selectedTextColor}" rollOverColor="{_hoverText}" />

My data goes through all fine and dandy, however, the “rollover” and “selected” text colors do not work at all. I am pretty sure this is because I am using a custom component and I am using an “mx:Text” element which allows my text to wrap… but I can’t get the text colors to change accordingly!

Can anyone help me out here?

Thanks!

–d