Difference between revisions of "Server-monitor.as"
From Organic Design wiki
(hack hack) |
(minimise) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
change = false; | change = false; | ||
− | |||
− | |||
// Set up async connection with server | // Set up async connection with server | ||
Line 37: | Line 28: | ||
// Scrolling | // Scrolling | ||
− | |||
− | |||
// Make request on some regular cycle which seems about right | // Make request on some regular cycle which seems about right |
Revision as of 02:28, 20 March 2006
change = false;
// Set up async connection with server server = new LoadVars(); server.title = 'server-status?auto'; // 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; }
// Logo attachMovie( 'xmlwiki', 'xmlwiki', 5 );
// Per-frame function function reduce() {
// Scrolling
// Make request on some regular cycle which seems about right if ( ++_root.ctr%400 == 1 ) { server.SWF = id0; server.sendAndLoad( 'http://www.cs.auckland.ac.nz/', server, 'GET' ); }
}