as2 multidimensional array in external .as file

Hi there…
Gotta problem with a multidimensional array. It works when included in the actionscript but not when included in an external .as file accessed through #include
the actionscript (in the actual flash doc of course)


#include "as/datafiles.as"


var elms = new Array();
for (var i = 0; i<=14; i++) {
 elms.push(new Array());
}
elms[0] = new Array('hydrogen', 'H', 1, 1.01, 1, 'Humphrey Davy', 1702);
elms[1] = new Array('helium', 'He', 2, 4.01, 2, 'Helios', 1835);

Using a trace statement


trace(elms[0][1]);

brings up ‘undefined’ when the code is placed in an external (“as/datafiles.as”) actionscript file, but works OK in the actionscript.
Any ideas?