HELP!!!! Duplicate Object

Hi all,
I have been working on an animation where an object is
supposed to vibrate and rotate on itself within a specific area of
my stage. I have been successful in having the object vibrate,
rotate and start at the specified location. What I am having
trouble with, is creating about 60 instances of the same object to
move in the area I specified. All I get instead, is the one object
to vibrate about and rotate. I am using AS2 and the following is
the code I have attached to the "particle_mc".
onClipEvent (enterFrame) {
this._rotation = (this._rotation + (3))%360;
onClipEvent (enterFrame) {
width = 330; // area where animation should be segregated
into
height = 380;
this._x = 577 //Math.round(Math.random()*width);
this._y = 347; //Math.round(Math.random()*height);
cx = this._x;
cy = this._y;
onClipEvent (enterFrame) {
this._x = cx+(Math.random()*7);
this._y = cy+(Math.random()*7);
Also in Frame 1 I put this code
i = 0;
while (i<60) {
//duplicateMovieClip("particle_mc"+i, i);
particle_mc.duplicateMovieClip("particle_mc"+i, i);
i++;
hoping to get multiple instances of the object, but no
success!
Any HELP would be greatly appreciated
Brutium

you are getting multiple instances. they're just going to be
overlying each other.
p.s. there's no need for 3 enterFrame loops. one will
work.

Similar Messages

  • Getting Duplicate Object existing issue while deploying the BIAR file

    Hi All,
    We are trying to deploy BIAR File with XI R2 Command tool InstallEntSdkWrapper. But we are getting Duplicate Object exixting issue while deploying the BIAR file.
    Error Message:
    [report] [InstallEntSdkWrapper.main] Connecting to CMS plmdevapp31:6400 as administrator
       [report] [InstallEntSdkWrapper.CmsImportFile] Exception: An error occurred at the server :
       [report] Failed to commit objects to server : Duplicate object name in the same folder.
       [report]
       [report] [InstallEntSdkWrapper.main] BIAR File could not be imported
    If we are doing any promition with Import Wizard we have an option to "Overwrite object contents" option to overwite exixting objects. It will very helpful if any one suggest how we can achieve this through InstallEntSdkWrapper.
    Unfortunately there is no documentation availabe on InstallEntSdkWrapper.
    Cheers!

    That's a limitation with the XI Release 2 InstallEntSdkWrapper.jar tool.
    Sincerely,
    Ted Ueda

  • Duplicate objects for gallery

    I have tried a couple of times to duplicate objects, in
    different ways, so I can later put image into the objects. The
    problem is that it works in Flash but when i try it out in my
    browser or my friends browser it wount work at all.
    So if there is one out there that can explain this or can
    point me into right directions it would be alot of help.
    Kind Regards
    Mario

    Hi Michael,
    Not really, as Coherence only compares keys for equality, not the values, when deciding where to store the objects.
    What you could do however, is something along the lines of what I described in the previous post -- you could introduce an intermediary pointer/reference object that would only contain an id of your true value object:
    public class MyObjectReference implements Serializable {
    private static final NamedCache myObjectCache = CacheFactory.getCache("myObjectCache");
    private Object id;
    public MyObjectReference(Object id) {
    this.id = id;
    public Object getId() {
    return id;
    public MyObject getValue() {
    return myObjectCache.get(id);
    Then your code would become similar to this:
    NamedCache myRefCache = CacheFactory.getCache("myReferenceCache");
    NamedCache myObjectCache = CacheFactory.getCache("myObjectCache");
    MyObject myObj = ...
    myObjectCache.put(myObjId, myObj);
    myRefCache.put(1, new MyObjectReference(myObjId));
    myRefCache.put(2, new MyObjectReference(myObjId));
    myRefCache.put(3, new MyObjectReference(myObjId));
    Assuming your object is much bigger than its key/identifier, this approach could save you a lot of space in the cluster, as each reference object is very small, while still allowing you to access your value object using different keys and dereferencing:
    MyObject myObj = ((MyObjectReference) myRefCache.get(1)).getValue();
    You could replace key 1 with 2 or 3 above and the result would be the same.
    HTH,
    Aleks

  • Duplicate Object Name Error When Publishing Crystal Reports from BW to BOE

    Hi,
    We recently upgraded our systems (all client and server) to SP2.7 in order to solve a problem with saving Crystal Reports to BW.  Now we are experiencing a new error when trying to publish a Crystal Report from BW to BOE (either all in one step from Crystal Reports application or directly from within BW).
    Upon trying to publish a Crystal Report from BW to BOE, we get the following error:
    "An error occurred while saving and / or publishing.  The return code 1 was returned from the server.  Logon to Crystal Enterprise failed.  Unable to commit the changes to Enterprise.  Reason: Failed to commit objects to server : Duplicate object name in the same folder."
    We have repeated this issue numerous time with different reports, users and logon credentials and have verified that there are NOT any duplicate object names.
    Additionally, in some cases, the report ultimately publishes to BOE, but with the above error interruption along the way.
    Any ideas?
    Thanks,
    Josh
    Edited by: Josh Crawford on May 10, 2010 9:46 AM

    Ingo,
    Apologies for the delayed response.  We've spent a few days poking around with this issue, and had even opened a customer message for it (13641).
    In the end, it seems that the problem was somehow associated with the "Prepare this report for translation." flag in the "Save to BW Options" dialog box of Crystal Reports.  If we try to Save & Publish with the Translation flag selected, we get the duplicate entry error.  If we Save & Publish without the Translation flag selected, everything is fine.
    There are still some details we need to look into, but for the time being it looks like we don't have an issue anymore(assuming we ever did) as we're not concerned with Translation capabilities.
    If we come across the problem again, I'll post again.
    Thanks,
    Josh

  • There was an error while writing data back to the server: Failed to commit objects to server : Duplicate object name in the same folder.

    Post Author: dmface15
    CA Forum: Administration
    I am working in a new enviorment and i am trying to save a report to the Crystal Server via the CMC. I am uploading the report from the objects tab and attempting to save to a folder. The report has 1 static defined parameter and that's it. When i click submit to save the report i receive the following error message: "There was an error while writing data back to the server: Failed to commit objects to server : Duplicate object name in the same folder." There is not a anothe report within the folder with that name. What could be causing this error message and equally important, what is the solution.

    hte message you received about duplicate user probably means something hadn't fully updated yet. Once it did then it worked...
    Regards,
    Tim

  • Guidelines to help center objects and text in pages

    Where are the guidelines to help centre objects and text in the new pages?

    well YMMV.  https://discussions.apple.com/thread/5472111?tstart=0
    You have to do it manually.  Also can be in the accomplished in the right hand column Format>Select your image>Arrange

  • Duplicate object into multiple selected frame

    I’m looking for a script that will duplicate the selected object or the content of the clipboard into multiple selected layers inside a document.
    I have not find any discussions around this, but I’m asking if anyone have already seen such script.
    Thanks
    Jean-Claude

    Jean-Claude try the following one:
    1. Should work with a single object, multiple objects, group
    2. Should alert a warning, if you select nothing or select some text
    3. Will not honor, if layers are hidden or locked
    Does it work for you?
    // duplicate on different layers _b02
    // by Kai Rübsamen, credits to Hans Haesler
    // vorbeugenderweise das Anzeigen von Dialogen aktivieren
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
    // prüfen, ob ein Dokument geöffnet ist
    if ( app.documents.length == 0 ) {
        alert ( "Warning\rOpen a document!" );
        exit();
    // die Auswahl speichern ...
    var allSel = app.selection;
    var nItems = allSel.length;
    // und prüfen
    if ( !nItems ) {
        alert ( "Warning\rSelect something!" );
        exit();
    if ( nItems == 1 && app.selection[0].hasOwnProperty("baseline") ) {
        alert ( "Warning\rDoes not work with text. Select only frames!" );
        exit();
    var curDoc = app.activeDocument;
    var allLayers = curDoc.layers;
    var nLayers = allLayers.length;
    // eventuell vorhandene Dialoge entfernen
    try {
        app.dialogs.everyItem().destroy();
    catch (e) {
    var layerNames = new Array();
    for ( var i = 0; i < nLayers; i++ ) {
        layerNames.push( allLayers[i].name );
    // eventuell vorhandene Dialoge entfernen
    try {
        app.dialogs.everyItem().destroy();
    catch (e) {
    // den Dialog vorbereiten ...
    var dlogCheckList = new Array();
    var aDialog = app.dialogs.add({ name: "Duplicate object to selected layers", canCancel: true });
    with ( aDialog ) {
        with ( dialogColumns.add() ) {
            with ( dialogRows.add() ) {
                staticTexts.add({ staticLabel: "active = duplicate"} );
                for ( var n = 0; n < nLayers; n++ ) {
                    with (dialogRows.add()) {
                        dlogCheckList.push( checkboxControls.add({ staticLabel: layerNames[n] }));
    // ... anzeigen und die Wahl des Anwenders anwenden
    if ( aDialog.show() == true ) {
        for ( var k = 0; k < dlogCheckList.length; k++ ) {
            var curCheckBox = dlogCheckList[k];
            if ( curCheckBox.checkedState ) {
                var curLayer = curDoc.layers.itemByName( layerNames[k] );
                for ( var i = nItems-1; i >= 0; i-- ) {
                    var curSel = allSel[i];
                    curSel.duplicate( curLayer );
        aDialog.destroy();
    else {
        aDialog.destroy();
    –Kai

  • Ability to duplicate objects in transaction tab

    I am using Solution Manager 3.2. I am building "worksteps" (sequecing transactions and programs) in to the transaction tab at the business process step level.  Currently, if I attempt to add an object (transaction or program) more that once, I get the following message "Specified key already exists."  Is there a way to allow duplicates objects to be added in the same business process step.

    Hi,
    I am afraid this is not possible without code modification. You would need to change the message to a warning instad of an error. The data storage allows to store duplicates on this tab.
    Regards
    Andreas

  • F help for objects

    Hi all,
          can any body tell to get F4 help for object attributes in table controls.
      actually i got f4 help for object using SWO_DIALOG_OBJTYPE_VAL_REQUEST.
    like this i want function module to get f4 help for attributes.

    Hello,
    Please check the roles related to the below authorization object.
    Authorization Object  
    S_WFAR_OBJ          
    Value  
    NV          
    Value  
    VBRK          
    Value  
    YP3INVOICE          
    Value  
    03          
    archiving Related role will give you access to View the billing document in PDF.
    Thank you
    Regards
    Bala

  • Wanted: Script to duplicate objects and apply colours

    Hi
    I am looking to pay someone to write a script which can duplicate objects and apply colours.
    I have a full break down of the project together with a Illustrator Action that demonstrates the functionality of the required script.
    If you are interested, please email [email protected] for full details.
    You can also send me a private message.

    big_smile wrote:
    - script which can duplicate objects and apply colours.
    - Illustrator Action that demonstrates the functionality of the required script.
    Can you post a screen shot of the resulting outcome, derived from your current action, so we can see the desired result?

  • Is there a way to link duplicate objects or artboards so that you can manipulate multiple copies simultaneously?

    Is there a way that I can link copies of an object so that I can manipulate one copy and the others will change also in real time?
    Maybe with artboards? Wondering if there's a way to make a duplicate instance of an artboard that is 'linked' so it changes when I manipulate the original. Like you can do with files and comps in Aftereffects.
    I have a really complicated set of paths that needs to be duplicated in multiple spots throughout a single composition. But I would like to be able to work on them AFTER they've already been placed, and I need each copy to be an exact match.
    any help much appreciated. thanks

    magnificent,
    In addition to what imagecollection said, for some regular repeat patterns you may (also) use Effect>Distort&Transform>Transform with Move and Copies, possibly multiple times with possibly different copy numbers (such as twice for horizontal and vertical), symbol or no symbol.

  • Problem at EPS when duplicate object w/ gradient

    Hey, check that: In Illustrator CS5 I drew a square, applied gradient, duplicate and rotate it. Then I saved as EPS (Illustrator 8) and open in Corel. There is an error as the fill (gradient) had not been duplicated and rotated along with the path of the object.
    Illustrator CS5
    EPS Illustrator 8 open at Corel
    I know i can expand gradient into steps or mesh but what puzzles me is that recently bought a file at iStockphoto whose gradient is not converted into steps or mesh and it works!
    Open the file purchased with the element gradient and repeat the same process as described above. When I open it at Corel, the gradient is duplicated and rotated.
    I thank the attention of anyone who can help me with the solution or suggestions.

    In the market I work, most people uses Corel. And as I have intent to distribute my design, I need to generate a file that is mostly compatible with other editors.
    The problem about expanding gradient into objects is that I dont like the idea of dividing the gradient into hundreds of objects. The gradient mesh uses Clipping Path while the file I bought from iStockphoto is a path (apparently) common.
    I am looking for the solution to create linear gradients compatible with other editors without having to divide the shape into pieces or use Clipping Path. As i saw it's possible, I intend to find out how

  • Duplicate objects in launchpad

    I have duplicate entries of the apps that belong to the microsoft office suite 2008 and of the apps that belong to the adobe creative suite (cs3) in my launchpad. Is it possible to delete objects in launchpad? I have only one copy of those apps on my mac and spotlight only show one entry if I conduct a search. Only launchpad shows it twice. Any solutions?
    Thanks!

    This could help, I have used it and it works great!
    http://zoltanb.co.uk/launchpadcleaner/

  • Flash IDE duplicates objects on drag

    Hi!
    I have a problem with the Flash IDE which I've been trying to solve for weeks and nothing works. I've tried disabling plug-ins, re-installing... nothing helped.
    Every time a try to move an object on the scene in the IDE it duplicates the object instead of moving it. When I click on an object and start dragging it I see a "+" icon next to the arrow instead of the "move" icon.
    Any help will be really appreciated!
    Thanks!!

    Hi fringe_fan,
    Thank you so much for posting the solution to your problem.  I just upgraded to Lion a few days ago and started experiencing the same exact issue you described in your original post.  (Alt/Option key seems like it's stuck / Duplicating objects on stage just by clicking and moving the object.)  My main problem was not being able to curve a straight line with the Arrow tool.  Instead it would create a corner point as if the Alt/Option key was being held.  After a couple of hours crazy Google searching I finally found your thread!
    I did not have AirParrot installed, but after finding out what kind of program AirParrot was, I realized I had a similar program called AirDisplay installed.  (I also found out that AirDisplay and Lion do not play well together!)  So I immediately removed AirDisplay and BAM, my Flash Professional started working again!
    Thanks again for posting your solution.  You have saved me lots of time and frustration!!
    I tried to be thorough in my post just incase someone else is using the same keywords trying to find a solution to this problem.

  • [CS4 Win] Weird 'Bug' giving overset text in duplicate object - stumped!

    Hi all,
    I am experiencing a perculiar 'bug' in InDesign CS4 (Windows).
    I have a triangular text frame rotated by 45° with a 0.2mm inset.
    This frame contains two words who's point size is just big enough to fit the text in the frame without it oversetting.
    The leading is set to 100% of the point size.
    When I duplicate the text frame either with the Duplicate command, cut 'n' paste or alt dragging, the new text frame is overset!
    I cannot find any difference between the two objects what so ever.
    If, in the original text frame, I change the text frame options inset to 0 and then back to the original 0.2 mm, I get overset!
    Scaling the original up by any amount also causes overset, as does increasing the height of the frame and then returning it to its original height.
    I have tried exporting as a snippet but the new placed text frame oversets.
    Does anyone have any idea might be causing this behaviour.
    It doesn't do it in CS3 or in CS5.
    I have included a link to an example file, you will need to have the same font (HelveticaNeueLTPro-BlkCn) to see the problem.
    I can't upload this for obvious copyright reasons - sorry.
    http://dl.dropbox.com/u/7307068/flashes.indd
    Thanks for ANY input.
    Simon Kemp.

    Hi Simon.
    My initial reaction was it might have to do with the third party plugins, but I exported to .inx to strip them out, and then NONE of the frames had both words. I also thought it might be that the the frame isn't a right triangle and the slight angles on the vertical and horizontal might be a problem, but I made a new frame with the same hypotenuse but the correct legs, and that didn't make a difference, either. (I made it by drawing a rectangular frame exactly half as high as it was wide, adding a point at the center of the top path segment with the pen, then deleted the two upper corner points).
    I have to say my conclusion is that the problem here is there really isn't enough room in the frame for both words with that inset. Adding 3% to the size of the frame (by clicking the chainlink to link changes to height and width, then typing +3% after the height [adding in the scale fields scales the type, too, so don't do it there] and pressing Enter) brings both words into view.
    Curiously, When I opened the file in CS5, the words fit without messing around. Cutting and pasting the frames with overset made both words appear. This could be due to the new way ID deals with text in non-rectangular shapes. When I opened the .inx file without the plugin information in CS5 all the text was visible in all frames. I think the only reason the text ever fit in the original CS4 file might have to do with one of the plugins, but that's pure speculation. I don't think there's any sort of bug here.

Maybe you are looking for

  • Switched Views in Site Files window [DW MX]

    I'm using DW MX (not 2004 or DW8), and somehow the Site Files window's display of Remote and Local files got switched around. Now Remote files are on the left, and Local files are on the right. Not a huge deal, but it's counterintuitive to me, and I'

  • Linking to a streaming video chapters..

    Hi all: What I am wondering if it is possible to do: I will have a quicktime file of a meeting on my server I want to put chapter markers into the quicktime file that is on my site, and then link to the chapter markers - so that viewers could click a

  • Images:  SRM-MDM vs CCM 2.0

    Hi all: In CCM 2.0, there is an 'Image' characteristic (more specifically /CCM/PICTURE#/CCM/URL) which renders the image directly for the end user.  Because it is of type 'URL', either an internally-hosted image URL can be used or even an external on

  • Updated to iOS5, now ipod says i'm in China

    I updated my ipod to iOS5, and now my ipod says I'm in Shanghai, China. I'm in the US. The time, weather, and twitter trend list are all set to Shanghai. I even tried the locate my ipod thing and it said my ipod is in China, lol. I know I can set the

  • DDNS error on WRP400 with firmware version: 2.00.26

    I have recently upgraded my WRP400 with the latest firmware (2.00.26) and found that the DDNS updating function with dyndns.org is stopped. I made tests with the previous firmwares (2.00.20 and even with the old 1.01.00) and DDNS updating works with