Skip navigation
Alexandre_t
Currently Being Moderated

Change text of many copy-paste buttons - best practice?

May 31, 2009 12:25 PM

Hello,

 

I have a created one complex button that I intend to use more than one. When I copy-paste the buttons in CS3 and try to change the text of just one, the text of every buttons is changed.

 

I right-click on the button and select "duplication symbol" to change the features of the button independantly of the others. However the text never gets duplicated and all of my buttons show hte same text.

 
Replies
  • Currently Being Moderated
    May 31, 2009 12:37 PM   in reply to Alexandre_t

    One way to overcome this is to make sure the text is not a part of any other symbol in the library, meaning it stands by itself as a textfield within the button, not part of spme sub-clip.  If you duplicate a symbol containing a shared library symbol, then changing that shared symbol changes it for all.

     
    |
    Mark as:
  • kglad
    61,985 posts
    Jul 21, 2002
    Currently Being Moderated
    May 31, 2009 12:52 PM   in reply to Alexandre_t

    i think a best practice argument is pretty strong in favor of not using a true/simple button and using a movieclip with a dynamic textfield that assigns a text property when you create a movieclip button instance.  that would yield one movieclip button in your library would display different text for each instance.

     
    |
    Mark as:
  • Currently Being Moderated
    May 31, 2009 1:12 PM   in reply to kglad

    Yepper... beats having to house and manage duplicates.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 1, 2009 1:41 AM   in reply to Alexandre_t

    You can try this also. Use the text which is in the button as a dynamic text and give it an instance to change the text of the button.

     
    |
    Mark as:
  • kglad
    61,985 posts
    Jul 21, 2002
    Currently Being Moderated
    Jun 1, 2009 6:40 AM   in reply to flashfever

    you can't do that for a true/simple button.  you need to use a movieclip button which is described above.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 1, 2009 11:02 PM   in reply to kglad

    Thanks, you are right. I am unable to access the dynamic text box which is in the button. But if i need that how can i do this. If  i need a button and there a dynamic textbox in the button. May u plz guide me on that. Thanks again :).

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 2, 2009 4:46 AM   in reply to flashfever

    Create your button as a movieclip symbol, not a button symbol.  You will create frames for the different states (Up, Over, Down) and have code to control them for going to these frames.  Since it is a movieclip, you can name the textfield instance and control it with code outiside.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points