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: | ||
| − | // | + | // Set up async connection with server |
| − | function | + | server = new LoadVars(); |
| − | if ( | + | 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 | // 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 ); | ||
| − | // | + | |
| + | // 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; }



