Why can't i get an object onto the display list!!!

hi. i have this really basic class and all it does is create a button...i have another class called main where i want to put the button on the stage...problem is it all compiles but can't get the button to display...help would be greatly appreciated. thanx
public class Main extends Sprite
public function Main()
var button1:ButtonPut = new ButtonPut();
addChild(button1)
package as_files.list
import flash.display.Sprite;
import spark.components.Button;;
public class ButtonPut extends Sprite
public function ButtonPut()
var but:Button = new Button();
but.x=100;
but.y=100;
but.width=100;
but.height=100;
addChild(but);

Here is another thread that touches this issue:
http://forums.adobe.com/thread/734266?tstart=0
A guy references this blog:
http://seeing-is-believing.blogspot.com/2007/11/flex-components-in-flash-example-with.html

Similar Messages

  • I just downloaded Firefox 6.0. The web page asked if I wanted to upgrade. What is the most recent version of Firefox and why can't I get it denoted in the propperties link? Also why is it not compatible with AVG Tool Bar?

    I just downloaded Firefox 6.0. The web page asked if I wanted to upgrade. What is the most recent version of Firefox and why can't I get it denoted in the propperties link? Also why is it not compatible with AVG Tool Bar?

    Firefox 6.0 is the current version.
    Get what denoted in what properties link.
    You can get the version number in Help -> About Firefox,
    and in '''about:support''' typed into the Location bar, and you can use JavaScript to list the user agent -- javascript:navigator.userAgent
    I'm not aware of any version of Firefox from Fx 2 on up to Fx 6 where "AVG Safe" is not a problem. Crashes aren't the only failures caused.
    * http://kb.mozillazine.org/Problematic_extensions
    * https://addons.mozilla.org/en-US/firefox/blocked/
    * https://addons.mozilla.org/en-US/firefox/blocked/i6
    * https://bugzilla.mozilla.org/show_bug.cgi?id=527135

  • Why can't I get my songs from the computer in our media player library, (ripped from a c.d., ) to sync to the iPod?

    Why can't I transfer my music on my computer, media player library, onto the iPod touch? it won't let me sync the songs.??

    One thing to consider is this ...what are the files formatted in ? If you ripped your CD's via Windows Media Player default settings , they're in 128k Windows Media Audio files . These files must be converted by iTunes before being allowed into the library .

  • Why can't I get into some games the screen goes black?

    WWhen I try to get into some games the screen goes black and other times the game disappears in the middle of a game

    Hi Matilda
    For most issues on apps that have been downloaded form the App Store, use the article below to troubleshoot it. It will have some simple restart the app and your iPad. You may also have to delete the app and download it again. 
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open
    http://support.apple.com/en-us/HT201398
    Take care,
    -Norm G. 

  • Why can I not add a server to the DNS list in Network Preferences?

    I've run namebench to find faster DNS servers, but I can't add any DNS addresses to the DNS panel in Network Preferences.  Running Yosemite on a iMac.  I'm connected wifi to my Extreme. Thanks

    Are the System Preferences unlocked? You need admin access to edit these settings, click the lock if it is closed to block the preferences with the admin username & password.
    Is the DNS entry grey? That means it is provided by the router in a 'DHCP option'. You should still be able to specify others, click the 'Advanced' button, select the DNS tab & click + to add an entry.

  • Why can't I get a SuperDrive in the UAE?

    For some reason all the shops I went to are sold out and I went online to order one from the Apple store directly and they are not even available on the entire website.
    Even when you check out with a MacBook Air you can have one as an accessory ... whats going on?

    We are fellow users here on these forums, we won't know why.
    If the 'report a problem' page won't work then you can try contacting iTunes Support via this page, but you might get a similar reply from them and not an explanation : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Why can I not get v30 to have the same layout as v26?

    In v26.0 of Firefox, I configured my menu bar ("File", "Edit", etc) to contain the following after the menu items:
    - back button
    - forward button
    - reload/stop button
    - home button
    - progress indicator
    - site rating indicator
    - address bar
    - tab-list drop down
    This kept Firefox nicely uncluttered. After upgrading to v30.0:
    - the address bar has to be below the tabs (ie it cannot be moved to the menu bar)
    - there are no forward/back buttons (they appear to be part of the address bar)
    - there does not appear to be a reload/stop button
    - there does not appear to be a progress indicator
    - there does not appear to be a site rating indicator
    This is shit. How the fuck can this be called progress???

    "You can look at the Classic Theme Restorer extension to restore some functionality that was lost with the arrival of the Australis style in Firefox 29."
    Precisely. How is "loss of functionality" progress or an upgrade? Why should I have to install an extension just to get a "reload" button? What a pile of crap. Why not have a "Use shit interface" tickbox in the Options dialogue so people can choose if they want their version of Firefox to have pants functionality?

  • Why can't I get a refund in the iTunes Store?

    I downloaded a song on iTunes yesterday by accident and only realised today, I went to the iTunes Store to get a refund on that purchase but it kept saying that it wasn't eligible for a refund. Is there anyway I can get my money back?

    We are fellow users here on these forums, we won't know why.
    If the 'report a problem' page won't work then you can try contacting iTunes Support via this page, but you might get a similar reply from them and not an explanation : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Why can't I get a key for the Office Consumer Technical Preview now?

    So.. I tried for many times to get a key for my new office 16 technical preview but failed all the times. Now the office on my PC is running out of time. So I cannot use it now. How could I get a key to let it work?

    Hi CNysl,
    This forum is for developers discusing devloping issues about
    apps for Office.
    As suggested by jackafx, I also suggest that you contact the Office team via the blog, you can send an email by following link like figure below:
    The next chapter of Office on Windows
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • TS1741 Why can't I get y apps on the iTV?

    So no games, email, etc can be viewed on the connected TV?

    If y do not have enough storage y will get an error message saying that.
    Are apps stuck in "waiting"?
    http://lifehacker.com/5948155/fix-iphone-apps-stuck-waiting-during-installation
    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Download the app on computer and sync
    - Go to Settings>General>Usage>Storage and try to delete the app there
    - Reset all settings                 
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
      - Restore to factory settings/new iOS device.                       

  • Why can't I get new apps on the AppStore

    I can't get games any more and whenever I try it shows the circle but it doesn't move or download

    If y do not have enough storage y will get an error message saying that.
    Are apps stuck in "waiting"?
    http://lifehacker.com/5948155/fix-iphone-apps-stuck-waiting-during-installation
    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Download the app on computer and sync
    - Go to Settings>General>Usage>Storage and try to delete the app there
    - Reset all settings                 
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
      - Restore to factory settings/new iOS device.                       

  • Why can't I get all my contacts onto the iCloud?

    Why can't I get all my contacts onto the iCloud?

    What I used to copy my contacts from my 1st gen iPod touch to my new 5th gen iPod touch was a piece of software called Syncios.  Just download and install Syncios (www.syncios.com), which is totally 100% FREE.  When you connect your iPad to your computer via the included cable it'll give you a Warning about you can't have iTunes running.  On the Syncios website it'll give you all of the info on how to back up your contacts.  When you connect your 5th gen iPod touch to your computer just click on the Recover button then the file name of the contact back up.  Hope this helps you and it helped me a lot.  I backed up both my contacts and notes using the same software.

  • Why can't i get overdrive audio books onto my ipod

    why can't i get overdrive audio books onto my ipod

    Some find the mobile device transfer confusing.  To load or delete a WMA or MP3 book onto an Apple mobile device do the following.
    1. For Windows versions, you must first do a security update of Windows Media Player (even though you won't be using it) using Internet Explorer at http://drmlicense.one.microsoft.com/indivsite .
    2.  Open iTunes, plug the mobile device into the computer USB port and open the Overdrive Media Console.
    3. Highlight the mobile device in the left hand menu of iTunes and insure the "Manually manage music and videos" box is checked in the Summary Tab.
    4. Highlight the book you want to transfer in the Overdrive Media Console and click the Transfer Button.   A window opens permitting you to click the boxes for parts of the book you wish to transfer.
    5. After the book has been transfered, when you click the disclosure triangle (arrow) to the left of the iPod, iPhone, or iPad in the Device section of the left hand menu of iTunes, MP3 books will show up under the Music subsection and WMA books will show up in the Books subsection.  Once the mobile device is disconnected from iTunes, MP3 books will show up in the Songs list of the mobile device and WMA books will show up in the Books list.
    6. To remove a book from a mobile device plug the device into the USB port and open iTunes. Click the disclosure triangle to the left of your iPod, iPhone, or iPad in the Device section of the left hand menu of iTunes so that you can see the device’s subcontents. For an MP3 book select the Music subsection, right click on the book and choose Delete.  For a WMA book, select the Book subsection, right click on the book and choose Delete.

  • Why can't I get my email to work on my Ipad??

    Why can't I get my email to work on my Ipad?
    I've checked everything back to my email on my computer to ensure all details are correct in trying to add the account onto the Ipad.  And yet it still won't work.
    The error that I keep getting is "One Seniors (the provider) is not responding!!
    Does anyone have any suggestions as to why it won't work?
    I have internet access and it's working.  I'm using WiFi and that's working??
    Help anyone..... It's driving me nuts....

    Best suggestion is to contact them directly for guidance.  I wasn't familiar with them, but found their contact information.  Click this link to contact them:  http://www.oneseniors.com.au/contact/

  • Why can't I get the App "Deskconnect" on my Ipad 3.  It claims to be compatible with Ipad as well as Mac and Iphone?

    Why can't I get the App "DeskConnect" on my Ipad 3.  It claims to be compatible with Ipad, Iphone and Mac.  I was able to download onto Mac and Iphone but it is not recognized for Ipad?

    I liked the idea of this app so I went looking for it and have now installed it on my Mac, iPhone and finally my iPad.
    This app, although it will run on the iPad is actually an iPhone/iPod app, as suggested above. So the only way to get it on my iPad was to search for it as an iPhone app in the App Store app on my iPad. Then it came up as an app that I could install on the iPad.

Maybe you are looking for

  • 'Find' function doesn't work on some HP documents

    For some pdf doc's I downloaded from HP, if I copy some characters from the text and then paste them into the Find box, the characters show up as hieroglyphs (mostly squares) in the Find box. And then actually executing the Find using those character

  • Transfering iPhoto to Another Computer

    I need to transfer my entire iPhoto application file to my Macbook Pro. My other computer that the iPhoto is on is a G4 Quicksilver with OS 10.3.9. I believe that this can be done using the Firewire, right? Thanks to who replies! Kevin

  • Copy and Paste clone and healing brush?

    Is it possible to copy clone stamp tool and healing brush effects from one image to another? I.e. I edit an image in Lightroom, then work on it in Photoshop CS often using clone and healing brush tool. However, if I then change the original in Lightr

  • Can't Backup my 500GB = 500GB

    OK... I've got an internal 500GB drive that's got ~400GB data on it... I have excluded everything on my system but it (so that TM says it wants to copy 401.6 GB data) won't let me use a 500GB drive (formatted 465.8 GB) because it thinks it needs 481

  • I can delete my Facebook Chat messages from my Desktop PC but I can't from my IPad.

    How do I delete Facebook  chat messages from my IPad?