Компилятор выдаёт странные вещи...
есть флэшка с одним единственным символом в библиотеке. (пробовал и бз него)
подгружаю внешний as
#include "obj.as"
----------------- obj.as ------------

Код:
this._lockroot = true;
#includ "lmc_tween.as"
var obj:Array = new Array();
obj[0] = new Array();
obj[0][0] = "123";
obj[1] = new Array();
obj[1][0] = "123";
obj[2] = new Array();
obj[2][0] = "123";
obj[3] = new Array();
obj[3][0] = "123";
obj[4] = new Array();
obj[4][0] = "123";
obj[5] = new Array();
obj[5][0] = "123";
obj[6] = new Array();
obj[6][0] = "123";
obj[7] = new Array();
obj[7][0] = "123";
obj[8] = new Array();
obj[8][0] = "123";
obj[9] = new Array();
obj[9][0] = "123";
obj[10] = new Array();
obj[10][0] = "123";
obj[11] = new Array();
obj[11][0] = "123";
list_startx = 358;
list_starty = 30;
item_xdispl = 22;
for(i=0;i<obj.length;i++){
item_name = "item_" + i;
this.attachMovie("item", item_name, i, {_x:list_startx + item_xdispl * i,_y:list_starty});
num = i + 1;
this[item_name].itxt.text = num + ".";
this[item_name].i = i;
}
function show_id(id){
this.txt.text = obj[id][0];
}
и вот что мне флэш в ответ.

Код:
**Error** Z:\astl-mstar\pages\obj.as: Line 4: ActionScript 2.0 class scripts may only define class or interface constructs.
var obj:Array = new Array();
**Error** Z:\astl-mstar\pages\obj.as: Line 6: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[0] = new Array();
**Error** Z:\astl-mstar\pages\obj.as: Line 7: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[0][0] = "123";
**Error** Z:\astl-mstar\pages\obj.as: Line 8: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[1] = new Array();
**Error** Z:\astl-mstar\pages\obj.as: Line 9: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[1][0] = "123";
**Error** Z:\astl-mstar\pages\obj.as: Line 10: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[2] = new Array();
**Error** Z:\astl-mstar\pages\obj.as: Line 11: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[2][0] = "123";
**Error** Z:\astl-mstar\pages\obj.as: Line 12: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[3] = new Array();
**Error** Z:\astl-mstar\pages\obj.as: Line 13: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[3][0] = "123";
**Error** Z:\astl-mstar\pages\obj.as: Line 14: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[4] = new Array();
**Error** Z:\astl-mstar\pages\obj.as: Line 15: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[4][0] = "123";
**Error** Z:\astl-mstar\pages\obj.as: Line 16: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[5] = new Array();
**Error** Z:\astl-mstar\pages\obj.as: Line 17: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[5][0] = "123";
**Error** Z:\astl-mstar\pages\obj.as: Line 18: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[6] = new Array();
**Error** Z:\astl-mstar\pages\obj.as: Line 19: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[6][0] = "123";
**Error** Z:\astl-mstar\pages\obj.as: Line 20: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[7] = new Array();
**Error** Z:\astl-mstar\pages\obj.as: Line 21: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[7][0] = "123";
**Error** Z:\astl-mstar\pages\obj.as: Line 22: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[8] = new Array();
**Error** Z:\astl-mstar\pages\obj.as: Line 23: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[8][0] = "123";
**Error** Z:\astl-mstar\pages\obj.as: Line 24: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[9] = new Array();
**Error** Z:\astl-mstar\pages\obj.as: Line 25: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[9][0] = "123";
**Error** Z:\astl-mstar\pages\obj.as: Line 26: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[10] = new Array();
**Error** Z:\astl-mstar\pages\obj.as: Line 27: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[10][0] = "123";
**Error** Z:\astl-mstar\pages\obj.as: Line 28: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[11] = new Array();
**Error** Z:\astl-mstar\pages\obj.as: Line 29: ActionScript 2.0 class scripts may only define class or interface constructs.
obj[11][0] = "123";
**Error** Z:\astl-mstar\pages\obj.as: Line 31: ActionScript 2.0 class scripts may only define class or interface constructs.
list_startx = 358;
**Error** Z:\astl-mstar\pages\obj.as: Line 32: ActionScript 2.0 class scripts may only define class or interface constructs.
list_starty = 30;
**Error** Z:\astl-mstar\pages\obj.as: Line 33: ActionScript 2.0 class scripts may only define class or interface constructs.
item_xdispl = 22;
**Error** Z:\astl-mstar\pages\obj.as: Line 45: ActionScript 2.0 class scripts may only define class or interface constructs.
}
**Error** Z:\astl-mstar\pages\obj.as: Line 51: ActionScript 2.0 class scripts may only define class or interface constructs.
}
ничего не понимаю....