BCE0048: Type 'Object' does not support slicing. (451565)

I have to use js for a script bug getting heavy errors.
The most are fixable but this one knocks me out.

the Error is: BCE0048: Type ‘Object’ does not support slicing.

and the error is pointing at this line of code.

var tmp = aLinks[currentPoint][vRand][1];

what could be wrong with it?

Tahts because aLinks contains elements of class Object
Object naturally is no array so applying [vRand] to it is not corect.

You would need to cast th return of aLinks[currentPoint] so you can get the element out of it and do the same with the return from the vRand indexing.

Either that or you need to use inbuilt arrays (array of array of array aka var tmp : YourClass[ ][ ][ ])

im not shure what you mean with inbuilt array but here is some addition

var aLinks : Array = Array(
	// PUNKT-1, RICHTUNG, LAENGE
	Array( Array (14,HOCH,2.27) , Array (1,RECHTS,0.66),Array (42,LINKS,0.71) ),
.......

i tried too:

var tmp = (((aLinks[currentPoint] as Array)[vRand]as Array )[1] as float);

not sure if this is going in the right direction of coding .

What is also imporatant im developing for IOS so i use #pragma strict .