Noobie question: How do I add something to the display list from a non-main class?

I know how to use addChild() within the main class to add
something to the stage display list and have it appear on the
screen, but how do I add something to the stage display list from
code within another class?
So for example say I want to add some text (myTextField) to
the stage's display list from within NotTheMainClass' code, could
you give an example of the necessary code?

you must pass a reference to a display list object or create
one that's available to your class.
there are so many ways to do this i'm not sure how you want
to proceed. but you can create a globally available reference to
the stage and root timeline:

Similar Messages

  • How do I add Adobe to the allowed list as required by firefox?

    Instructions for Adobe Flash Player update say,
    Mozilla Firefox will not install Adobe Reader from web sites until you add them to the Allowed List. Please follow the steps below.Mozilla Firefox will not install Adobe Reader from web sites until you add them to the Allowed List. Please follow the steps below.
    1. Look for a yellow bar at the top
    The damn problem is ....
    THERE IS NO FREEKIN YELLOW BAR !
    == This happened ==
    Every time Firefox opened
    == WITH TODAYS NOTICE OF UPDATE TO FLASH AFTER INSTALLING FIREFOX 3.6.7

    I had the exact same issue .. so frustrating! Here is the solution:
    To add the site to the trusted sites list:
    1. At the top of the Firefox windowOn the menu bar, click on the ToolsFirefoxEdit menu, and select Options...Preferences....
    2. Select the Security panel.
    3. At the right of Warn me when sites try to install add-ons, click Exceptions....
    4. In the Allowed Sites - Add-ons Installation dialog, the list of permitted sites is displayed. The current site URL is inserted into the text field.
    5. To allow the site, click Allow. Then, click Close.

  • How do you add applications to the library list?

    The apps I want to write a workflow for are not in the default library list. How do I add them? Specifically, I'm talking about the xAct app. I intend to write a workflow to automate decoding FLAC compressed audio files and adding them to the iTunes library. I tried simply dragging the app into the library window but that did nothing.

    If the application has a GUI (Graphical User Interface), Apple has included methods for scripting that. Information about activating the UI Scripting, a UI Element Inspector (for figuring out what to call things), and some examples are located at http://www.apple.com/applescript/uiscripting/01.html .

  • HT4913 My itunes says my computer is not authorized...how do I add it to the authorized list??

    I cant figure out how to add my new computer to my authorized devices...please help!!

    See How to Authorize or Deauthorize iTunes | PCWorld for Windows.
    About Authorization and Deauthorization of iTunes - http://support.apple.com/kb/HT1420.

  • How can I add sites to my 'Reading List' from the desktop version?

    Kindle has this add-on to Firefox desktop version called 'Send to Kindle', where I simply hit Ctrl+K and then I would have the current webpage stored on my Kindle. Very handy when I am commuting to work without connectivity.
    How can I achieve this with my tablet and Firefox for Android's Reading List feature?

    We don't have this feature at the moment. We may add it as part of the New Sync that we are working on.

  • How to manualy add passwords in saved password list?

    Originally when I opened a new site with a password Firefox asked if I wanted to save the password and i replied "NO".
    Now, I changed my mind and I want to save that password, how do I add it to the password list manually?

    Make sure that you not run Firefox in (permanent) [[Private Browsing]] mode.
    * You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    * To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Uncheck: [ ] "Permanent Private Browsing mode"
    *Saved Password Editor: https://addons.mozilla.org/firefox/addon/saved-password-editor/

  • How do I transfer the contact list from my phone to another on my family plan

    Hello,
    I have a Samsung Rogue as the primary phone on my account. My dad also has a phone on my plan, and just upgraded to the Accolade. He wants to add my contact list to his phone. Is there a way that I can transfer my list over to his phone?
    Thanks.

    I figured, why start a new thread? 
    Question: Is there a way to get the contact list from my old intensity phone?  
    that is:
    because it went through the washing machine. ( I know!)
    the screen doesn't work, but when I plug it into the USB port, the laptop recognizes it, and the call key doesn't work properly to call out, or obviously, anything else. 
    is there any way to get the contacts from the phone into the verizon backup assistant, or is there any other way? like taking it to the store?
    thanks. 
    PS. I just got my new DroidX and would really like to have those contacts...ya know?

  • How do i add something to i cloud

    how do i add something to i cloud

    You should disable sync and change the password and the sync key to prevent more data to get synced.
    *https://support.mozilla.org/kb/ive-lost-my-phone-how-do-i-deactivate-sync
    *https://support.mozilla.org/kb/firefox-sync-troubleshooting-and-tips

  • I was downloading music on my iPod.  A message came and read " You do not have enough storage..go to settings.." Question: How do you add storage?? Where do I go on my iPod to add the storage??  Help!! JFK

    I was downloading muis on my iPod.  A message came up and read " You do not have enough storage..go to settings.."  Question:  How do I add storage?  Where do I go on my iPod to add the storage??  Help!!
    JFK

    You can't add storage to the iPod. Yo can go to Settings>General>Usage and see what is taking up a lot of storage so yoknw what to delete.
    Also maybe:
    Connect the iPod to your computer and look at the storage used by the various categories as shown in the colored bargarph in iTunes.
    Come back with the results.
    An "other" larger than about 1 1/2 GB indicates corrupted files.
    What is the Other on my iPhone and How to Remove It
    What is "Other" and What Can I Do About It?
    Next, usually restoring from backup eliminated the corrupted files. However, sometimes restoring to factory settings/new iPod is required.
    To restore from backup see:
    iOS: How to back up
    To restore to factory settings/new iPod see:
    iTunes: Restoring iOS software

  • How do i add photos to the photo array when creating a book using iphoto 8.1.2?  the book doesn't accept the albums and foldlers i drag and drop.

    how do i add photos to the photo array when creating a book using iphoto 8.1.2?  the book doesn't accept the albums and foldlers i drag and drop.

    I'd suggest you ask this question in the iPhoto forums:
    iPhoto
    Posting here is unnecessarily limiting the people who'll see your question to those running iMacs.
    Regards.

  • How to again add workflow to workflow completed list item?

    Hi All,
    How to again add workflow to workflow completed list item?Thanks!

    Hi,
    According to your description,my understanding is you want to add a new workflow to the completed list item.
    a) If yes, then you need to follow the same process attaching the workflow to the list/library and while deploying the workflow you should  select  the option "Allow this workflow to be manually started.......".
    Go to the workflow completed list item  and start the workflow which was created newly in the above step.
    b) If your query is want to restart the same workflow for completed list item then,
    You need to go to the workflow completed list item-->workflows-->start/click on  the workflow again.
    To do this, you might have selected the option "Allow this workflow to be manually started......." while attaching the workflow to the list.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ******************************************************************************************
    s p kumar

  • HT4437 how may I add files to time capsule apart from backup files?

    how may I add files to time capsule apart from backup files?
    I'm able to perform backup (time machine). May I add pictures, texts, movies...?
    Thanks

    not sure if this is a spc. appletv question or if you posted it in the wrong forum but there is no way
    for an appletv to access files directly from an time capsule it can only! access a shared lib from itunes from a computer running and running itunes

  • How can i add artists to my updates list

    how can i add artists to my updates list at itunes store?

    Hi Yubbi45,
    Unfortunately there are some webpages which Reader Mode won't work with. If Reader Mode isn't compatible with a webpage you won't see the book icon won't appear in your URL bar, but you can try to force it by adding "about:reader?url=" at the start of the URL. For example:
    about:reader?url=http://www.bbc.co.uk/programmes/b04p5b36
    From here, there will be a button at the bottom-right of the screen that will add an item to your reading list.
    If this doesn't work for you, it might be worth trying bookmarks. You can [[Bookmark Tags - Categorize bookmarks to make them easy to find|use bookmark tags]] to organise the bookmarks you want to read and keep them separate from the rest of your bookmarks. For example, I often bookmark articles and tag them "to read" if I know I'll want to come back to them later.
    Bookmarks have the added advantage of being [[How do I set up Firefox Sync?|synchronised with Firefox Sync]]. So if you use Sync, you could bookmark something to read on your tablet, and finish reading it when you're at your PC.
    I hope this helps,
    Jayelbe

  • I have an apple TV Model A1427 and do not have an icon for youtube. How can I add youtube to the home page?

    I have an apple TV Model A1427 and do not have an icon for youtube. How can I add youtube to the home page?

    Have icon but cannot connect - Please Help.
    Mine is Gen. 2 - Model MC572C/A. I have the YouTube icon but cannot access YouTube.  Message says "No content was found - There is a problem communicating with YouTube. Try again later."  This problem has been for at least 1 month now.  Any ideas?

  • HT4059 how can i add books to the library on my iphone 4s

    How can I add books to the library on my 4s?

    If the photos that you are wanting to delete are also in your Camera Roll then you can delete them from the camera roll

Maybe you are looking for

  • Mod_jk thread problem

    I have an apache server connected to tomcat via ajp13. In the tomcats catalina.out file it keeps creating new ajp13 background threads up to its configured limit, and never releases them. When it reaches its limit, you get this error:- Ajp13Connector

  • How to design the session window like yahoo messenger by using  Midlet

    Hai all, I want to design the session window using midlet, like what we have in yahoo messenger. In yahoo messenger we can add picture to the message, but in Midlet application how to create the images and how to attch with the message. Please, can a

  • Javascript and html menu to be used with ADF/JSF using JDeveloper

    I have a menu for a webpage that was originally built using html and javascript. I need to convert it to be used with JSF and ADF. In the html, the menu items used an unordered list inside of a div tag. It looks something like this: <!--<div id="shad

  • HIde table field in maintenance view

    HI , i have table with 5 column and i want to create new maintenance view  but hide one of the field for maintenance , i need to deliver this table to prod so i need to keep the changes on transport . i don't want to do it via code since when i regen

  • HELP: I just updated my dad's iphone 3G with the 4.2.1 OS AND ALL THE CONTACTS AND MESSAGES ARE GONE

    Guys, is there anyone that can help? Doesn't iTunes conduct  backup of the iPhone's contents before syncing? I can't even find the back up file, and I can't locate any extractor! I'm using Windows Vista, and even importing the sim cards contacts come