Thanks for your reply eric, this code seems to make the background of each item black but the green glow still appears on rollOver and also you can see faint outlines around each of the items in the list. Al I want to do is hide the green animation that shows when i rollOver an item, I guess this could be targeted in a similar way to the way you suggested or maybe the rollover event could be disabled?
Any thoughts v gratefully received,
Thanks!
Ali

On 31 May 2007, at 15:15, eric e. dolecki wrote:

Here is some code that might work out for you

var backAlpha = 50;
var backColor = 0x000000;

_global.styles.ScrollSelectList.backgroundColor = undefined; // this is
_global, can make it not so

mx.controls.listclasses.SelectableRow.prototype.drawRowFill =
   function(mc:MovieClip, newClr:Number):Void
   {
           mc.clear();
           if (newClr == undefined)
           {
               mc.beginFill( backColor,  backAlpha );
           } else
           {
               mc.beginFill( newClr, backAlpha );
           }

           mc.drawRect(1, 0, this.__width, this.__height);
           mc.endFill();
           mc._width = this.__width;
           mc._height = this.__height;

           if( mc._name.indexOf("tran") != -1 )
           {
mc.lineStyle( 1, 0x8DB600, 100, false, "none", "square", "miter", 1 ); // thickness, rgb, alpha, pixelhinting, scaling, capstyle,
jointstyle, miterLimit
               mc.lineTo( this._width, 0 );
               mc.lineTo( this._width, 21);
               mc.lineTo( 0, 21);
               mc.lineTo( 0, 0 );
           }

   };



On 5/31/07, Alistair Colling <[EMAIL PROTECTED]> wrote:

Hi there, I want to remove the green glow that appears when you
rollOver items in a list box. I know how to set the colour of the
theme and how to edit the graphical elements of the component from
the StandardComponents.fla but I can't find the rollOver highlight
MC. If someone could let me know how to alter this (or remove it
completely!) that would be ace.
Thanks guys:)
Ali



_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to