Difference between revisions of "Server-monitor.as"
From Organic Design wiki
(remove text box) |
(revert) |
||
| Line 13: | Line 13: | ||
graph.moveTo( i, 0 ); | graph.moveTo( i, 0 ); | ||
graph.lineTo( i, Math.random*height ); | graph.lineTo( i, Math.random*height ); | ||
| + | } | ||
| + | |||
| + | |||
| + | // Textbox | ||
| + | createTextField( 'rc', 1, 0, 0, width, height ); | ||
| + | with (rc) { | ||
| + | _alpha = 30; | ||
| + | selectable = true; | ||
| + | _quality = 'BEST'; | ||
| + | border = false; | ||
| + | multiline = true; | ||
| + | wordWrap = true; | ||
| + | html = true; | ||
| + | htmlText = '<font color="#00ff00">Hello World :-)</font>'; | ||
} | } | ||
Revision as of 03:33, 24 March 2006
// blank movie clip createEmptyMovieClip( 'graph', 1 ); with (graph) { _x = 0; _y = 0; _height = width; _width = height; }
graph.lineStyle( 2, 0x00ff00 );
for ( i=0; i<800; i+=3 ) { graph.moveTo( i, 0 ); graph.lineTo( i, Math.random*height ); }
// Textbox
createTextField( 'rc', 1, 0, 0, width, height );
with (rc) {
_alpha = 30;
selectable = true;
_quality = 'BEST';
border = false;
multiline = true;
wordWrap = true;
html = true;
htmlText = 'Hello World :-)';
}
function reduce() { }



