At 7/8/06 02:17 AM, Hoeloe wrote:
can you change the FPS of only one object?
if you mean an animational object using nextFrame(); then not exactly, you can loop through every movieclip on the stage, and apply the FPS, however, the more movieclips, and the more nested, and sub nested movieclips you have, the slower it will run, but you could use a loop like this
function next_frame(m:MovieClip):Void
{
for (var it:String in m)
{
if (m[it] instanceof MovieClip)
{
next_frame(m[it]);
}
}
m.nextFrame();
}
then you can choose a certain tree of movieclips to increment the frame of, so for everything, you would do next_frame(_root);