Multi -Dimensional Vector Syntax

I can’t seem to figure out the proper syntax for writing multi-dimensional vectors in a single line…

I can push vectors onto a multi dimensional vector or set them with myVector[?] = new new Vector.<int>(Size)… But I can’t get this code below to work!


        public static var mapNodesMap0:Vector.<Vector.<int>>=new Vector.<Vector.<int>>[new <int>[1,1,1], new <int>[0,0,0]];

//Spacer

This code below that uses multiple lines works…


        public static var mapNodesMap0:Vector.<Vector.<int>>=new Vector.<Vector.<int>>;
        mapNodesMap0[0] = new <int>[0,1,1];

//Spacer


//Spacer