Class with interface, extends Sprite, but get compile error accessing "visible"

Here is the situation:
- Class MyLoader extends Sprite implements ILoader
The class extends Sprite and works perfectly.
var _loader:DisplayObject = new MyLoader();
_loader.visible = true;
Works perfectly.
var _loader:ILoader = new MyLoader();
_loader.visible = true;
Casts a compiler error. Cannot access static property "visible" to a ILoader etc. etc.
Doesn't make much sense to me, since the class extends a Sprite anyway...
Am I missing something?
thanks
Filippo

cast _loader as a Sprite (or DisplayObject);
the flash compiler needs help remembering what's what.
var _loader:ILoader=...
Sprite(_loader).visible=true;

Similar Messages

  • When I connect to itunes with my iphone I keep getting the error -42110 but I am able to get on itunes and download a cd but it will not sync. please help

    When I connect to itunes with my iphone I keep getting the error -42110 but I am able to get on itunes and download a cd but it will not sync. please help

    http://borgdatanode42.selfhost.me/blog/index.php?#param=id_48
    try to using iTunes via remotedesktop? try without.

  • I have an iPhone with iOS 7.1.1 and am trying to update to 7.1.2, but get an error message "iTunes could not back up the iPhone becaus the backup was corrupt or not compatible with the iPhone"

    I have an iPhone with iOS 7.1.1 and am trying to update to 7.1.2, but get an error message "iTunes could not back up the iPhone because the backup was corrupt or not compatible with the iPhone"

    Assuming you are using the current version of iTunes (11,2,2), open iTunes, click "Preferences" under the leftmost entry on iTunes' menu, then choose "Devices".
    Find the iPhone's backup there, highlight it, and choose "Delete Backup".

  • Getting Compilation error when used SET or MULTISET operator on nested tabl

    Dear All,
    I am getting Compilation error when used SET or MULTISET operator on nested tables inside a procedure.
    This is working fine in other DB installations of 10g but does not work in another 10g DB.
    it says "wrong number of parameter or datatype used in SET"
    Can any one suggest what went wrong here?
    Thanks in advance.

    Can any one suggest what went wrong here?Only if you would post the query and Oracle versions on both databases.
    Besides, this forum deals with issues in Oracle product installation. So post this query in SQL PL/SQL forum for better response.

  • Using package getting compiler error

    I have a project at c:\myproject
    I have a file name as b.java in c:\myproject
    I have a sub-directory named as com\sski\ in c:\myproject
    In that subdirectory there is a file a.java (package of a.java is com.sski) which is using class b.
    I have compiled b.java successfully, But I am unable to compile a.java
    I am getting compiler error cannot resolve symbol
    Sourece of a.java is as follow package com.sski;
    //import b;
    public class  a
         public static void main(String[] args)
              b obj = new b();
              System.out.println("Inside a.java: " +obj);
    }i have even tried using import b;
    then i get error as '.' expected
    how do i successfully compile a.java, where do i place b.java.
    i dont want to put b.java inside any package.

    b.class is not being found in your classpath. If you are compiling in C:\myproject, b.class should end up in C:\myproject, since you are not putting it in a package (which, IMO, is a bad idea). This assumes that you are not using the -d <destination> command line option in the javac command line.
    To compile a.java, you need to use the -classpath command line option, as follows:
    javac -classpath C:\myproject a.java
    or
    javac -classpath . a.java (note the dot).
    � {�                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • For the 1st time I am trying to send an iPhoto by email but get an error message "combinations of username and password not recognised" I use the same details to log on to my Sky Mail (yahoo mail ) account . Any ideas?

    For the 1st time I am trying to send an iphoto by e-mail but get the error message " combination of username and password not recognised  by the server" I use Sky Mail ( yahoo mail) and input the same username and password that I access Sky Mail - have retried many times. Predictably the Sky help desk have no idea. Can anyone help please?

    I regret that you're having trouble setting up your email, corbad! You're on the right track with your incoming email address. You might also try incoming.verizon.net or incoming.yahoo.verizon.net as possible alternatives, and 995 as the port number. Please let me know how that goes!
    DionM_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • I'm trying to open a 900kb Word doc (240pages) in Pages but get this error message:  Import Warning - A table was too big. Only the first 40 columns and 1,000 rows were imported.

    I'm trying to open a 900kb Word doc (240pages) in Pages but get this error message:  Import Warning - A table was too big. Only the first 40 columns and 1,000 rows were imported.

    Julian,
    Pages simply won't support a table with that many rows. If you need that many, you must use another application.
    Perhaps the originator could use a tabbed list rather than a table. That's the only way you will be able to contain a list that long in Pages. You can do the conversion yourself if you open the Word document in LibreOffice, Copy the Table, Paste the Table into Numbers, Export the Numbers doc to CSV, and import to Pages. In Pages Find and Replace the Commas with Tabs.
    There are probably other ways, but that's what comes to mind here.
    Jerry

  • I had iTunes installed on my windows desktop computer and it suddently disappeared. I tried to reinstall it but get an error message and it won't reinstall

    I had iTunes installed on my windows desktop computer and it suddently disappeared. I tried to reinstall it but get an error message and it won't reinstall

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • My first generation AppleTV will not sync with iTunes anymore.  I get an error message that says: "The Apple TV is not responding Check that any firewall software running on this comptuter has been set to allow communication on port 3689"  firewall is off

    My first generation AppleTV will not sync with iTunes anymore.  I get an error message that says: "The Apple TV is not responding Check that any firewall software running on this comptuter has been set to allow communication on port 3689"  firewall is turned off.. Any ideas?

    Thanks Rudegar,
    I only synch and do not stream off of my 1st Gen AppleTV
    I will try with ethernet but will be a pain in the butt if i can not fix it with wifi for long term fix
    I may end up trying to do a named IP address vs DHCP for this appleTV (not sure if i can do both and do not want to remove DHCP as i have a bunch of sensors and other devices that I prefer to dynamically add to the network via DHCP vs. assign each one
    Will keep working on other fix options (factory reset, etc.)
    Thanks again

  • HT1414 Im trying to restore my Iphone 4S using Itunes but get "unknown error  -1 " Does anyone have a solution?

    Im trying to restore my Iphone 4S using Itunes but get "unknown error  -1 " Does anyone have a solution?

    Error 1 or -1
    This may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.

  • Have downloaded i Tunes 10.5.1.42 but get an error message on installation saying unable to write to CFNetwork.dll. This file is present in Program Files\Common Files\Apple\Apple Application Support which is where it should be....any ideas??

    Have downloaded i Tunes 10.5.1.42 but get an error message on installation saying unable to write to CFNetwork.dll. This file is present in Program Files\Common Files\Apple\Apple Application Support which is where it should be....any ideas??
    Is a copy of the CFNetwork file available for download if mine is corrupted?
    Thanks

    get an error message on installation saying unable to write to CFNetwork.dll. This file is present in Program Files\Common Files\Apple\Apple Application Support which is where it should be....any ideas??
    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Log error "Could not load file or assembly 'BarcodeConversion' or one of its dependencies. Access is denied. This code work fine in server 2008 but get this error in server 2012

    This code work fine in server 2008, but get this error in server 2012.  Do yo have any idea?

    Need some more info as to where this is installed and how.
    First thing to try would be to uninstall the solution and reinstall.
    Check the GAC for your assembly as well as web.config.
    If you don't see it in one of those places, something went wrong with the install and you'll need to start over.
    Brandon James SharePoint Developer/Administrator

  • I'm attempting to convert a PDF but get an error message that says " an error occurred while trying to adobe createpdf online....

    I'M ATTEMPTING TO CONVERT A PDF BUT GET AN ERROR MESSAGE THAT SAYS " AN ERROR OCCURRED WHILE TRYING TO ADOBE CREATEPDF ONLINE... IT WILL NOT LET ME CONVERT .HOW DO I SOLVE THIS PROBLEM

    Hi tonigomezgalvan,
    Does it happen with other PDF as well?
    Please let me know which Browser you are using and its version.
    Have you checked with a different browser if possible?
    Regards,
    Florence

  • HT1222 We were able to update iPhones but get an error message when trying update our iPad. Ay suggestions?

    We were able to update iPhones but get an error message when trying update our iPad. Ay suggestions?

    What iOS are you currently running?
    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.1. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
     Cheers, Tom

  • I am running InDesign CS5.5 and trying to open an In Design File but getting an error message. " Cannot open the file "PDavidLCover.indd". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file

    I am running InDesign CS5.5 and trying to open an In Design File but getting an error message. " Cannot open the file "PDavidLCover.indd". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file me be open in another application."Please help I really need to get this file open.

    Since you've shown us the folder contents it's a good bet it isn't in use (no lock file). And it doesn't look like the file is mis-named as there doesn't seem to be anything else there that would be the .indd file (but just in case, open it in TextEdit and paste the first few lines here so we can see what the file header says), so the most likely case is the file is damaged. Is that on a removable device of some sort?
    You can try the tool at Repair corrupt InDesign Adobe files on Mac OS X  or send me a link to the file by private message and I'll try the recovery tool I have for Windows.

Maybe you are looking for

  • Mac Mini Install

    Hi, I just got my new Mac Mini with the most current wireless keyboard and magic trackpad. I have the Mac Mini connected to my home theater system via HDMI. I'm "initializing" the system, and the first images that appear are the wireless keyboard and

  • HELP NEEDED Adobe Flash Player

    I needed to uninatall Adobe Flash Player  several times because it became a non-stop pop-up.  Now, I need to reinstall, and can't because the download keeps indicating that it is already installed.  No videos will play, IE no new clips,no  demos etc.

  • How to add water mark in already build report

    hi experts............ im fresher , i need to add water mark in already build report..please help me to do this....... Moderator message: please do more research before asking, show what you have done yourself when asking. Edited by: Thomas Zloch on

  • Mail sits in outbox and doesn't send

    mail sits in outbox and doesn't send

  • Merging 2 xml DOM trees

    Hi I have an xml document which has the folowing format: <RESULTS> <DATA> <ROWSET> <ROW ID=1> <A>1</A> <B>30100</B> <C>26380</C> <D>99999</D> <E>-311.78</E> </ROW> </ROWSET> </DATA> <FORMAT> <ROWSET> <ROW ID=1> <A><STYLE>1</STYLE></A> <B><STYLE>2</ST