Groups | Blog | Home
all groups > flash actionscript > april 2006 >

flash actionscript : frame rate change


chulimanga
4/22/2006 9:20:51 PM
Hi,
I've made tween in mc which has normal speed specified by frame rate. Than
button, which should speed up that tween twice. It works well for simle shapes
going thru motion tween. But my symbol for tween is quite difficult and it
seems that this fact brake faster move. Is it possible precede this braking?

code:

function clipSpeed(){
mc1._currentframe == mc1._totalframes ?
mc1.play() : mc1.nextFrame();
updateAfterEvent();
};

btn.onRollOver = function(){
speedID = setInterval(clipSpeed,10);
};

btn.onRollOut = function(){
clearInterval(speedID);
mc1.play();
};

you can check my swf http://chulimangaaa.wz.cz/1 and source file download
http://chulimangaaa.wz.cz/1/sample.rar

thanks for any ideas
chulimanga
4/24/2006 9:27:36 PM
any ideas?
AddThis Social Bookmark Button