You might be looking for this:
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/effects/Sequence.html
 
//Pim;

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of sanjayd
Sent: lundi 20 juin 2005 1:37
To: [email protected]
Subject: [flexcoders] Re: 'fade effect' question

Thanks Stephen, that worked...this is what I did:

1. copied LucidaSansRegular.ttf file from jre\lib\fonts directory to
the directory holding my mxml file

2. added this to my mxml file:
   <mx:Style>
      @font-face { fontFamily:myEmbeddedFont;
src:url("LucidaSansRegular.ttf"); }
   </mx:Style>
3. added this:
         myLabel.setStyle("fontFamily","myEmbeddedFont");
         myLabel.setStyle("fontSize",14);

Now, I have another question; I wanted to show my text in red color;
fade out the color in 15 seconds (this part is working)..then, at the
end of the fadeOut period, show the text in 'green'.

exactly, how do I trigger the code that will change the text color to
green ??

Sanjay




--- In [email protected], "Stephen Gilson" <[EMAIL PROTECTED]> wrote:
> From the doc:
>
> Note: To use the Fade effect with text, you must use an embedded font,
> not a device font. For more information, see Using Styles and Fonts.
>
> You can read more here:
> http://livedocs.macromedia.com/flex/15/flex_docs_en/00000590.htm
>
> Stephen

>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of sanjayd
> Sent: Sunday, June 19, 2005 4:01 PM
> To: [email protected]
> Subject: [flexcoders] 'fade effect' question
>
> folks, any idea why the label 'fading text' refuses to fade out ?
> Thanks in advance.
>
>    <mx:Effect>
>       <mx:Fade name="Fade" alphaFrom="100" alphaTo="30"
> duration="2500"/>
>    </mx:Effect>
>
>
>       <mx:VBox width="100%" height="100%">
>             <mx:Box direction="horizontal" borderStyle="solid"
> marginTop="5"
> marginBottom="5" marginLeft="1" marginRight="1"> ..
> ..
>                   <mx:Label text="fading text" showEffect="Fade"/>
>             </mx:Box>
> ..
> ..
>
>
>
>
>

> Yahoo! Groups Links





Yahoo! Groups Links

------------------------------------------------------------------
**STATEMENT OF CONFIDENTIALITY**

This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.

We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.
------------------------------------------------------------------

Reply via email to