dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Copy and Pasted Text Link Hell

Hybrid View

  1. #1
    Junior Member
    Join Date
    Sep 2006
    Posts
    3

    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
    Location
    The hospital
    Posts
    1,262
    did you rename the textbox names?
    are you using an external text source?
    GhooooostGIrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrl
    https://signup.leagueoflegends.com?ref=4b5493e6c7342
    use the link above if you download league of legends.

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

  4. #4
    Senior Member
    Join Date
    Oct 2003
    Posts
    1,354
    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..

    Code:
    //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