Thank you Matt.

When I set the label1.alpha = 0; it made the background of the label 
transparent, but the text in the label is nicely black and bold when 
in the horizontal (original) postion.  I'll work on ght font embed 
issue.

P

--- In [email protected], "Matt Horn" <[EMAIL PROTECTED]> wrote:
>
> Two things..
> 
> 1) You are setting alpha to 0 which should make the text disappear. 
> 2) You can only rotate text that uses an embedded font. For info on
> embedding fonts, see:
> 
> http://livedocs.macromedia.com/flex/2/docs/00000787.html
> 
> hth,
> 
> matt horn
> flex docs
> 
> > -----Original Message-----
> > From: [email protected] 
> > [mailto:[EMAIL PROTECTED] On Behalf Of app.developer
> > Sent: Thursday, October 19, 2006 10:05 AM
> > To: [email protected]
> > Subject: [flexcoders] Label rotations, text disappears
> > 
> > When I attempt to rotate a label, my text disappears, using 
> > the following code.
> > 
> > label1 = new TextArea();
> > label1.name = "gLabel"+i;
> > label1.alpha = 0;
> > label1.rotation = 90;
> > label1.setStyle("backgroundColor","0xFFFFFF");
> > label1.text = event.result.list.source[i].roleName
> > grid1Item.addChild(label1);
> > 
> > I haven't any special font.
> > 
> > I have seen one discussion on label rotation with the text 
> > disappearing, but I don't know how to resolve the issue.
> > 
> > P
> > 
> > 
> > 
> >  
> >
>





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