3 Replies Latest reply on Feb 23, 2007 2:10 PM by kglad

    Sorting MovieClip array using _x

    odie11
      I have an array of movieclips "vLineArray" which I'm trying to sort based on the movieclips x position (_x). The following is not working:

      vLineArray.sortOn(_x, Array.ASCENDING | Array.NUMERIC);

      Can anyone suggest how I can make this work?

      Thanks!