Difference between revisions of "Server-monitor.as"

From Organic Design wiki
(add - 's)
(hack hack)
Line 22: Line 22:
 
// Per-frame function
 
// Per-frame function
 
function reduce() {
 
function reduce() {
 
// Scrolling
 
  
 
// Make request on some regular cycle which seems about right
 
// Make request on some regular cycle which seems about right
if ( ++_root.ctr%400 == 1 ) {
 
server.SWF = id0;
 
 
         server.sendAndLoad( '/wiki/index.php', server, 'GET' );
 
         server.sendAndLoad( '/wiki/index.php', server, 'GET' );
}
 
  
 
}
 
}

Revision as of 03:27, 20 March 2006

// Set up async connection with server server = new LoadVars(); server.title = 'Server-monitor-data-file'; // wiki page to request server.onLoad = function(success) { if (success) { rc.htmltext="hello"; } };

// Textbox createTextField( 'rc', 1, 0, 0, 190, 200 ); with (rc) { selectable = false; _quality = 'BEST'; border = false; multiline = true; wordWrap = false; html = true; }


// Per-frame function function reduce() {

// Make request on some regular cycle which seems about right

       server.sendAndLoad( '/wiki/index.php', server, 'GET' );

}