Difference between revisions of "Logo.as"

From Organic Design wiki
(Make "peace" into an example link)
(Changing from Yi-msg to RC-Summary.php output)
Line 1: Line 1:
// Per-frame function
+
// Set up async connection with server
function reduce() {
+
server = new LoadVars();
if (--_root.rc._y < -_root.rc._height) _root.rc._y = 120;
+
server.onLoad = function(success) {
}
+
if (success) for ( i = 0; i < 5; i++ ) {
 
+
// load into array elements 1-5, keep 0 as current so frame can do scroll onChange
// Message
+
}
msg = 'THE JUDGMENT<br><br>';
+
};
msg += '<u><b><a href="http://www.organicdesign.co.nz:1729/Hexagram11">PEACE</a></b></u>. The small departs,<br>';
 
msg += 'The great approaches.<br>';
 
msg += 'Good fortune. Success.<br><br>';
 
msg += 'THE IMAGE<br><br>';
 
msg += 'Heaven and earth unite:<br>';
 
msg += 'the image of PEACE.<br>';
 
msg += 'Thus the ruler divides and<br>';
 
msg += 'completes the course of';
 
msg += 'heaven and earth,<br>';
 
msg += 'And so aids the people.</font>';
 
  
 
// Textbox
 
// Textbox
Line 28: Line 18:
 
htmlText = '<font face="arial" color="#8080AA">'+msg+'</font>';
 
htmlText = '<font face="arial" color="#8080AA">'+msg+'</font>';
 
}
 
}
 +
 
// Logo
 
// Logo
 
attachMovie( 'logo', 'xmlwiki', 2 );
 
attachMovie( 'logo', 'xmlwiki', 2 );
//xmlwiki._alpha = 75;
+
 
 +
// Per-frame function
 +
function reduce() {
 +
if (--rc._y < -rc._height) rc._y = 120;
 +
}

Revision as of 02:21, 24 February 2006

// Set up async connection with server server = new LoadVars(); server.onLoad = function(success) { if (success) for ( i = 0; i < 5; i++ ) { // load into array elements 1-5, keep 0 as current so frame can do scroll onChange } };

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

// Logo attachMovie( 'logo', 'xmlwiki', 2 );

// Per-frame function function reduce() { if (--rc._y < -rc._height) rc._y = 120; }