Type 'Object' does not support slicing.

Dear all, I am new to javaScript so please excuse my question if I am just missing something really simple. I have searched all over the net for answers but I can’t seem to decipher exactly what is going wrong. The error I am getting is ‘BCE0048: Type ‘Object’ does not support slicing.’ but only when I try to build to iOS.

I found and read:

How to declare and initialize multidimensional arrays JS?

BCE0048 type Object does not support slicing

Type Object does not support slicing Unity3D

JavascriptMultiDimArrays

But I don’t seem to be any closer to working out what’s wrong. I think it might be something to do with “not typing my variables” but can’t seem to work out how to do this using my current array setup. After trying many different combination and getting very frustrated, I finally decided to try posting on here. Any help much appreciated.

Code:

var zoneString = new Array ();
var zoneMoves = new Array ();

zoneMoves[0] = new Array ([
[0,0,0],
[0,0,0],
[0,0,0],
[0,0,0],
[0,0,0]
]);

zoneMoves[1] = new Array ([
[0,1,0],
[0,0,1],
[0,1,0],
[0,0,1],
[0,1,0]
]);

function Start () {
	zoneString[1] = new Array (zoneMoves[1][0][0].ToString() + zoneMoves[1][0][1].ToString() + zoneMoves[1][0][2].ToString()); 
}

function Update () {
}

#pragma strict

	public class ZoneMoves extends MonoBehaviour {

		

		//var zoneString = new Array ();

		private var zoneString : String[];

		

		//var zoneMoves = new Array ();

		private var zoneMoves : int [,,];

		

		function Awake() {

		

	 		zoneString = new String[3];

			zoneMoves =  new int[2,5,3];

			

			//zoneMoves[0] = new Array ([

			//[0,0,0],

			zoneMoves[0,0,0] = 0;

			zoneMoves[0,0,1] = 0;

			zoneMoves[0,0,2] = 0;

			//[0,0,0],

			zoneMoves[0,1,0] = 0;

			zoneMoves[0,1,1] = 0;

			zoneMoves[0,1,2] = 0;

			//[0,0,0],

			zoneMoves[0,2,0] = 0;

			zoneMoves[0,2,1] = 0;

			zoneMoves[0,2,2] = 0;

			//[0,0,0],

			zoneMoves[0,3,0] = 0;

			zoneMoves[0,3,1] = 0;

			zoneMoves[0,3,2] = 0;

			//[0,0,0],

			zoneMoves[0,4,0] = 0;

			zoneMoves[0,4,1] = 0;

			zoneMoves[0,4,2] = 0;

			//]);

			

			//zoneMoves[1] = new Array ([

			//[0,1,0],

			zoneMoves[1,0,0] = 0;

			zoneMoves[1,0,1] = 1;

			zoneMoves[1,0,2] = 0;

			//[0,0,1],

			zoneMoves[1,1,0] = 0;

			zoneMoves[1,1,1] = 0;

			zoneMoves[1,1,2] = 1;

			//[0,1,0],

			zoneMoves[1,2,0] = 0;

			zoneMoves[1,2,1] = 1;

			zoneMoves[1,2,2] = 0;

			//[0,0,1],

			zoneMoves[1,3,0] = 0;

			zoneMoves[1,3,1] = 0;

			zoneMoves[1,3,2] = 1;

			//[0,1,0],

			zoneMoves[1,4,0] = 0;

			zoneMoves[1,4,1] = 1;

			zoneMoves[1,4,2] = 0;

			//]);

		}

		

		function Start () {

		    //zoneString[1] = new Array (zoneMoves[1][0][0].ToString() + zoneMoves[1][0][1].ToString() + zoneMoves[1][0][2].ToString()); 

		    zoneString[1] = zoneMoves[1,0,0].ToString() + zoneMoves[1,0,1].ToString() + zoneMoves[1,0,2].ToString();

		    Debug.Log(zoneString[1]);

		}

		

		function Update () {

		}

	}