get current bit of text, set transparency = 0      // completely visible
get new bit of text, set transparency = 100        // invisible
loop from 1 to 100
     add loopcounter to the transparency value of the current bit of text
     subtract loopcounter from the transparency value of the new bit of
text
end loop

set current bit of text = new bit of text


i don't know actionscript, so very pseudocodey i'm afraid.  the rest you'll
have to find out yourself.  perhaps i've got the transparency the wrong way
round too.


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


                                                                                       
                              
                    "Paul Johnston"                                                    
                              
                    <[EMAIL PROTECTED]        To:     <[EMAIL PROTECTED]>              
                       
                    tions.com>             cc:                                         
                              
                                           Subject:     [ cf-dev ] OT: ActionScript    
                              
                    04/12/2003                                                         
                              
                    17:06                                                              
                              
                    Please respond                                                     
                              
                    to dev                                                             
                              
                                                                                       
                              
                                                                                       
                              



I have a bunch of text in an array.  I am cycling over that array and
making
the text come out and also move.

The thing I now want is to be able to fade it in and out.  The problem is
that I cannot figure out how (in actionscript) to do this.

The text will change regularly, so saying something like "make a graphic of
the text" isn't going to help.

Any ideas?  I'm just banging my head against a brick wall!

Paul
-----------------------------------
Paul Johnston
PJ Net Solutions Ltd
http://www.pjnetsolutions.com
[EMAIL PROTECTED]
+44 (0)7866 573013



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]






-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to