Create a duplicate of a button and change the text on THAT button only

something is frustrating me w/Flash. Not sure if there is a workaround within Flash itself or not. I have a group of buttons with fancy backgrounds and text. They may have originally been imported from Ilustrator, but are now MC's. I tried to select one in the library, right click (on PC) and duplicate. This does create a new instance. I give the new instance a different name and drag onto the stage. When I change the test though it changes the text ALSO on the button which I duplicated from. Don't want this. Each button needs to have it's own unique text. Is there a way to accomplish this in Flash? I know one alternative is to try and find the Illustrator template and create a new one, but I would rather not do this if possible.
TIA

This could be happening for a couple of reasons. The good news is its easily fixable, and you have options.
Option 1.
From your explanation of the problem I am assuming you are using static text inside your MCs.
First, find out what's really happening with your two mcs.
make sure you aren't using 2 of the same clip (either the original or the duplicate).Not the  instance names, but the actual names of the clip as found in the Library.
If they are different, i.e. "myclip" and "copy of myClip", then odds are there is another mc that holds your text inside them. So, go into either one of your movie clips and check for nested movie clips inside them. If there are nested clips, you need to duplicate each of those clips as well otherwise you will continue to have the text change in both.
Option 2.
if you are ok with a little bit of scripting, you can just go inside your mc and make your text fields "dynamic" and give it an instance name.
then open up the actions panel, create new layer, and add the following frame script:
//insert your instance names where necessary
myMC.pathToMyTextField.myTextField.text = "the text for this button";
do this for each button and it should fix your issue.
hope this helps.
M.

Similar Messages

  • I have a PDF with a diagram, I need to translate the text so I open it in Illustrator.  The document opnes up vertically oriented  I try to put it horizontal to be able to read and change the text  However everything I have done is not working  The artboa

    I have a PDF with a diagram, I need to translate the text so I open it in Illustrator.  The document opens up vertically oriented  I try to put it horizontal to be able to read and change the text  However everything I have done is not working  The artboard does change, but the diagram stays vertical.....Please help  I need to finish that for today..Please help

    A PDF usually consists of one to an indefinite number of clipping masks inside each other.
    You need to be very carefull with selecting stuff.
    So you need to read the manual on how to select stuff and on the basics of Illustrator.
    On top of that: because of the complex hierarchy of PDF files, it is kind of difficult to help you without seeing anything.

  • Change the text of a button in a form on the fly

    Hi all,
    I have a form that it is called from another form or from a report. I would like to change the text of the Update and Save buttons on the fly depending on who called it. For instance, if this form is called from the form I would like the Update button to say: "Save & Next", however if it is called from the report the button should say: "Save & Back to Report".
    How could I accomplish this if it is possible.
    Thanks

    I've got the problem fixed. For any of you that would like to know the solution is this. I added the following javascript at the end of an unstructured UI template where I have the form:
    <script language="JavaScript1.1">
    var inURL = false;
    for (i = 0; i < document.all.length; i++) {
         if (document.all.name != null) {
         if (document.all[i].name.indexOf("BACK_URL") > 0) {
                   if (document.all[i].value != '') {
                        inURL = true;
              else {
                   if (inURL) {
                        if (document.all[i].name != null) {
                             if (document.all[i].name.indexOf(".UPDATE") > 0 || document.all[i].name.indexOf(".SAVE") > 0) {
                                  var doc = document.all[i];
                                  doc.value = "Save & Back to Report";
    </script>
    The script works in IE 6+, I don't know if it works in any other browser, I haven't test it and I don't think I will.
    I hope this could help somebody

  • How can type a word on an image in Ps and change the text box background

    How can I type a word on an Image in Ps and change the background of the text box

    Photoshop doesnt have an ability to fill a text box so you will have to create a layer underneath the text layer. A shape layer work work well. That can be filled and stroked quite easily with editability.

  • Can i change the text of submit button on a login box of a secure zone?

    Can i change the text of the submit button in the login box of a secure zone?
    Or, maybe, i can replace the button with the image?
    So, can this be done, and how to achieve this?
    Any suggestions are welcome.

    Ok, this is the description:
    http://helpx.adobe.com/business-catalyst/partner/add-secure-area-your-site.html
    "You can replace the form submit button with an image by clicking the Use Image Form Button."
    Can please anyone tell me where can i find this "Use Image Form Button"?
    Message was edited by: ChefEng

  • How to change the text of a button dynamically in module pool

    hi gurus,
    how to change the text of button dynamically

    Hi ,
    Declare a variable in TOP Include with your button name.
    Example : P_BUTTON(20) TYPE C.
    Place button with name P_BUTTON on you screen. Do not forget to mark it as "Output Field". [ Double click on button, Attributes --> Program tab --> tick "Output Field".
    In you PBO / PAI , whereever you want to change your text -
    Assign value to P_BUTTON.
    Example -
    iF COND1..
    P_BUTTON = 'EDIT'.
    ELSEIF COND2.
    P_BUTTON = 'DISPLAY'.
    ENDIF.
    Regards,
    Mohaiyuddin

  • How can i access and change a text from a button in diferents symbols!?

    I have this:   ELEMENTS:  Stage  - symbol_1
                                                         - symbol_2
    So,... i would like to change a text inside symbol_2 from a button on symbol_1, using sym.$("Text").html("NewText");  What's the correct path!?
    Thanks in advance,
    Regards,

    sym.$('symbol_2')
    sym.getComposition().getStage(). getSymbol('symbol_1').$("Text").html("NewText");

  • How to change the text of a button in ALV dynamically?

    Hi Gurus,
    I have a ALV with a button in the toolbar.Basically i have to change the button text each time the button is pressed.
    How can i do this?
    PS:points will be awarded

    On your alv model, first call if_salv_wd_function_settings~get_function( ID = <your ID> ). This will return you a reference of cl_salv_wd_function. If your function uses a button editor, do the following:
    data:
    lr_button type ref to CL_SALV_WD_FE_BUTTON,
    lr_function type ref to cl_salv_wd_function.
    lr_function = l_alv_model->if_salv_wd_function_settings~get_function( ID = <your ID> ).
    lr_button ?= lr_function->get_editor( ).
    lr_button->set_text( ).
    I have not tried this, but it should work.
    Regards
    Nithya

  • Button for change the text in the RTB ?

    Hi
    It been long time since i do some codes. so i forget the basic
    What i want to do is that when i click on a (Bold or Italic) button the text on the RTB become bold and another click on that button the text go back normal.
    Can some code this please ?
    Thank you

    Hi
    Here is something to work on:
    BOLD
    ' bold
    If Not RTB.SelectionFont Is Nothing Then
    Dim cf As System.Drawing.Font = RTB.SelectionFont
    Dim nf As System.Drawing.FontStyle
    If RTB.SelectionFont.Bold = True Then
    nf = FontStyle.Regular
    Else
    nf = FontStyle.Bold
    End If
    RTB.SelectionFont = New Font(cf.FontFamily, cf.Size, nf)
    End If
    ITALIC
    ' italic
    If Not RTB.SelectionFont Is Nothing Then
    Dim cf As System.Drawing.Font = RTB.SelectionFont
    Dim nf As System.Drawing.FontStyle
    If RTB.SelectionFont.Italic = True Then
    nf = FontStyle.Regular
    Else
    nf = FontStyle.Italic
    End If
    RTB.SelectionFont = New Font(cf.FontFamily, cf.Size, nf)
    End If
    Regards Les, Livingston, Scotland

  • I have an itunes acct with my iphone and my ipad and my daughters ipod - the account recognises all three as mine - can I open a separate itunes for my daughter and change the ipod to that - and still use my pc forall  updates forbo th accounts ?

    I have an itunes acct - with my iphone and ipad linked.  Also my daughter has an ipod -so I orignally linked it to my acct and it identified it as MY ipod.
    I now want to open a separate acct for my daughter - can this be done on the same PC/laptop and then change her ipod over to her acct ?

    Sure.
    See here for Creating Her Apple ID  >  http://support.apple.com/kb/HT5622
    It should be Noted that anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID
    And here for  >  How to Use Multiple iDevices with One Computer
    Also have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And you may find this Video Link of Interest...
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • Change the look of a button during the timeline?

    In web design, you usually define a  CSS style for a navigation link, which will appear when the user is  currently on that page. So if I was on the "about" page, the "about"  link in the navigation would be highlighted red, for example.
    I'm trying  to do the same thing with a button in Flash. When a user clicks the  button ("on(release)"), it will take them to another frame in the  timeline, and, the look of the button will change to let the  user know they are currently on that frame. I thought I could do this by  adding a keyframe at the destination frame, then going into the button  and changing the "up" frame. Sadly, that doesn't work, as it changes the  "up" frame for the button everywhere.
    Then I tried a movie clip instead,  but I can't use on(release) with that. I'm sure I'm missing something  here...any suggestions? Thanks!

    To use the movieclip you need to give it an instance name and assign code to it in the timeline...  For instance, if you gave it an instance name of mcName, then you would place the following actionscript in the timeline where the button is (preferably ina separate actions layer)...
    mcName.onRelease = function(){
         // whatever is done

  • IPhoto download is stuck - cannot get it to resume. The "Pause" button is greyed out and to the left of that is the word "Waiting". I tried putting the iPhoto download into the trash (from the Applications folder) but am unable to do that - it goes r

    My iPhoto download is stuck. To the right, there is a greyed-out "Pause" button, and to the left of that, the word "Waiting".
    I tried putting the iPhoto download into the Trash (from the Applications folder) but it won't stay in the trash - just keeps popping back into the folder.
    Have looked all over online and tried lots of things but no luck. I don't even know where to ask.
    Thanks
    (P.S. This all happened after a disaster: My hard drive crashed while downloading Yosemite - hard drive was only six months old. Replaced hard drive and now in process of restoring things.)

    Go to the LaunchPad and cancel the download - trash the iPjhtoo application and reinstall from the App store
    LN

  • Getting the text of a Button when it is being read as a Node. Looping VBox

    I'm learning JavaFX and this is just a small programming question.
    I have 3 buttons in a VBox. And I want to apply the same 3 effects on all buttons after I put them in the Vbox. But when I use a for loop and getChildren() on the VBox, they are returned as 'Nodes'. I can't use the Button.getText() to find out the text of the button.
    Is there a way I can getText of a Node? Or maybe convert the current Node to a Button and get the text that way?
    VBox vbox = new VBox();
    Button option1= new Button("First Button");
    Button option2= new Button("Second Button");
    Button option3= new Button("View Rules");
    vbox.getChildren().add(option1);
    vbox.getChildren().add(option2);
    vbox.getChildren().add(option3);
    for (final Node button : vbox.getChildren())
    button.setOnMouseEntered(new EventHandler<MouseEvent>()
    @Override
    public void handle(MouseEvent arg0)
    button.setEffect(addEffect(Color.web("#53CFA6"), .8, 10));
    button.setOnMouseExited(new EventHandler<MouseEvent>()
    @Override
    public void handle(MouseEvent arg0)
    button.setEffect(addEffect(Color.web("#FF6800"), .8, 10));
    button.setOnMouseClicked(new EventHandler<MouseEvent>()
    @Override
    public void handle(MouseEvent arg0)
    button.setEffect(addEffect(Color.web("#E62800"), .8, 10));
    //Need to use button.getText()
    //Button button; button.getText() works
    }

    Hello user,
    You should have formatted your code properly. Look in the forum guides to format the codes.
    For getting the instance of Button , You need to do it safely
    There are two ways to get instance of Button.
    for (final Node button : vbox.getChildren()){
         Button b = null;
         if(button instanceof Button){
              b = button;
         if(b != null){
              //Do your stuffs here
    }Or You can even do like this too
    for (final Node button : vbox.getChildren()){
         Button b =null;
         try{
              b = (Button) button; //casting the class
         catch(ClassCastException e){
              e.printStackTrace();
         if(b != null){
              //Do your stuffs here
    }Thanks
    Narayan

  • Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email.  the button did not work and i looked online and saw where you could change it to a regular button and enter the email for it to go.  it worked, but only for thos

    Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email.  the button did not work and i looked online and saw where you could change it to a regular button and enter the email for it to go.  it worked, but only for those with adobe pro.  i could not get it to work with reader.  is there a way i can make it work for reader?

    Noted.
    The LiveCycle user to user forum is across town at:
    Adobe LiveCycle 
    Be well...

  • How do I create a duplicate image inside the same page? Then how do I change the color of that image

    how do I create a duplicate image inside the same page? Then how do I change the color of that image from black to red?

    Hello there!
    Here is one way to create a duplicate image and colorize it. As you can see below, I have one image right now, that I want to duplicate.
    My layers panel looks like below.
    To duplicate your image, click the downward arrow on the right side of your Layer Panel.
    Select Duplicate Layer. This will duplicate the layer that the image is on.
    Select "OK" to approve the duplication.
    As you can now see in the Layers panel, the image is duplicated. The new layer is now at the top of the Layer panel.
    Now to colorize your image, go to Window > Adjustments.
    The Adjustments panel will now be opened. Select the Hue and Saturation icon as seen circled in red.
    The Hue and Saturation propertied panel will be opened. I selected "Colorize", and adjusted the hue and saturation bar to achieve the level red in my photo.
    As you can see below, the image is now red.
    Now i want to make sure only ONE of my image layers is red. I moved the Hue and Saturation layer to only be on top of the bottom layer. The image on the top layer now will not be affected by the red.
    Select the move tool, so I can now move the image layers so we can see both of them.
    With each image layer selected, you can take the move tool and move the images. I moved mine on top of eachother and you can see my red layer (bottom) and the non red layer (top).
    I hope that helps. i have also included helpful links.
    Please post back with any questions,
    Janelle

Maybe you are looking for

  • Help looping swf in dreamweaver

    hello, I am new to flash, and relatively new to dreamweaver. I am trying to drop an swf file into a dreamweaver generated page and have the video file loop but I can only get it to play once and then it stops. I have checked the loop box is selected

  • Invoice Matching - Best Business Practice

    As far as I know matching invoices to PO or to a receipt is done in AP. A colleague of mine is stating that matching should always be done at the purchasing level and that she has never seen it done in Payables. Other than the user's guide, would any

  • How to join two pl/sql tables .,.,,Urgent pls help

    Hi, Please tell me how to join to pl/sql tables with example thanks asp

  • Santa rosa macbook+4gb ram PLZ HELPPPPP

    i have a santa rosa macbook (on the box it says it supports up to 4gb) and i was trying to upgrade ram to 4gb from the default 1gb. So i bought 2X 2gb comstar ram from futureshop. the problem is that when i try to put both of the new sticks for a tot

  • Como paso musica del mi laptop a mi iphone

    Hola amigos, alguien me podría asesorar para poder pasar mi musica, en formato mp3, mp4, de la laptop con sistema operativo windows 8 a mi nuevo cel??? Gracias por el apoyo!!! Fco.