A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Copy and Pasted Text Link Hell

  1. #1
    Junior Member
    Join Date
    Sep 2006

    Copy and Pasted Text Link Hell

    So I have to copy and paste text boxes to save myself hours of typsetting.
    Problem is..when I do this and amend the copied text..it also amends the source. How can one stop this happening?

  2. #2
    Chaos silverx2's Avatar
    Join Date
    Jul 2002
    The hospital
    did you rename the textbox names?
    are you using an external text source?
    use the link above if you download league of legends.

  3. #3
    illusion luvenny's Avatar
    Join Date
    Sep 2004
    In your mind
    Probably the text box is in a symbol that is copied many times.

  4. #4
    Senior Member
    Join Date
    Oct 2003
    Are you editing a movieClip that is in the library? If you have 10 copies of the same movieClip on the stage, and you edit anyone of them, you are actually editing the library moveClip, so they will all change. If this is what is happening, you can fix your problem by making several copies of the clip in the library. From within the library, click on the clip, and choose copy. You will have to make new copies for each one you want to be different. The more copies you use, the larger your file size will be.

    If it's only the text you need to make different in each movie, you can make the text box dynamic and give it a variable name. Then from the timeline where the clips are placed refer to the clips instance names to define the dynamic text box contents..

    //where there is a movieClip in the library with a dynamic text box called "myTxt"
    //where there are three copies of the same clip with instance names myClip1, myClip2, and myClip3
    myClip1.myTxt = "1234";
    myClip2.myTxt = "ABCD";
    myClip3.myTxt = "<<>>";

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center