Labels use fonts. You must embed fonts if you want to apply an alpha
value to that font. 

hth,

matt horn
flex docs

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of tombaggett
> Sent: Thursday, September 21, 2006 3:29 PM
> To: [email protected]
> Subject: [flexcoders] Alpha setting of 0 doesn't work with 
> controls' text
> 
> Hi all,
> 
> Shouldn't this code result in all the controls being invisible?
> 
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml 
> <http://www.adobe.com/2006/mxml> "
> layout="vertical" xmlns:ns1="*">
> <mx:Button label="Button" alpha="0.0"/>
> <mx:CheckBox label="Checkbox" alpha="0.0"/> <mx:ComboBox 
> alpha="0.0"></mx:ComboBox> <mx:HSlider alpha="0.0"/> 
> <mx:Label text="Label" alpha="0.0"/> </mx:Application>
> 
> The controls are invisible but their labels still appear. Is 
> this a Flex bug or am I doing something wrong?
> 
> Thanks,
> 
> Tom
> 
> 
> 
>  
> 


--
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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/
 


Reply via email to