hi,
I,m trying to make a dynamic text field fade in. I got the fade in part though.
the dynamic text field contains a percentage loader. just before it fades in it shows a zero.
this is my actionscript code it is as2
this.percentage.pct_txt.embedFonts;
var alpha = 0;
function onEnterFrame(){
this.percentage.pct_txt._visible = 0;{
if ( alpha < 100 )
{
alpha +=5;
_root.percentage.pct_txt._alpha = alpha;
trace(_root.percentage.pct_txt._alpha);
}
else
{
delete this.onEnterFrame; // done, we remove this function
}
}
}
stop();