# Specific FPS for a loaded movie

**URL:** <https://forum.kirupa.com/t/specific-fps-for-a-loaded-movie/4476>\
**Category:** flash\
**Created:** [August 11, 2002, 5:42am UTC](https://forum.kirupa.com/t/specific-fps-for-a-loaded-movie/4476 "2002-08-11T05:42:55Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjportfolio](https://avatars.discourse-cdn.com/v4/letter/b/8baadc/32.png) [@bjportfolio](https://forum.kirupa.com/u/bjportfolio)\
**Post date:** [August 11, 2002, 5:42am UTC](https://forum.kirupa.com/t/specific-fps-for-a-loaded-movie/4476/1 "2002-08-11T05:42:55Z")

</div>

Hi…  
Trying to get a script for a Specific fps for a loaded movie,i.e.  
My main movie is 60 fps and my loaded movie is 12 fps and when I play, the loaded movie plays in 60 fps…Is there a way to play the loaded movie in a specific speed (like 12fps rather than 60 fps)…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 11, 2002, 1:12pm UTC](https://forum.kirupa.com/t/specific-fps-for-a-loaded-movie/4476/2 "2002-08-11T13:12:54Z")

</div>

Hi,

The loaded movie will always play at the frame rate of the main swf.

Good luck

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2002, 10:11am UTC](https://forum.kirupa.com/t/specific-fps-for-a-loaded-movie/4476/3 "2002-09-06T10:11:13Z")

</div>

Hi … I gues the simplest way to solve this is to devide slow movie to frames and make every frame 5 frame long…

beside… mane movie 60 fps… I think its too much… 24… 30 is more then sufition.

GL.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2002, 10:27am UTC](https://forum.kirupa.com/t/specific-fps-for-a-loaded-movie/4476/4 "2002-09-06T10:27:20Z")

</div>

There is a way. If your main movie runs at 60 fps, you can make an externally loaded swf run at another rate, by loading a silent clip of streamed sound. This results in the movie playing at the rate of the streamed sound (in the new movie). It can be done but is a little fiddly. It depends how bad you need the external movie running at a different speed.

Otherwise KarenInPA is right, child movies run at the same fps as the main movie.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2002, 10:32am UTC](https://forum.kirupa.com/t/specific-fps-for-a-loaded-movie/4476/5 "2002-09-06T10:32:45Z")

</div>

Hi,

Child movies inherit the fps of the parent movie, but in FlasMX (r u using MX?) u can use the ‘setInterval’ command to run several movies at the same time at different fps:

function gotoNext(){  
childMovie.nextFrame();  
}  
setInterval(gotoNext, 1000/12);  
//divide it by the number of fps, 12 in this example

Cheers

SHO

Ps.:  
have a look at this guy:  
[http://home.planet.nl/~leeu6431/example.html](http://home.planet.nl/~leeu6431/example.html)

bye

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2002, 10:42am UTC](https://forum.kirupa.com/t/specific-fps-for-a-loaded-movie/4476/6 "2002-09-06T10:42:15Z")

</div>

I didn’t know that was poss. in MX. It’s easier than the method I learnt…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2002, 10:50am UTC](https://forum.kirupa.com/t/specific-fps-for-a-loaded-movie/4476/7 "2002-09-06T10:50:14Z")

</div>

Hi,

Yeah! the ‘setInterval’ command of Flash MX is VERY powerful,  
u can make movies based on time rather than frames (like ‘real’-ha!- games).

Cheers

SHO

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2002, 11:01am UTC](https://forum.kirupa.com/t/specific-fps-for-a-loaded-movie/4476/8 "2002-09-06T11:01:58Z")

</div>

I use flash for games, not really for webdesign - I haven’t looked into that possibility (using set.Interval to change the fps). Although for ‘real’ time scenarios it would be handly (as opposed to using [COLOR=blue]getTimer()[/COLOR]).

But **most** games wouldn’t require that much ‘reality’ and if they did, it wouldn’t be feasable to make it in Flash.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2002, 11:15am UTC](https://forum.kirupa.com/t/specific-fps-for-a-loaded-movie/4476/9 "2002-09-06T11:15:41Z")

</div>

HI,

Yes! at last the end of getTimer() once and having to compare with another getTimer() (do I make sense?)

BUT… be careful, ‘setInterval’ generates an infinite loop that u have to remember to kill (or face a big drop in performance).

I agree, don’t think the browser’s plugin could handle a full time  
based game but a projector may (don’t know, haven’t worked on a CD for a long time)

Cya

SHO

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2002, 1:34pm UTC](https://forum.kirupa.com/t/specific-fps-for-a-loaded-movie/4476/10 "2002-09-06T13:34:50Z")

</div>

why dont you just slow your things down? and i dont see why you need 60fps…the human eye cant even see that…its pointless just uses up more cpu

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 9, 2002, 6:55am UTC](https://forum.kirupa.com/t/specific-fps-for-a-loaded-movie/4476/11 "2002-09-09T06:55:14Z")

</div>

WOW, I didn’t know you could do that in MX! 😮 … well I am actually a sucker, I am still using 5.

And talking about FPS, I usually use 30, but I do sometimes use 60 for signatures… I think that there is a very clear difference between 30 and 60… but it is not worth it to waste all the CPU if you make a website.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 9, 2002, 10:15am UTC](https://forum.kirupa.com/t/specific-fps-for-a-loaded-movie/4476/12 "2002-09-09T10:15:13Z")

</div>

checked out ur site blue\_chi…really nice…posibly fit inducing but who cares…nice and imagintive interface 🙂 and the music fits in nicly as well 🙂 maybe a bit repetive but yeah…its all good 🙂
