Flex 1.5:
- put 2 labels in a canvas
- 1 white, 1 black
- put the white one at x 0, y 0
- put the black one at x 1, y 1
You can then bind it like so:
<mx:Label id="main_lbl" text="Hello" color="#FFFFFF" x="0" y="0" />
<mx:Label text="{main_lbl.text}" color="#000000" x="{main_lbl.x + 1}"
y="{main_lbl.y + 1}" />
Flex 2:
Use the dropshadow effect.
----- Original Message -----
From: "Jono Spiro" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, February 28, 2006 11:42 PM
Subject: [flexcoders] Text/Label Shadows
Does anyone know of a clean way to get shadows, or other effects drawn
on labels (or any composite object... perhaps)? I'm /not/ looking for
a sharp shadow -- as in compositing two different labels. Ideally, I'd
like to add a shadow with an outer glow (like in Photoshop) -- but I
would settle for a shadow.
Cheers,
Jono
--
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
--
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/
<*> 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/