0 Replies Latest reply on May 14, 2007 9:02 AM by ionic77

    AS 2 sliding panel  -> AS 3 sliding panel help

      hey all,

      i was using a script to animate some site content with a sliding panel easing effect in AS 2, but when i try to run the script in AS 3 it doesn't work. is there a way to convert this to AS 3 quickly?

      baseRate = 3.5;
      difference = _parent.targetx - _parent.panel._x;
      rate = difference / baseRate
      _parent.panel._x += rate;

      if this doesn't convert to AS 3, does anyone know of a good easing formula in flash 9?

      thanks for the help!