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?
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?
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.
If you had two separate movies and loaded each then I believe it would be possible, but not two scenes of the same movie.
Ok thanks!
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.
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
Thanks very much, really thanks…
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
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
Oh sorry
:: Copyright KIRUPA 2024 //--