If you post a debug swf, I might be able to look into it, but it might be several days before I get to it. Is the skin programmatic or graphical?
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Max Frigge Sent: Saturday, January 05, 2008 12:57 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HitTest Problems with Button that includes white Hey, the skin has no transparent areas. I even changed it to a solid black square, but i still have certain areas where the button doesn't fire the over event. One area where that happens is in the center and about 2x2 pixels large i guess.. I have absolutely no idea why that is happening. Anyone who experienced the same issues? Cheers, Max ----- Original Message ---- From: Dave Glasser <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Thursday, January 3, 2008 11:53:41 PM Subject: Re: [flexcoders] HitTest Problems with Button that includes white The white is probably not the color of the button skin, but the color of the parent container showing through. The skin has probably not painted those pixels any color at all, so they're not generating mouseover events for the skin/button. I've solved this problem before by making sure all of the pixels on the skin were painted with some value, even if I wanted them fully transparent. The ones that I wanted to be transparent, I just painted with an alpha value of 0. This all occurs in the updateDisplayList( ) method of the skin. "m.frigge" <[EMAIL PROTECTED] com> wrote: Hey there, I hope you all had a great new years. I have got a problem with a button skin. The skin contains a white area and it seems that it doesn't recognize that area when I roll over with my mouse. The Skin always jumps back to the normal state (instead of keeping the over skin). Can I tell Flex that it should just use the skins shape for the hitTest and ignore colors?! Cheers, Max ________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. <http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62 sR8HDtDypao8Wcj9tAcJ%20>