Is it possible to duplicate a button, instead of building a new one each time (navigation)

In CS5...
I have created a movieclip button which is animated  for all the states I need (up, over, out, etc.) it's made up of text, which is in a movie clip where I have my animations created (actions layer with AS3 script, my txt movieclip layer, my hit layer) and then that is inside a movie clip in my main scene.
Is it possible to copy that button, so then change the text, Actionscript, instance name, etc?
I tried copying the layer (by selecting the frames and copying frames, and pasting to new layer) but when I make any changes, it changes both copies!
Can someone tell me an easy workflow so I don't have to build each button from the ground up each time?
Thanks all!

Ned Murphy wrote:
Select the textfield that is inside the movieclip and in the properties panel you should see a dropdown for selecting the type of textfield.  If you select Dynamic and then assign an instance name to the textfield you can use that instance name in your code to assign the text when the file runs.  If you were to name the textfield "tField", then the code you would use inside an instance of your movieclip named "mClip1" would be...
mClip1.tField.text = "your text";
So, if I have multiple buttons, using your example, would the code read
mClip1.tField.text = "your text";
mClip1.tField2.text = "your text2";
mClip1.tField3.text = "your text3";
mClip1.tField4.text = "your text4";
And my buttons are built inside movieclips, ie
Main Timeline > aboutButton_mc > aboutText_mc > "about"
                    > contactsButton_mc > contactsText_mc > "contacts"
can the code be put at any level, or does it need to reside on the Main Timeline to access all the movie clips' text fields?
Just in case this may be too complex to get into via this forum, if you know of any good tutorials, that would be awesome too!
I tried doing a search, but it's so hard to tell if they might be in AS2, or AS3, and if they would apply to newer versions of Adobe Flash (I have CS5)

Similar Messages

  • How do i set the home button to refresh open tabs instead of opening new ones each time i click on it

    Everytime i click on the "home" button, FF 3.6 opens my three home pages as three new tabs. If i click twice, it opens three more. In IE, if i click the home button i have a choice to either refresh the three tabs starting with which ever one is open (for example, if my second tab page is where I am, that becomes home page #1 and so forth) OR i can select the specific home page i want to return to via a drop down.
    At a minimum, I'd like to set my home button to just open using currently open tabs and not appending. It must be possible b/c DH's FF browser does not do this. What am I missing?

    The best way to keep your home page in the tab is to open other links in a new tab with a middle-click.<br />
    Clicking the home page always open a new set, so you would have to close the current tabs first to prevent getting multiple home page sets.<br />
    I don't know if there is still an extension that can open the home pages and replace the current set.
    See also:
    *https://addons.mozilla.org/en-US/firefox/addon/multiple-tab-handler/

  • Possible to use adf logger to log to a new file each time ?

    Hi,
    how to configure adf logger to write to a new log file on each run ? is this possible ?
    i followed this http://blogs.oracle.com/groundside/entry/adventures_in_adf_logging_part series but still missing those steps
    thnks

    It doesn't appear to be possible according to [url http://download.oracle.com/docs/cd/E21764_01/core.1111/e10105/logs.htm#CHDGFGGB]the docs
    John

  • Can I just make one back-up on time machine instead of making a new one every day/week?

    I am just wondering if it is possible to make just one back up early instead of it making new ones every week/month/year? Any help would be awesome! Thanks.

    As Barry asks -- why? You're on a MacMini, so you don't ned to disconnect for portability.
    Time Machine copies only those files that have changed since the last backup.
    By decreasing the interval, you save NO space, and reduce the effectiveness of the backup. If you need to go back to a previous version of a file, you've got fewer versions.
    If you backup once a week, and lose a file created yesterday, you've got NOTHING.

  • Why can't I use my previous MobileMe email address instead of creating a new one?

    Why can't I use my previous MobileMe email address instead of creating a new one?  When signing up for iCloud I'm asked to choose an email address [email protected]  I am already using an @me address via moblileme.  When i input that address it states that that address is already taken.  Try picking a new one.  I don't want a new one I want to use my mobileme address.  How can that be done?

    It appears you set up a new iCloud account rather than migrating your MobileMe account over to iCloud.  I migrated everything over this morning and am still using my old MobileMe email address.
    Check to see if you can migrate rather than open a new account.
    Lew

  • When i tried to sync my new iPhone to Itunes, I accidentally clicked on sync with my ipod, instead of creating a new one. So now my iphone is the replica of my ipod, deleting my contacts and pictures etc. Is there a way to get it restored?

    When i tried to sync my new iPhone to Itunes, I accidentally clicked on sync with my ipod, instead of creating a new one. So now my iphone is the replica of my ipod, deleting my contacts and pictures etc. Is there a way to get it restored?

    Only if a backup of the iPhone with all that data on it exists.  If one does, restore the iPhone using that backup.

  • Hi! I used to have an Android G2 but it broke recently. Instead of buying a new one, an old friend of mine let me have his old Verizon iPhone 4s. Can I take it to Verizon and have it as a temporary phone?

    Hi! I used to have an Android G2 but it broke recently. Instead of buying a new one, an old friend of mine let me have his old Verizon iPhone 4s. Can I take it to Verizon and have it as a temporary phone?

    There's a couple options. It's not the easiest. Another way to not have to wait is to call V from another phone 8009220204 and they can activate it and walk you thru settings. Depending on where youre located CS might be closed but if you got the prompt for emergency tech support they are 24/7.

  • HT3079 Can the wireless mouse battery be recharged instead of purchasing a new one?

    I have a wireless mouse and the battery has lasted for 3 years since its purchase.  Just wondering if the battery can be recharged instead of spending $30+ for a new one.

    If the batteries are rechargeable, you can recharge them instead of buying new ones (the batteries that come with the Magic Mouse are not rechargeable). However, if they are not rechargeable, you will have to buy batteries for the Magic Mouse

  • ICal possible bug: cannot select appointment, quit, or create a new one

    Hello there,
    I'm having this weird issue with iCal where after some time of inputting appointments and changing them around, one of the appointments seems to remain locked together with the mouse. In other words, no matter what I try to do I cannot because that one appointment keeps following my mouse. When I left click and don't move my mouse around, nothing happens. When I right click my mouse button, the column gets selected, but nothing else happens. When I left click and drag as if I wanted to create a new appointment somewhere, the one blocked appointment keeps popping up right there and the new appointment never gets created.
    This is beyond my understanding so I'm asking for help. I have already trashed preferences and followed another post "how to completely reset ical" which was not entirely resolved, but I have deleted everything they listed there and I can't get rid of all the appointments. (This is quite ironic, because I've lost iCal databases quite a few times and was never able to get them back, and now I'm having trouble messing it up!)
    I have also recorded my screen to give you a better visual to the blah blah above.
    You can find it here: http://www.tigps.org/icalbug.mov [1MB file, 30 seconds]

    redsteven1,
    Thank you for replying. It is indeed a one-of-a-kind behavior. It has however fixed itself. It has not happened in a month now. I have not upgraded or otherwise changed anything on that computer.

  • How to add one button at top of table that creates new rows each time a user clicks on it?

    In the help guide, there is an example of adding buttons to each row - an Add Row and Delete Row button.  I am interested in having one button at the top of the table that can add rows. 

    Hi,
    You can create a table with a header row, where you can place your add button in one of its cells.
    Then you need a script to create a new row in the buttons click event. In a table named 'Table1' with a row named 'Row1' it looks this way:
    Table1._Row1.addInstance()

  • Why the emails in ios cannot be select all with one click?? i have to select one each time to can delete all...i need so much one button "mark all emails" in the mail of ios on my iPhone)

    hello, all...
    Please somebody know one way to select all emails in one touch in ios on iphone.
    In brazil, were i live, nobody have this answer.
    Thanks a lot.
    Paula

    This does not answer/solve the OP's question/problem as they would still have to select each email individually before selecting the "delete all" button. In the end this the same as selecting "delete" on each message individiually.
    There is no practical way to do what the OP wants.

  • Is it possible to replace an existing published folio with a new one?

    Hello everyone,
    We created a folio with the wrong intention (landscape and portrait). I have now recreated the folio with the proper intention (landscape only) and have give the folio the same: name, dimensions, publication date and product id as the original. However when I publish the new folio it appears as a new download in addition to the original one we had created. Should it not appear as an update to the existing one? Any help would be greatly appreciated. Thank you.

    You'll need to clarify what you mean by 'ebook', and how it's different to the HTML pages of your existing website...

  • Switch to existed application instead of open a new one on Cinnamon

    Hi all,
    I am currently using Cinnamon as my desktop environment in Arch.
    Before that I used Unity on Ubuntu. Unity is an awesome thing.  One feature I liked most is that when you press "Super+1,2...", you can switch the corresponding application on the launcher very quickly(Just like you are using shortcuts on the Windows launcher). Unless the application is not started, the shortcut will start a new one.
    On Cinnamon, I bind some keys (like Super + 1,2...) in system settings (Cinnamon System Settings -> Keyboard -> Keyboard Shortcuts -> Custom Shortcuts) to start my applications. But I can't get the effect as I described above. When I just want to switch an existed one, the keys will still launch a new one.(Of course, obviously according to my setting).
    So my question is: Can I bind some keys to "Open or Switch to existed application" like it on Unity or Windows?
    Very grateful for any hints!
    Last edited by isolet (2013-10-26 04:21:53)

    clfarron4 wrote:
    Hi, I don't think there is a way currently do the Unity feature that you are asking for on Cinnamon right now.
    I can see problems with implementing such an idea on Cinnamon though in the case where people have two panels.
    Thanks for you reply. I hope I can get this done one day on Cinnamon.
    Last edited by isolet (2013-10-28 09:36:01)

  • For Numbers...how do I add one each time in a column instead of manually adding plus 1...Column B..

    I just want it to go 44,45,46,47,48...without me having to have to type it in.

    Matt,
    Type the first value in the first cell and the second value in the second cell, Select both cells, grab the Fill handle in the lower right corner (Numbers v2) and pull it down to extend the series as far as you want.
    Jerry

  • Is it possible to set firefox to recreate the daily bookmarkbackup (json) file each time it close as opposed to once a day ?

    From what I understand, Firefox create a daily backup of it's bookmarks in a .json file the first time it closes each day. We found that if a user has already closed Firefox in the present day (and the .json bookmarkbackup file is already created for the present day), it won't add to this file the bookmarks added later in the day at futures Firefox closes...
    So if, for example, places.sqlite gets corrupted later in the day, all new bookmarks added after the first close (and creation of original daily backup) of Firefox aren't backuped...
    Is there any way to set it so that each time it closes for the current day, it regenerate the daily backup of bookmarks with the lastest bookmarked pages?
    Thanks

    Note that a JSON backup is created when you start Firefox and not when you close Firefox.
    You can make Firefox create an automatic HTML backup (bookmarks.html) when you exit Firefox if you set the browser.bookmarks.autoExportHTML pref to true on the about:config page.
    * http://kb.mozillazine.org/browser.bookmarks.autoExportHTML
    That backup is created by default in the profile folder as bookmarks.html, but you can set the file name and path via the browser.bookmarks.file pref on the about:config page.
    * http://kb.mozillazine.org/browser.bookmarks.file
    The browser.bookmarks.file pref doesn't exist by default and you need to create a new String pref with the name browser.bookmarks.file and set the value to the full path of the backup bookmarks file.
    Note: an HTML backup doesn't preserve tags and annotations, so you lose those if you need to import the HTML backup.
    * http://kb.mozillazine.org/Export_bookmarks

Maybe you are looking for

  • Texts in other languages

    Hello,            We have a report  which should be shown in Italy language.How can we achieve this in BW? As far as I know, In order to support multiple languages, the following is must: 1>    The language specific descriptions must be maintained in

  • When connecting to website using sso, packet sniffing shows ntlm user is using {server name}\{user name} instead of {domain name}\{user name}

    I moved to windows 7 and firefox 12 and my internal website via the servername (not FQN) is now prompting me for the username and password in firefox. I do not get prompted for a username and password when using IE9 to access the site via servername

  • Connecting flvplayback and an xml file

    using flash 8 pro... ive got a flv file saved in my folder... i am trying to use the flvplayback component and get to the flv file via an xml file... can someone please help me out with a sample of what the xml file should look like... right now this

  • Reset delete playlist warning

    ok, ive searched for topics regarding this with no luck. ive turned off the warning dialouge that pops up when i first deleted a playlist a while back. how do i reset that warning to pop up again. im having serious problems accidently deleting heaps

  • Customization of Attestation Process in Oracle identity Manager

    Hi all, In our case we have to create an attestation process for some users and they belong to some particular group. when reviewer of this attestation process view his inbox .He can see table with several column like user resource and options like c