Difference between revisions of "Server-monitor.as"

From Organic Design wiki
(Try nextFrame() like compiler does)
(specify scope)
Line 4: Line 4:
 
_x = 0;
 
_x = 0;
 
_y = 0;
 
_y = 0;
_height = width;
+
_height = _root.width;
_width = height;
+
_width = _root.height;
 
lineStyle( 2, 0x00ff00 );
 
lineStyle( 2, 0x00ff00 );
 
}
 
}
  
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*height );  
+
graph.lineTo( i, Math.random*_root.height );  
 
}
 
}
 
graph.nextFrame();
 
graph.nextFrame();

Revision as of 04:04, 24 March 2006

// blank movie clip createEmptyMovieClip( 'graph', 1 ); with (graph) { _x = 0; _y = 0; _height = _root.width; _width = _root.height; lineStyle( 2, 0x00ff00 ); }

for ( i = 0; i < 800; i += 3 ) { graph.moveTo( i, 0 ); graph.lineTo( i, Math.random*_root.height ); } graph.nextFrame();

// 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() { }