FWD‚Ÿ£Œ29OBœYâCj“²l actions sur Scene 1: Image 1 du calque actionsSystem.useCodepage = true; format = new TextFormat(); testo.html = true; function formatText(textBox,ita,siz,Bold,colour){ format.italic = ita; format.size = siz; format.bold = Bold; format.font = "Arial"; format.align = "left"; format.color = colour; textBox.setTextFormat(format); } testo.text = "Loading news..."; formatText(testo,true,10,true); date.text = "Loading..."; formatText(date,true,10,true,"0xFF0000"); temp = new LoadVars(); temp.load("http://www.c-preview.com/guestclaire/getdata.php"); temp.onLoad = function(){ myArray = new Array(); for(var a in this){ if(a != "onLoad"){ myArray.push(this[a]); } } date.text = myArray[0]; formatText(date,false,10,true,"0xFF0000"); testo.htmlText = myArray[1]; formatText(testo,true,10,true); var oldt = getTimer(); var ok = true; var l = myArray.length; var i = 2; _root.onEnterFrame = function(){ t = getTimer(); if(t-oldt>5000){ date.text = myArray[i]; formatText(date,false,10,true,"0xFF0000"); testo.htmlText = myArray[i+1]; formatText(testo,true,10,true); if(i<(l-2)){ i += 2; }else{ i = 0; } oldt = getTimer(); } }; }; l Ûl íl ÿl l "l 3l El `l ql ‰l šl «l Òl ãl l 'l Al Tl ll Œl Ÿl Æl ål l !,l "Sl #Zl $el %wl &…l '˜l (Ÿl )»l *Ôl +l ,"l -Il .el 0l 2‘