Try this...

1. The default rowRender for <mx:List> is SelectableRow.
2. SelectableRow has a background property.
3. Try subclassing the SelectableRow class and overriding the background property and setting it to your new gradient swf. 


On 7/22/05, Devin Holloway <[EMAIL PROTECTED]> wrote:
I'd like to change a few visual aspects of the list control. In the
normal state I'd like the rows to have a gradient background. In the
highlighted and selected state I'd like to change the solid
background colors.

I've never done this, and I've very little experience with
flash/actionscript in general, so it's probably going to take me a
good while to get it figured out. Problem is, after skimming through
the
documentation and other online resources, it seems like there's 20
(exageration) different ways to go about this.

extending or subclassing components
graphically skinning in the flash authoring environment
programatically skinning by editing .as files
creating a new theme
using the rowrender attribute
using the FlexForFlash files
and so on...

Some of these might be refering to the same process, some might not
do what I want and have a different purpose then what I'm trying to
do. Some might be just for flex 1.0...

I'm not asking anyone to write the code for me (though if you have
some samples laying around, that'd be great!) but if you can point me
in the right direction I'll at least won't be staying up all night
learning the wrong way.




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Computer software testing Macromedia flex Development
Software developer


YAHOO! GROUPS LINKS




Reply via email to