
Код:
_root.storedWidth = 550;
_root.storedHeight = 400;
Stage.scaleMode = 'noScale';
Stage.align = 'TL';
var objResize = new Object();
objResize.onResize = function() {
var prop_x = Stage.width / _root.storedWidth;
var prop_y = Stage.height / _root.storedHeight;
var total_prop = Math.min(prop_x, prop_y);
_root._xscale = _root._yscale = total_prop * 100;
}
Stage.addListener(objResize);
var clip:MovieClip = _root.createEmptyMovieClip('cross_mc', _root.getNextHighestDepth());
for (var j = 0; j<21; j++) {
for (i=0; i<20; i++) {
var lit:String = cross_arr[j][i];
if (lit != '!' && lit != '0') {
var tt:TextField = clip.createTextField('tt'+i+'_'+j, clip.getNextHighestDepth(), 20*i, 20*j, 20, 20);
tt.border = true;
//
tt.maxChars = 1;
tt.selectable = false;
}
}
}
Что-нить типа такого?