|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Frame Rate inside of a movie clip
Frame Rate inside of a movie clip
ok i am new at scripting, and i can't figure out a way to change the frame rate inside of a movie clip, My time line is set at 1 frame a second because i have imported a song file into it and when on a 12 fps frame rate the song goes on for 600 or so frames, i want to have my timeline set up at one frame per second and by useing scripting have each frame have a movie clip that can run at the normal speed of 12 fps. does anyone know the Action script code i could use to do this? or could make me one that works? |
|
#2
|
|||
|
|||
|
Hi, I dont think you can change the frame rate on the fly. It's set when you publish. You could try the following although I should point out I havent tested it:
First make a new movie. Put the 1fps movie in it's own file. Then in the new movie use loadMovie("songMovie.swf", 1);. I think the sub will keep it's slower framerate whilst the rest that you make in the new parent movie will be at what ever rate it's set at... Hey I just read your post again...why dont you just import the song to your library. Make a new movie in there as well. Then put the song in there. Sure that movie might grow to 600 frames but it's not keyframes. There will be a single keyframe at the start but the rest are just frames. You can drag and drop that movie to your main timeline and set it's frame length to anything you want. The sub movie song will play to it's full length. You could look into loading the music dynamically..I haven't played with sound that much recently so I'm a bit timid to give advice there... |
|
#3
|
|||
|
|||
|
ok i tried your first scenario, and it was a brilliant one, and made total sense but for some reason there was a error when it tried to open the file, and i messed around with it for a while and i couldn't get it to work... Your second answer was what i ultimately was hoping i wouldn't have to do, but i can't really complain any i guess
thank you for your help and it's to bad your first idea was a bust, i probably screwed it up somewhere, but thanks anyways |
|
#4
|
|||
|
|||
|
Hi, did you have protect from import set for the song movie? That will stop the first solution from working.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Frame Rate inside of a movie clip |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|