Cannot add a child

I am trying to use a class from within another class, but I can't do the contents of the display of second class. My problem is with the line: square2.addShape (150,150)
How can I add square2 on my screen? Please let me know if this is not clear and I dwell.
Thanks for watching this!

Yes I forgot that, if I remember, Sprite cannot be used (directly) in the DisplayList object hierarchy...

Lang Ref:
Note (Sprite): Then the argument of the child to the method specified from DisplayObject, the argument type must implement the IUIComponent interface to be added as a child of a container. All Flex components implement this interface.

also this: http://userflex.wordpress.com/2008/06/12/sprite-uicomponent/

Tags: Flex

Similar Questions

  • Cannot add second child to StackPane several times

    Hello

    I have a StackPane table, which is filled with two ImageViews. First ImageView is a single image, second ImageView is the same for each StackPane:
           StackPane[] cards = new StackPane[gisView.length];
            for (int i = 0; i < cards.length; i++) {
                cards[i] = new StackPane();
                System.out.println(cards.getChildren().add(gisView[i]));
    System.out.println(cards[i].getChildren().add(topCard));
    System.out.println(cards[i].isManaged());
    System.out.println(cards[i].getChildren());
    }


    The problem is, that the second ImageView - topCard, is added only to first/last StackPane even I added it to every StackPane in cards.
    - both add() methods return true, as well as isManaged() method.
    - addAll(E...) doesn't work either even it returns true too.
    - I checked the errorProperty for every Image and there's no problem with loading the images.
    - both ImageViews do get added to StackPane inside the for loop, but there's only one ImageView in StackPane outside the for loop.

    I hope it's some trivial issue that I just can't spot.

    Edited by: user10869786 on May 24, 2012 6:10 AM

    A node can be a child of a node at a time.

  • Cannot add child account to the parental control

    No matter how many times I add my child account to watch safely from the family, it does not work. The account appears in the list of monitored accounts and has the correct options I selected via the Family Safety however website when my child connects his account said "this account is not monitored by parental control.

    I deleted the computer AND the child of the Family Safety options site. I uninstalled and reinstalled parental control over the child's laptop computer but the account is STILL without oversight and shows via the control panel in Windows 7.

    When I log on the site of Family Safety on that account child watch the monitored account as 'white' "computername" when "in white" should be the account on the laptop.

    I am a computer professional and cannot understand it. What other options do I have?

    ANSWER FOUND!

    I found the answer on a long search of these forums...

    I had this problem because the computer name was the same as the name of my child's account. I changed the name of the computer to another one of his account on the computer and I was able to successfully activate Parental controls through parental controls on the computer.

  • Try to add a page to a pages document. It worked until now but just finished page 13 with text and photos and cannot add another page, using macbook pro with El Capitan and the most recent version of the Pages.

    Try to add a page to a pages document. It worked until now but just finished page 13 with text and photos and cannot add another page, using macbook pro with El Capitan and the most recent version of the Pages.

    You have placed your beam to insert at the end of your text on page 13 and then apply Insert menu: Page Break? In the v5.6.2, Pages I just add a new page to a section of four pages to this approach.

  • How to recover bookmarks - cannot add, restore files or import even after restarting the pc and remove reinstall Firefox?

    Bookmarks have disappeared. Cannot add new bookmarks, import from another browser, open the previous bookmarks file. I tried the solutions in Help and troubleshooting without success. CCleaner doesn't work anymore when it comes to Firefox. I've used this for years with the problem. Everything else seems to work.

    Problem solved by synchronizing with my cell phone. None of the solutions in "Help" has solved the problem. CCleaner now work again.

  • Search bar does not work. Cannot add search engines.

    Search bar does not work. Cannot add search engines.


  • Cannot add new bookmarks.

    I'm using Firefox 34.0.5 and recently discovered that I can not add new bookmarks. A keyboard < Ctrl > d does nothing. If I click on the star to make a bookmark, I see the animation of the star wheel above the bookmark icon and turns blue in the process. But after the animation is completed, the star is colorless and no bookmarks appear in the "do not sort" or any other bookmarks folder.

    I have Firefox "Reset" by the option "restart with modules disabled...". "menu of aid, but has not helped. I do not use any addons "bookmark".

    My PC is running Windows 7 Pro 64 bit. He has 32 GB of memory and a 256GB SSD as drive MBR (C).

    Is there a solution to my problem?

    Hello

    Try to see this help article:

  • Ask - Ios 9.2, but cannot add an attachment (pdf file already stored in icloud)

    Ask - Ios 9.2, but cannot add attachment in the yahoo email (pdf file already stored in icloud): drive to icloud and mail are already put in place, but don't see any files in the icloud drive (pdf in adobe already saved twice in icloud). Proof of icloud already stored is because my file name is renamed «...» (2)"in view of the repeated stops.

    Save it as a separate file - don't know if you'll be able to added a PDF by email

  • Cannot add a network printer

    I have a problem with the printer! I have a network printer connected to my router via ethernet. I use the printer via wifi of two macbooks.

    I got an error 'printer not connected' and have already tried the following several times:

    • reset the router
    • restarted the printer
    • Reset my printing system
    • renamed the folder library/printers
    • reinstalled my driver of Canon software
    • fact a boot secured my MacBook, then a normal departure

    When I try to add the printer again (of course it was removed by rebooting) I don't see anything via Bonjour (in the default tab). The printer has a valid address (via DHCP) and I can ping to my macbook. I also tried to add the printer through the address IP (IPP) - it does not print.

    I get all printing stations I can find no joy... help please!

    OS X 10.11.3 • Canon MF8050 driver 10.6 • VDSL modem/router TRENDnet

    Peter

    This morning, I tried to add a printer, and - as the magic - my printer appears in the window by default. Quickly, I added, print a test page, and then other PDF via Preview. Awesome! Then I tried to print a poster with Acrobat Reader, and I'm back for the message "printer not connected" that marked the beginning of my problems a week ago. Again, I have reset the printing system, even reinstalled two versions (more recent and earlier) drivers. I can ping the printer, but cannot add via IP either.

    I searched more problems and solutions print, but in vain.

    Help, please!

  • Satellite M100-180: keys Fn does not & cannot add Kubuntu

    WINDOWS XP HOME EDITION OPERATING SYSTEM
    ATI display driver
    1 FN Key: does not work...
    2.i cannot add cuz Kubuntu (Linux OS) Display Driver(which I update it) or cuz of the Bios (which I've updated)...
    What is the solutions here? Thank you

    Hello

    1 do you want to say as a unique key FN key is defective or you cannot use the FN + F1 - F12 key combinations?
    2. you're the first person to report on this subject. Are you trying to install Linux as a second OS or what?

  • Cannot add cards: AMEX Canada blame Apple

    Hi, try to add my Amex card to pay Apple and he says repeatedly it cannot add the card now, try again later.  I called AMEX and they say that it's Apple's fault because all's fine their end.  I am connected to the Internet by Wi - Fi that works fine for everything else.

    At the beginning I was sent an authorization code, but thanks to my ISP email was taking too long to reach me so that the code didn't work.

    I have a feeling that this is why he does not accept the card now. even if this is my personal form of payment in iTunes.

    Is there a way to get the iPad Pro to go to this screen once more where I can request permission by e-mail?

    Hello

    Try the following steps:

    • Go to: settings > iCloud - at the bottom of the screen, disconnect.
    • Go to: settings > Touch ID & password - password turn off.
    • Reboot your iPad.
    • Reconnect to iCloud, turn on password and try to add your card again.

    When adding maps, follow the steps detailed here:

    Set up and use Apple pay on your iPhone or iPad - Apple Support

  • WNDAP360 / WMS5316 - cannot add AP since the firmware

    Hi we have just updated the firmware on our access points (WNDAP360) 2 and cannot add them in the WMS5316 (ProSafe 16ap)

    I tried to perform a reset, it locates the device, but the progress indicator just to 0% with the rotation of graphics. The Web page times out. Ive left it 40 minutes

    I also manually configured on the same subnet, unused IP and tried to add through discovery of intellectual property

    This seems to have happened since the updates of the firmware:

    WMS5316 is on 2.1.5

    WNDAP360 are on 3.0.4.0

    Beforehand, they were always capricious to add like its never been clear what password to use. For reference, Ive tried our internal password that the group is configured for blank password and password password for example.

    I tried adding with new IPs and also the IP existing / default

    Everything I try, I can't do these Aps to add to the group / management system. Here are the recent errors in the system log:

    7 Oct 09:50:10 LEYWMS01 user.warn: WARNING: URL 192.168.0.100/images/product_logo.gif took 182 seconds

    7 Oct 09:50:10 LEYWMS01 user.err ap_mgr_WNDAP360: error condition, empty the queue

    7 Oct 09:52:04 LEYWMS01 syslog.info - MARK-

    7 Oct 09:54:10 LEYWMS01 user.warn: WARNING: URL 192.168.0.100/images/product_logo.gif took 180 seconds

    7 Oct 09:54:10 LEYWMS01 user.err ap_mgr_WNDAP360: error condition, empty the queue

    7 Oct 09:56:04 LEYWMS01 user.err ap_mgr_WNDAP360: AP 10.2.100.171 changed the status of success<0> offline: unable to connect to the server<-3>

    7 Oct 09:56:04 LEYWMS01 user.err ap_mgr_WNDAP360: error condition, empty the queue

    7 Oct 09:57:07 LEYWMS01 user.err ap_mgr_WNDAP360: error condition, empty the queue

    7 Oct 09:58:10 LEYWMS01 user.err ap_mgr_WNDAP360: error condition, empty the queue

    7 Oct 09:58:10 LEYWMS01 user.warn: WARNING: URL 192.168.0.100/images/product_logo.gif took 180 seconds

    7 Oct 09:58:10 LEYWMS01 user.err ap_mgr_WNDAP360: error condition, empty the queue

    7 Oct 09:59:10 LEYWMS01 user.err ap_mgr_WNDAP360: AP 10.2.100.171 changed status connection: unable to connect to the server<-3> to success<0>

    7 Oct 10:02:12 LEYWMS01 user.warn: WARNING: URL 192.168.0.100/images/product_logo.gif took 182 seconds

    7 Oct 10:02:12 LEYWMS01 user.err ap_mgr_WNDAP360: error condition, empty the queue

    7 Oct 10:03:19 LEYWMS01 user.warn: WARNING: URL 10.2.100.171/index.php?page=master&menu1=Monitoring&menu2=Wireless%20Stations&menu3=Wireless%20Stations&menu4= took 17 seconds

    7 Oct 10:05:17 LEYWMS01 user.warn: WARNING: URL 10.2.100.171/index.php?page=master&menu1=Monitoring&menu2=Wireless%20Stations&menu3=Wireless%20Stations&menu4= took 19 seconds

    7 Oct 10:06:16 LEYWMS01 user.warn: WARNING: 192.168.0.100/images/product_logo.gif URL has had 184 seconds

    7 Oct 10:06:16 LEYWMS01 user.err ap_mgr_WNDAP360: error condition, empty the queue

    7 Oct 10:07:19 LEYWMS01 user.warn: WARNING: URL 10.2.100.171/index.php?page=master&menu1=Monitoring&menu2=Wireless%20Stations&menu3=Wireless%20Stations&menu4= took 23 seconds

    7 Oct 10:08 LEYWMS01 user.info: access point [ip:192.168.0.100] [model: WNDAP360] added to list managed

    7 Oct 10:09:19 LEYWMS01 user.warn: WARNING: URL 10.2.100.171/index.php?page=master&menu1=Monitoring&menu2=Wireless%20Stations&menu3=Wireless%20Stations&menu4= took 21 seconds

    7 Oct 10:10:19 LEYWMS01 user.warn: WARNING: URL 192.168.0.100/images/product_logo.gif took 183 seconds

    7 Oct 10:10:19 LEYWMS01 user.err ap_mgr_WNDAP360: error condition, empty the queue

    7 Oct 10:11:22 LEYWMS01 user.warn: WARNING: URL 10.2.100.171/index.php?page=master&menu1=Monitoring&menu2=Wireless%20Stations&menu3=Wireless%20Stations&menu4= took 23 seconds

    7 Oct 10:12:04 LEYWMS01 syslog.info - MARK-

    7 Oct 10:13:21 LEYWMS01 user.warn: WARNING: URL 10.2.100.171/index.php?page=master&menu1=Monitoring&menu2=Wireless%20Stations&menu3=Wireless%20Stations&menu4= took 21 seconds

    7 Oct 10:14:21 LEYWMS01 user.warn: WARNING: URL 192.168.0.100/images/product_logo.gif took 182 seconds

    7 Oct 10:14:21 LEYWMS01 user.err ap_mgr_WNDAP360: error condition, empty the queue

    7 Oct 10:15:20 LEYWMS01 user.warn: WARNING: URL 10.2.100.171/index.php?page=master&menu1=Monitoring&menu2=Wireless%20Stations&menu3=Wireless%20Stations&menu4= took 21 seconds

    7 Oct 10:15:50 LEYWMS01 user.err ap_mgr_WNDAP360: can not deal with CPI since Timeout:Timeout has been reached<-4>

    7 Oct 10:17:21 LEYWMS01 user.warn: WARNING: URL 10.2.100.171/index.php?page=master&menu1=Monitoring&menu2=Wireless%20Stations&menu3=Wireless%20Stations&menu4= took 22 seconds

    Now solved

    Had to manually assign an IP address in the same subnet (which had already been done), and then restart the WMS service, then try and add it again. Connection is established and the progress indicator has increased. Several times he has failed when even at 40%-60% and said the authentication has failed. However he did at least change the IP address to the new so something was working.

    I have left alone and returned to him and he said connected. It seems that the synch plant just constantly but ends by develops. Then I changed the password / group, it says failed again and finally himself developed.

    Garbage

  • Cannot add widget

    How can I remedy without a full reset? I installed the app from google and I also google widget on the home screen

    No, you cannot add the widget manually in this area.
    Try this: (one by one until appears the widget)
    (1) starting in safe mode. You have to press on and hold the Power button and when
    It says power off, hold down on it for a few seconds. Once you are in
    safe mode, tap the Recents tab and see if he's back. No matter if
    He's back, or if not, restart normally. See if you have it in the normal
    mode.
    (2) delete the cache and data from Google app and restart the phone.

  • How to ADD a child inside the childe in XML file

    I want to write the configuration file using the XML tools.

    in what I am facing problem to add a child next to the child.

    Please guide me to resilve this problem.

    Thank you

    Gilles Poirier

    Thank you

    I is a good Solution. Now, I try to add a new Tag, and once again in this new child.

    Thank you

    Gilles Poirier

  • I can't add a child to the FSS

    Hello

    I'm trying to add a child to my security account for the family, but I can't.
    I created a new account in my security software for the family, then connected to the Web site and clicking on "contact management". I don't get any ADD"" button.
    I get a message "parental control is gradually managing contacts. You can't turn on the management of contacts for this child, but you will still be able to manage the contacts for accounts that have already started. »
    Why did I get this? How can I complete my child?
    Thank you

    Hello

    We wish to inform you that the Contact management feature is no longer available in Windows Live Family Safety. For more details, please go to the link below.

    Where is the function of the safety Contact family management?

    Thank you!

Maybe you are looking for

  • How to find the name of Microsoft Account of Skype contact?

    Hello I would like to move some of my business contacts to Lync 2013 which basically supports adding Skype contacts, but he needs the Microsoft Account of this contact. How can I know the Microsoft Account a person in my Skype contacts list? I'm sure

  • Function DAQmxRegisterEveryNSamplesEvent can be used for the counter input channels

    Hi all I have a request to count the number of digital pulses. I want to know the time of impulses coming which start from 1 and an increase in later, 4 as 1, 5, 9, 13... The time interval between each pulse is not a fixed value. So I tried to use DA

  • Problem after installation of window upates

    Original title: windows 7 problems because microsoft updates this week Hello Since the latest windows updates this week, MS computer windows 7 my husband does not work correctly. Most of the time there was no internet connection, although my laptop i

  • How to read the data written to the virtual disk

    I use the following VDDK function to read the Flash disk from VMwarehttp://bigchainring.kicks-ass.NET/functions/VixDiskLib_Read.htmlBut areas of complete disc playback, including empty spaces. I need to back up only the data written to the Flash disk

  • Multi-Maison 5.1 ESXi does not.

    HelloI'm having trouble doing the work at home in my 5.1 ESXi Setup.Here is my config:vmk0 - Management Interface; 10.0.103.0.11/24vmk3 - isolated / storage interface: 192.168.0.161 (NFS storage is: 192.168.0.10)Default gateway: 10.0.103.1Now, I can'