Add the 2 containers

How can I add the same images to 2 sprites?
The code below does not give an error but only adds the image to 1 sprite

Canvas1 = new Sprite();
Canvas2 = new Sprite();


public void ClassPlayer (ccanvas1:Sprite, ccanvas2:Sprite, sheight:int) {}
...
Canvas2. AddChild (img1);
Canvas1. AddChild (img1);

in other words, you expect of duplication that does not happen. There is no good way to create a copy of the instance in AS3 (unlike in AS2). You must create another totally independent instance.

Tags: Adobe Animate

Similar Questions

  • How do I add the complication of weather

    Hi all

    I "hid" my current and retired from the weather app iPhone apps. I didn't far enough to see who would remove the app Apple Watch too. So I reinstalled the weather on iPhone, but the complication of quarter will not return. How to re - add the complication?

    Using iOS 10 and watch OS 3.

    Hello

    The following steps may help:

  • I added a few. WAV files and you want to add the artist names and album

    I added a few. Recording WAV files form a USB turntable.  How can I add the name of the artist and album in iTunes before you convert them into MP3 files to load on a player MP #?

    For all types of files you can call by clicking on the location of the name / artist, when it is selected. It should be more when you convert the.

  • Cannot add the debit card to Apple Watch

    I discovered lately that my Apple Watch does not have to pay for Apple.  I deleted the card from my iPhone 6 and added with no problems, but when I try to add the same card to my Apple Watch, it fails with the error pop up not added card - Contact your issuer of the card for more information. Add card later or try again.  I'm with Lloyd's bank, to the United Kingdom and do not understand why it seems to work on the iPhone but not the watch.

    Try to set up Apple pay on Apple Watch as described in the article configure Apple pay on your iPad, iPhone, or Apple Watch - Apple Support

  • Add the account mail on iMac

    I am trying to add a new e-mail account to mail on my iMac (OS X). It's on my own domain, so I originally choose "add another Mail account" and then add details of base (name, address, password), but display "manually add the account" or not won't give me the option of 'Create', as indicated in the instructions but just told me that it cannot validate the account.

    All thoughts

    After you have filled the 1st screen, hold down the option/ALT key while clicking on continue. Fill in the required information, then click on continue until all the screens are filled.

  • I lost my ipad I need to add the device to icloud by using the serial number. Can I do this?

    I lost my ipad I need to add the device to icloud by using the serial number. Can I do this?

    N ° you can not add it without physical access to the device.

  • Song on the part of iTunes adds the song twice

    Anyone else seeing this?

    When I share a song iTunes of logic, it adds the song twice in my iTunes library.

    In addition, even if I do not have a field of empty playlist it automatically adds a playlist of logic.

    10.11.6 OSX

    10.2.4 logic

    Something in the logical user preferences was the origin of the problem. Apple has helped my reset my preferences and all is good.

  • Phone it wants me to add the password to icloud

    Drop! I tried everything without success.

    Whenever I look at my phone he wants - me to add the password to icloud, but using an email address, I quit two years ago.

    I tried the support Apple, but after an hour on the phone without success. They promised to call back me, but never did

    < re-titled by host >

    It's okay if you always use the email address or not, you can still use it and connect your password for you.

  • How to add the custom search engine?

    Hello
    Firefox is a great browser especially for those who care about freedom and privacy. I would like to know why it is not possible to specify the custom search engine that you were able to do in the latest version of Firefox. I want to use the search engine google with https://search.disconnect.me/ which offers the possibility of anonymous research. I know that there is a plugin https://disconnect.me/search, but is not very comfortable with respect to the standard search bar. Thank you

    I read the solution proposed here https://support.mozilla.org/en-US/kb/use-search-bar-firefox-and-manage-search-engines#w_add-a-search-engine but in 36 of Firefox does not work

    TypeError message probably explains why you could not add the page of Mycroft search engine initially.

    When I search this exact error in Google, only that rolled up from July 2013:

    As long as the 'Integration of office of Unity 2.4.6' plugin is enabled I couldn't add to Firefox search engines.
    https://bugs.Launchpad.NET/Ubuntu/+source/unity-Firefox-extension/+bug/1202383

    Note: this option is not a Plugin, this is an Extension and available on the page Add-ons with other extensions.

  • How to add the Firefox search bar

    I would like to add the search bar Firefox 35.0.1 for me to change search engines. How can I do this? Thank you

    The search bar is usually by default, even if you will be able to search by other means. Drag it from the palette to customize if you need to change search engines.

  • Not able to add the email account

    Hello

    To configure my hotmail account from POP to IMAP on my MacBook Pro, it was told by the community of Microsoft that I had to remove/delete the account, and then add it again. I did and the innbox disappeared, but when I tried to add the account again, I get the message that the account already exists. I get this message, even if the account is not on the list of available accounts. I hope you can help me to sort this out for me. (FYI: the microsoft community told me I could try to put @outlook.mac at the end of the address instead of @hotmail.com and this has me a bit more, but he said the account already exists in the next step.)

    Sincerely,

    Benedikte

    1. Please make sure that you don't have two accounts with the same email address. What happens if one of them is an iCloud account.

    2. If you use iCloud Keychain, open the iCloud pane in system preferences and uncheck the keychain. You will be prompted to delete the keychain local iCloud. Confirm - the data will remain on the servers. Then re-check the box. Follow one of the procedures described in this article to support to implement the iCloud Keychain on an additional device. Test.

    If you can't disable iCloud Keychain because the box itself check again, disable it on all your other devices first, and then try again. Before you do, make sure that you can use at least one of the methods given in the related support above, article under the heading "how to configure iCloud Keychain on a new device without another device to approve of?

    3. in the menu bar of Mail, you select

    ▹ Connection Doctor window

    In the window that opens, look for an SMTP (outgoing mail) account with a name that corresponds to the account that you are trying to add. Double-click it. Another window opens, displaying the list of all outgoing mail accounts. Click the sign button less to remove the corresponding one, and then click OK.

    Try to add the email account again. If you still can not, log off or restart the computer, and then open the preferences window accounts Internet and check if the account is displayed.

  • I can't add the site to my favourites ((("Star" is not active

    I can't add the site to my favourites ((("Star" is not active. I clicked and nothing happens

    Go to the main site, or web page that ever page you want. Right-click
    a box empty page and select bookmark this Page

  • Add the date and time to a photo

    How to add the date and time to a photo or contact sheet in OS X El captain?

    KADRI

    Christiana

    You want to write the date and time in the photo?

    You need to do it in an external editor.  Photos can't.

    You can print the date and time and other legends on a Board-contact, however.  When you select a photo and then use the model of the "Contact Sheet", you can click the 'Captions' button and select the metadata to use as the legend on the contact sheet.

    To write directly to the photo, you can use the Preview.app.

    Export the photo to go to Photos and then open it in preview or install the extension of"external editors" of the App Store. Then you can open preview directly from the Panel of editing in Photos.  See this tip for user: external photo editors are here

  • 'create file user.js in profile directory' to add the user prefs to enable Mozilla Rich Text editing

    The message of ff for me, is "to protect users information, unprivileged scripts cannot invoke the commands cut, copy, and paste in the Mozilla rich text editor... to activate these features, you must change your browser preferences... "This is an online course. In discussion forums and editing my post for answers - when you slide on a sentence, then rt clk for copy/cut/paste edit options - this is when I get the message to follow the instructions to create a user.js file in my profiles. I followed the instructions to "Change preferences in Firefox" to create a user.js file (didn't have any) to add the features described and specific for this site (which is an .edu site). Since had a "user.js" file open in a text editor to create one I RT. CLK, given 3 options of text document type, choose 'doc RTF' typed then required lines of preference user, saved as .rtf, ff, closed, reopened, returned on the forums of the school, tried the same editing options, but got the same answer. After leaving completely, returning my profile the user.js file, I thought I did wasn't there. I scrolled a lot a lot of useful articles, comments etc here, but nothing specific to this type of file in the profiles? In these instructions, step 3 "open file user.js from this directory in a text editor. "If there is no user.js file, create a. That's what I have to do. Then I'll be ready for the step 4 yay! Thank you.

    As soon as you click on the selected text, the site displays a message about changing the settings of your?

    On this site, you can use the standard Windows keyboard shortcuts for cut, copy and paste: Ctrl + x, Ctrl + c, Ctrl + v?

    If so, I suggest to do this.

    Alternatively, you can the websites stops to replace the context menu showing always menu of Firefox. This can be a bit annoying on certain cases, such as Google Maps, where menu Firefox allows you to hide menu Google. When this happens, you can usually press ESC to remove the Firefox menu and use the site menu. If you want to change this, here's how:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste the context and make a pause so that the list is filtered

    (3) double-click the preference dom.event.contextmenu.enabled from true to false.

  • Can't remember password option not fails to add the site to the list of Exceptions

    In Firefox 24.0, I visit a Web site and enter the name of user and password. Popup asks me if I want to remember the password. I select never save password for this Site. I logout and log back plug-in software component. After you have entered the name of user and password, I still wonder if I want to remember password.

    Privacy tab: always use incognito mode is disabled

    Security tab: when I click on Exceptions, there is nothing displayed in the popup window

    How can I get FF to add the site to the exceptions list so that it stops to ask if I want to remember password whenever I visit your site?

    Figured it out. Seems the https sites are treated differently in the newer versions of the FF. To the left of the address in the address bar is a key. When I click the button, it asks if I want to remember the password. If I choose to never remember the password, it will then add the site to the exceptions list.

    I of course can't see anything on this new feature when I searched the support before entering my question. Is there a web page that I forgot?

Maybe you are looking for