Yeah, placing null in CSS won't work.
The more important question is why do you want the upskin of the button to
be null? What's your desired effect? If it's to have no skin, just a button
label on up, but visible skins on rollover and down, you could always either
create a programmatic skin that draws nothing, and assign that as the skin,
or else create a transparent png and assign that as your skin.
-p
On 12/21/06 12:06 AM, graysonpierce [EMAIL PROTECTED] wrote:
Hello,
I have a simple CSS question.
I have an application with a css called main.css like this:
mx:Style source=main.css/
In this application I have a component that has a button that sets a
styleName to a name defined with dot in main.css like this:
mx:Button styleName=simplebutton/
if in main.css, I set the upskin for the button using the notation
.simplebutton
{
upskin: ClassReference(null);
}
but it's ignored.
However if I do this in the component it works:
mx:Button styleName=simplebutton upskin={null}/
--
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