Copying actions to a duplicated symbol

Hi
I am an newbie trying to take an existing Flash game and modifying it for my own selfish goals.  I am duplicating symbols and trying to preserve all of their actions so that I can then swap them out for my own symbols.  When I swap, actions are preserved, but I have run out of symbols to swap, so now I am trying to duplicate the remaining symbol so I have more to swap with, but when I duplicate the actions are lost.  I have adjusted the actions code to accommodate more symbols ( or at least I think I have).  Any help would be appreciated.

Hi Rob,
That code worked perfectly.  All of my movie clips are duplicating and moving exactly as I want them too, thank you!  Is it possible to move around the copies once they are placed down?  Ultimately I would like to mimic some of Illustrator's functions with these movie clips and have the basic functions of pick up and re-place (moving), clicking and duplicating the instances that are on the stage, deleting instances, grouping instances ( and re- coloring the groups), copying and pasting them as a group, and saving and printing finished work.  If you want to see how I am applying this I have attached what I have done so far.  Thanks for all your help.
https://www.woolybaabaa.com/index.php?_a=viewProd&productId=646
Message was edited by: designingal

Similar Messages

  • Duplicating Symbols

    Ok everyone. I'm a total Flash newbie and have no idea what
    I'm doing wrong. I've been searching and searching for the last 2
    days, and anything I've found isn't helping me. I'm sure that I'm
    overlooking something or using the wrong search terms, and this is
    a REALLY easy fix- but, I can't figure it out.
    I've uploaded a
    YOUTUBE VIDEO
    to help assist showing what I'm talking about.
    All I'm trying to do is duplicate a button on a site. You can
    go to the
    SITE to see what I'm working
    with. I'm trying to duplicate the News button to create a new
    category. The PROBLEM is, when I try to edit the duplicated symbol,
    it edits the original as well!! I have no idea why...
    Anyone have any suggestions?
    PS- I'm using CS4.

    OK...so far so good. Looks fine, just doesn't function
    correctly yet.
    Here is my functions code. I just copied the code from Case 2
    (which is from the original button I duplicated) and added it to
    the end of the Cases as Case 6.
    When the movie opens, and I go to the new button "Members"
    first, it along with the rest of the buttons do not function.
    However, if I click any of the other buttons FIRST, BEFORE going to
    Members- they all work fine.
    What am I missing, now?
    EDIT: OK, I shortened the code to what I *THINK* might be
    important.

  • OSB : How can we copy  actions from one project folder to other projects?

    How can we copy actions from one project folder to other projects in OSB?
    For eg:
    I have a service call out action in Project1/proxySer1
    I want to copy this to Project2/proxySer2.
    Espicially, in our case error handling callout is common to all of our projects and we should be able to copy from one to another.
    Edited by: user10367892 on Aug 20, 2009 12:28 PM

    Thank you for the reply.
    It was my fault. I was on two different servers, while i was doing this and so didn't work. But copy /past action works as you suggested.
    Can I select multiple actions from one stage and paste to different proxy service? I have too many options to copy/paste and hence I have this question.
    Is there any other way of copying all selected actions in one stage to another, but not the complete stage itselft?

  • Copying actions - what is it that I don't get?

    So my PC mobo crashed and I needed to upgrade. The old system disk no longer boots but its there in the PC. Looked in the FAQ on how to copy Actions from old installation (Actions Palette stuff). So I moved it and it is much bigger than the default one (25K vs 20k default). Then I start Photoshop and for some reason the copied file is overwritten with something that is exactly the same size as the default one (20k) and none of my Actions are to be found?
    So where did I go wrong here? Move was CS3 to CS3, old OS was XP, new OS is Vista.

    Thanks for the quick replay and sorry for being too vague in the question. As the crash was a - shall we say - surprise, I had not saved the actions so from the FAQ I gathered that my only chance was to copy the "Action Palette.psp" file from somewhere below my old XP user account to the new user account (.../Adobe Photoshop CS3 Settings/). So there is no .atn file involved as I never had to chance to make one :-(.

  • Is it possible to make several copy actions to a plan in COPA?

    Hi Experts,
    In COPA, we would like to copy actual data from last year to the planning we made for reference use. The user should then adjust these actual figures to plan data.
    Since we would like to copy contract data and invoice data (which was sent to COPA via SD) to the plan we need to have two copy actions:
    1. copy actuals with record type A (contract data)
    2. copy actuals with record type F (billing data)
    The problem is now that the data from the second copy action overwrites the data from the first copy action.
    Is there a way to have copy different data to the plan without the data being overwritten?
    And, is it possible to copy data to the plan for only 2 months instead of for the whole year? Now the system says that the period to be copied should be equal to the period from the planning package.
    Best regards,
    Stephan

    Never ever presume that your web page must take up my entire screen.  That's considered rude.   My browser settings and preferences are my choice; not yours.
    If you want to design web pages that fill the end-user's available viewport without scrollbars, use a liquid or semi-liquid layout in percentages.
    http://alt-web.com/TEMPLATES/3-col-semi-liq-layout.shtml
    Alternatively, you can use multiple style sheets & progressive enhancement techniques (media queries) to target specific devices by their width. This is how modern developers are able to support different layouts for smartphones, tablets and desktops.
    http://www.adobe.com/devnet/dreamweaver/articles/introducing-media-queries.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Lost in text realm again: JEditorPane copy action in webstartables?

    The problem was raised over in the swingx forum:
    [http://forums.java.net/jive/thread.jspa?threadID=73031]
    Bottom line is that the swinglabs-demos application has a source view to quickly see how a particular feature is coded. The source view is an JEditorPane. An enhancement requirement is to allow to copy that code out of the editorPane for quick trying out and playing with it. That's naturally supported in non-restricted environments, but fails in security restricted contexts, like running the demo as webstartable.
    Not a big deal - me optimist thinking after getting a reference to the ClipboardService: replace the editors default copy-to-clipboard action (which messages the transferHandlers exportToClipboard which needs direct access to the clipboard) with one that uses the service if the context is restricted. Loads of nasty devils in the details - or me barking at the wrong tree ;-)
    Here's a code snippet of what I have so far:
        public static void replaceCopy(final JEditorPane editor) {
            if (!isRestricted()) return;
            final ClipboardService cs = getClipboardService();
            if (cs == null) return;
            Action safeCopy = new AbstractAction() {
                @Override
                public void actionPerformed(ActionEvent e) {
                    StringSelection transferable = new StringSelection(editor.getText());
                    cs.setContents(transferable);
            editor.getActionMap().put(DefaultEditorKit.copyAction, safeCopy);
        }works, kind of: the user is asked if she allows the copy and if so, the editor contents get's copied. Problem is how to get a reasonable transferable: done as above it is the raw html including the tags - not exactly anything I want to copy to code editor. Feels like I'm doing something basically wrong or looking at the wrong place:
    - ideally I would expect a TransferHandler.exportToClipboardService
    - without that TranferHandler createTransferable looks like it's doing exactly what I would need but is protected
    - Basic/Text/TransferHandler is package private to plaf, no way to extend
    - BasicTransferable (which has the default flavours which might be enough) is package private as well
    - text components don't have a getTransferable (or do they? always loosing my path in the jungle of the text package ;-)
    Ideas, comments highly welcome!
    Thanks
    Jeanette

    just a quick follow-up: getSelectedText is okay as well - and less surprising to users as they are accustomed to first select then copy the selected only. So the final method looks like:
         * Replaces the editor's default copy action in security restricted
         * environments with one messaging the ClipboardService. Does nothing
         * if not restricted.
         * @param editor the editor to replace
        public static void replaceCopyAction(final JEditorPane editor) {
            if (!isRestricted()) return;
            Action safeCopy = new AbstractAction() {
                @Override
                public void actionPerformed(ActionEvent e) {
                    try {
                        ClipboardService cs = (ClipboardService)ServiceManager.lookup
                            ("javax.jnlp.ClipboardService");
                        StringSelection transferable = new StringSelection(editor.getSelectedText());
                        cs.setContents(transferable);
                    } catch (Exception e1) {
                        // do nothing
            editor.getActionMap().put(DefaultEditorKit.copyAction, safeCopy);
        }Thanks again
    Jeanette

  • How can I Change Asset names for swapped images in duplicated symbols?

    I have what seems to be a bug in edge animate cc2014 in following circumstances:
    1. Duplicate a symbol
    2. Drag duplicate symbol onto stage.4
    3. Rename symbol
    4. Click to edit symbol
    5. Select an image inside the symbol
    6. In properties panel change path to swap the image to be used in this instance of the  duplicated symbol ( I need to reuse this symbol many times and not being able to change asset names is a real problem!).
    7. The names for the asset in both the timeline and the elements were auto generated at the time of duplication when try to change the names they revert back to the auto generated  names.
    How can I overcome this problem which is clearly a bug or a poorly thought through bit of programming by an otherwise highly competent adobe edge animate tesm
    Thank in advance
    David.

    Again, incorrect. It's not about how I can address a specific symbol with code - no problems there - it's what the composition loads into the symbol. Try it with some complex component or sub- symbols.
    Work-Around for using Duplicated and Revised symbols (symbol variants) in the SAME document. Solution.
    Tedious, but easy. Low risk. Edge Animate 2014.1.1
    When you duplicate a symbol comprised of symbols itself ("sub-symbols"), only the outermost symbol gets a unique name, not it's component inner symbols. Upon import of additional variants, a unique name is created in the Library/Symbols panel for the inner symbols, yet the references in the outer symbol can't update to use those unique inner-symbol names. Therefore, the composition loads the symbol with the matching name. This will be the first variant to be imported.
    Make the Duplicate
    Duplicate the symbol in the Library/Symbol Panel. Rename. Export.
    Prepping the Symbol
    Open a new document, import and place the new symbol.
    Select the asset to be switched/replaced. Make the switch in the property panel. Properties/Images/Swap button. (I revised my base or source symbol to have different colored background images. This is how I created 4 color variants.)
    Save the new document, of course. "Example1.an"
    Export the revised symbol from the Library/Symbol Panel for safe keeping.
    Return to Example1.an
    Elements Panel: Work through the nested symbols, adding a preceding identifier to all symbols in the heirarchy.
    *KEEP IT SIMPLE so you can easily and quickly move through the .js files in the following steps.*
    Save Example1.an.
    Library/Symbols Panel: Go down the list, renaming all the symbols with the same preceding identifier as was used in the Elements Panel. *I advise to stay parallel with the Elements panel. Change as little as possible.*
    Disregard any odd appearance you may see on the stage for now.
    Save Example1.an
    Revising the Code
    In Edge Code, also part of the Creative Cloud suite, or any code editor, open the two .js files for "Example1.an." found in the same folder...Edge.js and ...EdgeActions.js
    ...Edge.js
    find  "symbolName" - prepend with the identifier whatever is not already prepended.
    at the same time, look for "id" nearby - prepend with the identifier whatever is not already prepended.
    Save
    ...EdgeActions.js
    First read the grey comments about not degrading the //Edge Comments.
    Search the document for "//Edge symbol" - prepend whatever is not already prepended.
    Carefully check all the orange text, prepending the symbol names you find. This same code can be seen in your Code Panel with the "Full Code" button.
    Save
    Return to Edge Animate
    When prompted to Reload, say yes.
    Save Example1.an
    EXPORT your new top level symbol - now a fully separated asset.Now you have created a fully unique symbol, which can be used in conjunction with other variants in the same document.
    Import your new, unique symbol variant it into your real document.
    This is the solution if your Symptoms are:
    I duplicated symbols to make different variations, but now I can't use the duplicated symbol variants together.
    When I try to swap images in a duplicated symbol, it succeeds when used alone, but reverts when used with the original symbol.
    My duplicated symbol works properly alone, but not when it is used with the original symbol.
    My symbol seems to revert to the original source symbol.

  • About Delimiter when do copy action in JTable

    copy action in JTable will copy the strings that selected on JTable, like below
    |ab|dd|
    Assums there is 1 row and 2 columns
    when copy these data from JTable and paste into text edit, they will be seperated by tab, like below
    ab \t dd
    Here I want to set the \t be other String, I do it like below:
    Transferable tf = Toolkit.getDefaultToolkit().getSystemClipboard().
                      getContents(null);
                  try{
                    String o = (String)tf.getTransferData(DataFlavor.stringFlavor);
                    String s = o.replaceAll("\t", "==");
                    Toolkit.getDefaultToolkit().getSystemClipboard().setContents(
                        new StringSelection(s), null);
                  }catch(Exception e) {
                    e.printStackTrace();
                  }And it work well. When I past selection text into text editor it look like what I want :
    ab == dd
    But I want to know how to set this delimiter string for JTable, it exists in some place in swing global configuration?
    Thanks.

    I believe this is the relevant code from the BasicTableUI class:
                    StringBuffer plainBuf = new StringBuffer();
                    StringBuffer htmlBuf = new StringBuffer();
                    htmlBuf.append("<html>\n<body>\n<table>\n");
                    for (int row = 0; row < rows.length; row++) {
                        htmlBuf.append("<tr>\n");
                        for (int col = 0; col < cols.length; col++) {
                            Object obj = table.getValueAt(rows[row], cols[col]);
                            String val = ((obj == null) ? "" : obj.toString());
                            plainBuf.append(val + "\t");
                            htmlBuf.append("  <td>" + val + "</td>\n");
                        // we want a newline at the end of each line and not a tab
                        plainBuf.deleteCharAt(plainBuf.length() - 1).append("\n");
                        htmlBuf.append("</tr>\n");
                    // remove the last newline
                    plainBuf.deleteCharAt(plainBuf.length() - 1);
                    htmlBuf.append("</table>\n</body>\n</html>");
                    return new BasicTransferable(plainBuf.toString(), htmlBuf.toString());So the "\t" would appear to be hardcoded.

  • HT203175 I just copied a podcast to my iPod touch and the show I copied has the  'chasing arrows' symbol and I can not get it to play. What do I do?

    A podcast copied to my iPod touch showing the"chasing arrows' symbol. It won't play; how do I access it?

    If it is still under warranty you can call the 800 number to apple and enter the serial number and it will tell you if it is under warranty or not if not its like $30 basically for them to help or something like that it said today when i called...
    Or take it to a genius bar if you have one near?
    Or further explain what setting you are needing fixed back and im sure someone here can help you for free!

  • "copy and paste text within symbol" bug

    I am sure this has been discussed, but have not found it using search.
    Follow these steps to demonstrate a "Symbol Text" bug (CS5 through CC 2014):
    Create Symbol containing editable text.
    Edit symbol by selecting and copying a portion of text at "Character" level in the Symbol
    Paste as point or paragraph text.
    The result is: ALL the text from the Symbol is pasted into the Point or Paragraph text object, NOT just the portion that was copied.
    This bug has been present in AI at LEAST since CS5 and probably before. I'd sure like to see it fixed.

    Ray,
    I'm using C5 also.
    What I get is the copied text plus all the text in the symbol.
    Peter

  • Copy action in jmenuitem (ctrl+C and shift+ins)

    How i can add to the same jmenuitem button the action of copy text with the two keystroke:
    ctrl+C
    shift+inst
    I write this code
    JMenuItem mi = new JMenuItem("copy");
    mi.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.SHIFT_MASK, keyEvent.VK_INSERT));
    mi.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.CTRL_MASK, KeyEvent.VK_C));
    The problem is that: when i set the second accelerator key, it's delete the first.
                        

    the solution:
    getKeymap().addActionForKeyStroke(KeyStroke.getKeyStroke(KeyEvent.VK_INSERT, 1), copyAction);

  • Statically referencing the default JTextPane Cut, Paste, and Copy actions

    If all JTextPanes share the same default keymap, which includes the Cut, Paste, and Copy, how do I modify those actions statically so those modifications are available to all JTextPanes before one is instantiated?
    Also, it seems that the key bindings are linked to the UI....an HTMLEditorKit has different actions than a RTFEditorKit (except for the default actions they share), but when you swap out an editor kit, only the ActionMap is updated...why not the InputMap as well?

    The JDK 1.4 use read/write methods of editor kit for paste/copy operations. So if you set your editor kit it will be call your read/write functions.
    best regards
    Stas

  • How does one easily palette swap animations without overly duplicating symbols?

    This is to be exported into a movie, so not an Actionscript question.
    I'm making a parody of a fighter-game scenario.  One character looks like Subzero and the other like Scorpion.  They're the same models but one should be colored differently.  They're comprised of symbols such as arms and legs to make a larger overall character animation.  There are several animations of them, for kicks, punches, bobbing, etc.  Now, I know that if I went in and edited the colors, that all instances would change accordingly.  Duplicating the symbol doesn't work because they share the same inner symbols.  Is there a method for "deep" duplication?  Am I going about this the wrong way?  A tint doesn't work because essentially I only want to change the color of some of the components.

    Okay.  I have managed to apply a tint to the torso which is one sub-symbol into the subzero/scorpion animation hierarchy.
    However, what should i do if I want to edit the colors of a layer that is more than one deep?  For example, if Torso is composed of say, Vest and Neck, and I only want to change the color of vest...
    Body animation > Torso > Vest?
    It would seem to me that by the previous example I'd have to make two torsos, which inevitably means I make as many duplicates for however deep I must go into the hierarchy.

  • Copy and paste item from Symbol

    hello
    in illustrator cs4, when i go into Symbol isolation mode and i try to copy an object from within said symbol, it copies everything in the symbol. is this a known issue? is there any way around it?
    i'm on mac os 10.5

    it makes no difference. i've used both. selecting text while in text edit mode does the same thing. if i have several bodies of text inside the symbol, and i go inside the symbol, then select a portion of text from a line of text, all the other bodies of text plus the vector art will be copied too. 

  • Copy actions from CS4 to CS5

    Can't find out how to copy my own default actions from CS4 to CS5. I have found something called "imported" actions in CS4 and copied those - which worked - but I have other default actions that I cannot find out to copy from CS4 to CS5.

    [email protected] wrote:
    Hi there!  Mac User ...
    How do I move/copy my old actions from the CS4 actions folder to the CS5 one?
    Where is the location of those folders on my system?
    Many thanks!
    If you have them in the standard location for CSX they will be in:
    ~/Library/Application Support/Adobe/Adobe Photoshop CSX/Presets/Actions/
    Where 'X' is 4 or 5.

Maybe you are looking for

  • Disk Utility Hard Drive Repair Shows Following Message

    Hi all I have a Lacie FW800 External HD that was mounting on my desktop though slow to access earlier this morning. I shut down and checked all FW 800 connections [some of the five connected drives have been daisy chained - 3 from the rear port and 2

  • I recently got my laptop updated and Firefox was deleted and now all my bookmarks are gone. Is there any way to get them back?

    I had over 20.000 bookmarks and I really want them back. Please tell me theres some kind of backup system. Been using Firefox as long as I can remember and I love it!

  • Lenovo vs HP vs Dell servers for Midsize companies

    I am working on a research to find the brand offering the most reliable server for midsize companies. Below are a few pain points:      1. Server downtime: either degrades performance or puts applications offline 2. Delayed projects due to system err

  • Local admin rights when Edit locally

    Hello, all! We have the same problem as in Local Admin rights to "Edit Locally" ? "The end users do not have administrator rights on their local PCs , they logon to the domain server with restricted rights. When it comes to portal, when trying to edi

  • Annoyed by Adobe Reader

    All users that i know are annoyed by the fact that adobe reader installs itself into a system and checks for updates. Even more annoying and arrogant is the fact that after each update the developers have decided that a desktop icon should be created