wow thanks it worked like a charm.
Thanks so much.
On Fri, Feb 29, 2008 at 2:21 AM, Peter DeHaan <[EMAIL PROTECTED]> wrote:
> What if you set the *titleStyleName* style to a custom style with the
> embedded font. Something like:
>
>
>
> <mx:Panel fontFamily="VerdanaFont" titleStyleName="
> panelTitleStyleName" height="220" layout="absolute" title="Active users"
> rotation="4">
>
> <mx:Label text="The quick brown fox..." />
>
> </mx:Panel>
>
>
>
> <mx:Style>
>
> .panelTitleStyleName {
>
> fontFamily: VerdanaFont;
>
> fontWeight: normal;
>
> }
>
> </mx:Style>
>
>
>
> Peter
>
>
>
>
> ------------------------------
>
> *From:* [email protected] [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Omar Fouad
> *Sent:* Thursday, February 28, 2008 2:46 PM
> *To:* [email protected]
> *Subject:* [flexcoders] Fading Panel component WITH TITLE
>
>
>
> List,
>
> in some application I am coding, I have a panel with a datagrid inside
> that gets data from a database.
>
> I embeded a font using:
>
> [Embed("../Assets/verdana.ttf", fontName="VerdanaFont")]
> public var VerdanaF:Class;
>
> and set into the entire panel the font using:
>
> <mx:Panel fontFamily="VerdanaFont" height="220" layout="absolute"
> title="Active users"> ....</>
>
> than created a function that fades this out when I click a button but
> what fades are only the panel itself and the text in each row of the
> DataGrid. The Panel's title and the DataGrid column's titles remained
> unfaded (as in alpha="0")
>
> is there something i've missed?
>
> Thanks so much.
>
> --
> Omar M. Fouad - Digital Emotions
> http://www.omarfouad.net
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you.
>
>
--
Omar M. Fouad - Digital Emotions
http://www.omarfouad.net
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.