Вобщим с помощью мозга Mr.Fixit`а проблема решилась. Оказывается просто так копирнуть массив нельзя. Необходимо использовать функцию concat() без параметров.
А моя проблема была описана в справке мелким шрифтом гдето в конце абзаца.
Цитата:
Cloning arrays
The Array class has no built-in method for making copies of arrays. You can create a shallow copy of an array by calling either the concat() or slice() methods with no arguments. In a shallow copy, if the original array has elements that are objects, only the references to the objects are copied rather than the objects themselves. The copy points to the same objects as the original does. Any changes made to the objects are reflected in both arrays.
|
Для объектов еще интересней. Необходимо использовать аш ByteArray(!).
Функция из справки:

Код:
function clone(source:Object):*
{
var myBA:ByteArray = new ByteArray();
myBA.writeObject(source);
myBA.position = 0;
return(myBA.readObject());
}
Желаю всем читать матчать внимательней, т.к. у меня на решение проблемы ушло 2е суток =\