-pH
asked on
looping an existing .fla
i have an existing .fla with approx 30 layers varying from 1200 to 5600 frames that i would like to cut and create a loop out of. what is the easiest way to go about this?
ASKER
this doesn't make sense as i don't need the animation to play each layer end to end.
i want to cut the movie at approx. frame 4600 instead of 5600 where it plays to now before it stops.
is there an easy way to do it without deleting all the extra frames in every layer?
each layer is comprised of different elements... sounds, movies clips, tweens, etc.
i want to cut the movie at approx. frame 4600 instead of 5600 where it plays to now before it stops.
is there an easy way to do it without deleting all the extra frames in every layer?
each layer is comprised of different elements... sounds, movies clips, tweens, etc.
if each layer is important and you want each of them to loop upto their last frame, then you should have all of them inside movieClips instead of keeping them on scene,
benefit of keeping animations in movieClip is this case is:
each movieClip will be looping at itself easily.. just don't add any stop on the last frame of movieClips
I suggest to movie your animation into movieClips
-Aneesh
benefit of keeping animations in movieClip is this case is:
each movieClip will be looping at itself easily.. just don't add any stop on the last frame of movieClips
I suggest to movie your animation into movieClips
-Aneesh
ASKER
some layers are shorter than others. and i want them all to finish to finish to a point that i choose and then have the entire thing loop.
ie. layer 1 is 5600 frames
layer2 is 2800 frames
layer 3 is 4600 frames
layer 4 is 4900 frames
layer 5 is ... and so on and so on
i want to be able to stop the movie at frame 4685 and have all the frames go back to scene 1 frame 1 and restart.
-b
ie. layer 1 is 5600 frames
layer2 is 2800 frames
layer 3 is 4600 frames
layer 4 is 4900 frames
layer 5 is ... and so on and so on
i want to be able to stop the movie at frame 4685 and have all the frames go back to scene 1 frame 1 and restart.
-b
ok,
then you just need to add following script on frame 4685
---------
gotoAndPlay(1);
---------
you are done
-Aneesh
then you just need to add following script on frame 4685
---------
gotoAndPlay(1);
---------
you are done
-Aneesh
ASKER
do i do that on any layer?
i tried adding goto and play 1,1 before and i was getting some weird results, like layers completing or not restarting properly.
-b
i tried adding goto and play 1,1 before and i was getting some weird results, like layers completing or not restarting properly.
-b
generally you would create an actions layer and put all your actionscript there. If you want all the animations to complete you need to put that code on the LAST frame of your largest layer.
ASKER
i do have an actions layer, and that is where i was placing the gotoandplay(1,1) that wasn't working.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
"gotoandplay(1,1)" just won't work since Flash is casesensitive...
try gotoAndPlay(1) instead
try gotoAndPlay(1) instead
whoops sorry aneeshchopra.. didn't see yours
make a new layer
scroll its timeline as far as it will go to the right. (i think movies have a limit of 60k frames)
press f5 on the furthest frame
highlight all the frames in each layer
cut them out and paste them end to end in your new layer at the top.
Or the movie will loop by itself if you just let it play...
What is on all of those layers?