Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fade Text from a Database

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am pulling text out of a database that I need to fade in and out
inside a flash movie. I understand that you are able to fade text
that has been converted to a symbol using alpha and tweening.

Is there a way to pull text from a database and load it into a symbol
using actionscript?

Or better yet, how would you recommend approaching fading text in and
out that has been pulled from a database?

So far, I understand how to get the info from the database, my only
problem is making if fade.

Thanks for your help.
 
There's a really quick fix for this - normally dynamic text won't respond to something like a fade instruction - try it by sticking a dynamic text box into a graphic in a movie clip and attaching this action..

onClipEvent(enterFrame){
alpha-=1;
}


-the graphic fades but the textbox doesn't. If, however, you embed the font (in the "text options" menu) the text will behave in the same way as your graphic and you can fade at will (and tween the clip and a ton of other cool stuff :) )
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top