var strenght:Number; public function ApplyC(arr) { trace(arr[0]); //выводит 3 strenght = arr[0]; trace(strenght); //выводит NaN }