I guess what I'm trying to learn is a function that will go from frame to frame untill it reaches a defined point. something like WHILE i (which is the current frame of some_mc) is less than 10 (or whatever) go to nextframe and when it reaches 10.... do whatever.