Difference between revisions of "Server-monitor.as"

From Organic Design wiki
(make a long line)
(test script)
Line 1: Line 1:
// Set up async connection with server
 
server = new LoadVars();
 
server.title = 'RC-Summary'; // wiki page to request
 
server.onLoad = function(success) {
 
if (success) {
 
rc.htmltext="<font color=#FFF>hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello </font>";
 
}
 
};
 
  
 
// Textbox
 
// Textbox
Line 20: Line 12:
  
  
// Per-frame function
 
 
function reduce() {
 
function reduce() {
  
// Make request on some regular cycle which seems about right
+
}
        server.sendAndLoad( '/wiki/index.php', server, 'GET' );
 
 
 
}
 

Revision as of 01:12, 24 March 2006

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


function reduce() {

}