Skip to main content
Participant
December 29, 2011
Question

convert frames to symbol script

  • December 29, 2011
  • 2 replies
  • 3461 views

I'm wondering if there's a way to take all of the keyframes and tweens I have on a timline and turn it into a symbol in a single script?

Right now I'm:

copying all keyframes on one or multiple layers

creating a new symbol on the first frame with the objects in that frame

going into the new symbol

deleting the objects

pasting the keyframes

then moving all of the objects with the edit multiple keyframes tool to align with where they were on the upper level

and then removing all of the keyframes and tweens after frame 2 on the initial layer so symbol will have the proper loop length

A script to create this in one command would be incredibly usefull for my animation and being able to do the opposite... selecting a symbol and breaking all of the information inside to the same layer.

If anyone can write this or point me in the direction of how to write this I would be very greatfull.

This topic has been closed for replies.

2 replies

Ned Murphy
Legend
December 29, 2011

I cannot be sure, but if I follow what you described doing versus what you want is what I think it is, it sounds like you took the long road to get there... though I might not understand what you are talking about.

If you select all the frames/layers of the timeline that you want to copy into a movieclip, then right click that selection, you can choose Copy Frames to copy the timeline.  To plant the timeline into a MovieClip, just create a new empty MovieClip symbol, select the one and only keyframe in its one and only layer, right click it and choose Paste Frames... and the timeline you copied and all its layers and frames will fill out the MovieClip's timeline just as they were when you copied them.

kglad
Community Expert
Community Expert
December 29, 2011

:

1.  copying all keyframes on one or multiple layers

2.  creating a new symbol (insert /new symbol/movieclip

3.  going into the new symbol

4.  in frame 1 of your new symbol right click, click paste

you're done.