Hey guys,
I have a pretty simple question about the setInterval function (at least, I think it’s simple). I am having a bit of a problem using it… I’ve never really used it before, and I’d much rather use it than do a frame count like I am usually doing.
Anyway, here’s the code.
var ID:Number;
function tweenText() {
trace("pass");
var t1 = new Tween(this["cat"+i], "_alpha", Strong.easeOut, 0, 100, 50, false);
}
ID = setInterval(this, "tweenText", 2000);
basically, I want to run tweenText after 2000 milliseconds… Am I correc that this is what will happen? Am I using the correct structure?
-theonlycarmire