Difference between revisions of "Server-monitor.as"
From Organic Design wiki
(add little graph thing) |
|||
Line 12: | Line 12: | ||
for ( i=0; i<800; i+=3 ) { | for ( i=0; i<800; i+=3 ) { | ||
graph.moveTo( i, 0 ); | graph.moveTo( i, 0 ); | ||
− | graph.lineTo( i, Math.random* | + | graph.lineTo( i, Math.random*height ); |
} | } | ||
Revision as of 03:26, 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) {
selectable = true;
_quality = 'BEST';
border = false;
multiline = true;
wordWrap = true;
html = true;
htmlText = 'Hello World :-)';
}
function reduce() { }