PDA

View Full Version : Waiting and FPS MC????



Lord Rahl
November 19th, 2005, 06:48 PM
Two questions.
1.) What was the script for waiting a number of seconds before doing another script. Example. Wait 3 minutes, then gotoAndStop(2);.
2.) Is it possible to have the movies FPS at something (lets say 30), and a movieclip at a different FPS (Lets say 15)?

nathan99
November 19th, 2005, 06:59 PM
int = setInterval(myint,240000);
function myint(){
gotoAndStop(2);
}

for your secong question the is no 'real' way BUT it is possible. Instead of the typical enter frames and stuff, use intervals.

NiñoScript
November 20th, 2005, 08:17 AM
For the first thing...

var interval:Number = setInterval(function () {
gotoAndStop(2);
clearInterval(interval);
}, 3*60*1000);


For the second...
i read somewhere, that if the swf u attach comes with buffered sounds (or something like that) it was possible to have different fps :puzzle:

but id go with nathan's way

:kir: :egg: