# Frame fps?

**URL:** https://forum.kirupa.com/t/frame-fps/22808
**Category:** Uncategorized
**Created:** [June 9, 2003, 4:08am UTC](https://forum.kirupa.com/t/frame-fps/22808 "2003-06-09T04:08:50Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![leungchunghong](https://avatars.discourse-cdn.com/v4/letter/l/3e96dc/32.png) [@leungchunghong](https://forum.kirupa.com/u/leungchunghong)
#### Post date: [June 9, 2003, 4:08am UTC](https://forum.kirupa.com/t/frame-fps/22808/1 "2003-06-09T04:08:50Z")

</div>

Can i adjust my frame speed to 18fps for 1 scene only, and the other scenes left as default 12fps for my animation?

i had tried to change the fps but it changes the whole animation to 18fps, but i only want 1 scene to be 18fps, can i?

---

<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: [June 9, 2003, 4:17am UTC](https://forum.kirupa.com/t/frame-fps/22808/2 "2003-06-09T04:17:07Z")

</div>

You can’t do that. Changing the fps rate changes it for that entire movie and all movies loaded into it.

In Flash MX you can use a setInterval method to immitate a faster FPS, but that option is not available in Flash 5.

---

<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: [June 9, 2003, 10:03am UTC](https://forum.kirupa.com/t/frame-fps/22808/3 "2003-06-09T10:03:04Z")

</div>

If you had two separate movies and loaded each then I believe it would be possible, but not two scenes of the same 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: [June 9, 2003, 12:07pm UTC](https://forum.kirupa.com/t/frame-fps/22808/4 "2003-06-09T12:07:00Z")

</div>

Ok thanks!

---

<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: [June 9, 2003, 4:05pm UTC](https://forum.kirupa.com/t/frame-fps/22808/5 "2003-06-09T16:05:12Z")

</div>

Kit: If you use loadMovie() to call in a seperate a movie, then the movie you call in will inherit the fps rate of the movie you loaded it into.

---

<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: [June 9, 2003, 4:10pm UTC](https://forum.kirupa.com/t/frame-fps/22808/6 "2003-06-09T16:10:06Z")

</div>

yup… the backgroud colour and frame rate will change to those of level0 when loading on levels, or those of the main swf when lodaing into a movieclip 🙂

---

<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: [June 10, 2003, 9:10am UTC](https://forum.kirupa.com/t/frame-fps/22808/7 "2003-06-10T09:10:07Z")

</div>

Thanks very much, really thanks…

---

<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: [June 14, 2003, 12:02pm UTC](https://forum.kirupa.com/t/frame-fps/22808/8 "2003-06-14T12:02:23Z")

</div>

Settin the fps using AS is dead easy. as long as you set it up at the beggining of your project, and work ONLY in actionscript. therefore its only usefull for games. if you need tp animate just add in more frame

heres the basic set up:

function doeverything(){  
// put all of your functions in here  
// similar to on enterframe  
// this will occur every virtual frame  
}

function changefps(fps){  
clearInterval(framerate)  
rate = Math.round(1000/fps)  
framerate = setInterval(doeverything, rate)  
}

just call the fuctinon changefps to change the virtual fps.

finally, set the actual frame rate to 100, so that a wide range of virtal rates are possible

---

<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: [June 14, 2003, 3:57pm UTC](https://forum.kirupa.com/t/frame-fps/22808/9 "2003-06-14T15:57:19Z")

</div>

DenaciousT:

> \*Originally posted by lostinbeta \*  
> \*\*You can’t do that. Changing the fps rate changes it for that entire movie and all movies loaded into it.

In Flash MX you can use a setInterval method to immitate a faster FPS, but that option is not available in Flash 5. \*\*

This is the Flash 5 section 😉

---

<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: [June 15, 2003, 2:19pm UTC](https://forum.kirupa.com/t/frame-fps/22808/10 "2003-06-15T14:19:54Z")

</div>

Oh sorry
