1 Reply Latest reply on May 19, 2007 2:25 PM by stwingy

    Passing Array variables between objects

    burritobot Level 1
      While troubleshooting a Flash app, it took me hours to figure out that you need to make a duplicate of an Array variable if you are passing it between objects. Otherwise, any alterations that you make to the array will result in the original array being altered as well as the "new" array.

      I'm no developer, can someone please explain why you have to do this? Or, give me an instance when you wouldn't want to make a duplicate? Just trying to understand.