2 Replies Latest reply on Aug 29, 2006 5:24 PM by Craig Grummitt

    easeOut problem

    Level 7
      hi.

      why the easeOut works only with the last object?

      here is the code:

      import mx.transitions.Tween;
      import mx.transitions.easing.*;

      for(i=0;i<_root.arrTitulos.length;i++){
      bt = eval("mc"+i);
      evt = eval("tween_handler"+i);

      bt.onRollOver = function()
      {
      evt = new Tween(bt, "_alpha", Regular.easeOut, 40, 100, 0.5, true);
      }
      bt.onRollOut = function()
      {
      evt = new Tween(bt, "_alpha", Regular.easeOut, 100, 100, 0.5, true);
      }
      }

      doesnt work with the "anystaticname = new Tween" too

      thanks...