public function get_c_Sp_Cnt():int { trace(array[0]); // или так, если элемент массива – строка. trace(parseInt(array[0])); return int(array[0]); }