Why don’t this work ?
[AS]
import com.greensock.;
import com.greensock.easing.;
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.events.Event
import flash.events.MouseEvent;
import flash.utils.Timer;
import flash.events.TimerEvent;
var newsTicker:Array = [
{head:“Margaret Thatcher”, news:“Commits”, links:“http:\”},
{head:“Margaret”, news:“suicide”, links:“http:\”},
{head:“Thatcher”, news:“Commits”, links:“http:\”}
];
var i:int = 0;
var len:int = (newsTicker.length)-1;
var clock:Timer = new Timer(1000,0);
clock.addEventListener(TimerEvent.TIMER, newsUpdate);
clock.start();
function newsUpdate(evt:Event):void{
newsMC.newsTxt.text = newsTicker.obj.head*+"…"+newsTicker.obj.news*;
i++;
if (i>len){i=0};
}
[/AS]