1 Reply Latest reply on Feb 18, 2008 9:49 AM by post54

    Dynamic Text - _alpha tween not working

    post54
      Hi Again,

      Earlier I asked some help on tweening dynamic text. I've got it to move, now I just need it to fade.

      Moving it using "_x" works great. Using "_alpha" doesn't work at all.

      Here is the AS2:

      // tween effect on headline
      headline_txt._alpha = 0;
      var H1:Tween = new Tween(headline_txt, "_alpha", None.easeNone, 0, 100, 2, true);
      headline_txt.text = headline[p];

      // tween effect on bullet1
      bullet1_txt.autoSize = "left";
      var X1:Tween = new Tween(bullet1_txt, "_x", Strong.easeOut, 0, 20, 1, true);
      bullet1_txt.text = bullet1[p];

      The tween effect on bullet1 works, the effect on headline doesn't. I'm at my wits end. It wasn't a long trip.

      Can anyone offer some insight?

      Matt