0 Replies Latest reply on May 31, 2007 10:58 AM by HellRester

    Array.forEach slow

      I created an array , i can fill it with some custom sprite(waypointSprite Class). But the number depends of the user...

      i used:
      function RedrawChilds() {
      SpawnBaseClip._lastSpawn = this;
      WaypointBaseClip._lastWaypoint = null;
      function RedrawChild(element:*, index:int, arr:Array) {
      the Draw function draw a circle and a line (from parent entity)

      But it s definitively too slow, what can i use? (like the list in c#)