[flashpro] speeding up MC ???
Timo Stamm
t.stamm at macnews.de
Thu Aug 18 19:02:25 EDT 2005
frederic wrote:
> Hello
> I anm trying to speed up a movieClip called: my_MC
> I tried the following but the framRate variable is not updated in my
> setInterval ...
> Thanks for your help
> fred
>
>
> frameRate = 100 ;
>
> fastFrames = function(){
> my_MC.nextFrame();
> updateAfterEvent();
> frameRate = frameRate - 1 ;
> }
>
>
> speedyID = setInterval(fastFrames, frameRate);
Hi frederic,
you are only setting the interval time once. The interval can not know
that you change the variable later.
Timo
More information about the FlashPro
mailing list