- et._x = fullwidth/2 - et._width/2;
-
- //.box f width=width-40 height=height-40-30 line=0 fill=black
- //.box vscroll1 width=10 height=height-40-30 line=1 color=#00000060 fill=grad7
- //.box hscroll1 height=10 width=width-40 line=1 color=#00000060 fill=grad72
- //.put vscroll1 x=width-20 y=40
- //.put hscroll1 x=10 y=height-20
-
- // horizontal scrollbar
- background.lineStyle(1, 0, 0x60);
- background.moveTo(10 ,fullheight-20);
- background.lineTo(10 ,fullheight-10);
- background.lineTo(10+fullwidth-40,fullheight-10);
- background.lineTo(10+fullwidth-40,fullheight-20);
- background.lineTo(10 ,fullheight-20);
-
- // vertical scrollbar
- background.moveTo(fullwidth-20 ,40);
- background.lineTo(fullwidth-20 ,fullheight-30);
- background.lineTo(fullwidth-10 ,fullheight-30);
- background.lineTo(fullwidth-10 ,40);
- background.lineTo(fullwidth-20 ,40);
-
- // content area
- background.lineStyle(1, 0);
- background.startFill(0x000000);
- background.moveTo(9, 39);
- background.lineTo(fullwidth-30+1, 39);
- background.lineTo(fullwidth-30+1, fullheight-29);
- background.lineTo(9, fullheight-29);
- background.lineTo(9, 39);
- background.endFill();