PDA

View Full Version : Re-using and altering movie clips.....Am I setting this up correctly?


MrBungle
07-27-2001, 04:24 PM
Is there a way to duplicate a movie script which has keyframes on it, but change the content to something else?

My example would be that I've spent a while keyframing a movie clip that contains text (the letter 'p')that pops up and then down over 20 frames. I now want to create the exactly same animation for the letter 'e' in a seperate movie clip without having to re-do all the keys again. How can I dupliacte the keyframes of what I did in the my first movie clip into this new one but on a different letter (as in, the popping up keyframes that were animated on the letter 'p').

I don't kniow if theres a way I can keep all the keyframes, but simply type different text in the clip, and it updates. (I've tried something like this, but it updates it for all the other previous clips)

Any help greatly appreciated, it will save me hours of keyframing


Ben

pixelwit
07-28-2001, 09:01 AM
You need to change the text box in your movie clip to a "Dynamic Text Box". Then give it a variable name something like "myLetter". Make sure you embed the letter fonts for the dynamic text.

Duplicate your movieclip on stage a couple times. Right click one, select actions and put something like this in:

onClipEvent (load) {
myLetter = "E";
}

Do this for each movie you duplicated changing the letter as you like.

Another less efficient (file size) way to do it is to select the symbol (P) in the library, right click it, duplicate it, call it (E) edit the new (E) symbol so it's actually an (E) rather than another (P) then you're done.


Hope this helps,
-PiXELWiT

NGNIsoftware
07-28-2001, 04:37 PM
Hmmm... actually a verynice way to answer this little dilemma... Great help reading these forums in general!

MrBungle
07-30-2001, 08:38 AM
Yes, thanks a lot for the solutions. I'm still quite a Flash newbie and before I found this site, my progress was only half as fast. The forums are the best place to look for answers.