Embedding a SWF Movieclip gives the error: "cannot convert box_swf to flash.display.MovieClip.

Hello, I am getting a weird error on a very simple code.

I have a swf containing a clip with the Linkage name "Box". The movieclip has an animation of 30 images, still Flash Builder keeps mistake saying: this isn't a clip!

SerializableAttribute public class Main extends Sprite

{

[Embed (source = "... / assets/box.swf", symbol = "Box")] public static A_Box: Class const;

public void Main()

{

var box: MovieClip = new A_Box();

}

}

#1034: constraint type failed: cannot convert box_swf$161b93e3bc30cfa0cb18e1d734943c6f-1063626660@53720a1 to flash.display.MovieClip.

If I try to bring it as a leprechaun, it works very well (var box: Sprite = new A_Box();), but then it does not animate, because it is considered as a sprite.

I looked around 20 examples online, the code is very simple and I can't seem to find anything wrong with my code. I also rechecked 300

time and the Movieclip is correctly set up inside the Swf. (name of the link, several frames, export for actionscript Framework 1, etc.)

Then... Why does is not the only work of Sprite and MovieClip?

I'm doing something wrong or is this maybe a problem of FlashBuilder/Air13.0?

Thank you!

I opened my project again today to see if it suddenly works perfectly... Something must have been in cache because I got hurt with her for six hours yesterday, and now without changing it works immediately the bat.

I find that there are problems cache as such in FB. Sometimes the changes I have made do not appear in the project at all (including the removal of the top classes) until I restart FB. Really wish that Adobe get their act together and release a patch to fix some of the bugs all.

Tags: Flash Builder

Similar Questions

  • InDesign doesn't let me place an eps file... gives an error "cannot place this file. No filter for the requested operation. »

    InDesign doesn't let me place an eps file... gives an error "cannot place this file. No filter for the requested operation. »

    This happens with a particular .eps file or many .eps files?

    • The EPS files from Illustrator? What parameters are used when files are saved?
    • Also this happens for all files created in Illustrator EPS (even one you create brand new, with just a few text and simple work in it).
    • Where are stored the EPS files that you place in InDesign?  If there is a form of corruption of files on the hard drive? (Maybe need repair file permissions?).
    • If you work on a network: can the files when they are saved as EPS files on your hard drive?

    CARI

  • Hardware Certification - audit gives an error "cannot run processSetup for configuration: cannot run createHOMObj for configuration: no GuestOS section in the XML file.

    I tried to set the session established the IPs VMs / host / FQDN / VM names

    but each time got the error "cannot run processSetup for configuration: cannot run createHOMObj for configuration: no GuestOS section in the XML file.

    I changed the names VMS in vCenter for FQDN and it solved the problem.

  • Vista - Windows Update fails and defender gives the error code: 0 x 80080005

    Well, I downloaded Veoh Web Player and DivX player (with a driver package) almost the exact same time, so I don't know who caused the problem. (Guessing Veoh done.) I restored system which usually solves it for me and then uninstalled both programs and even if my computer is not nearly as slow as it was when they were both installed, it's always problems. Windows open frequently stops responding. As I said, the system restore only makes it better for a short time while longer I go without eating, the freezier my computer becomes. I also noticed that for about 2-3 days (after which my computer almost completely freezes and I have to startup repair) most minor cosmetic changes.

    I use Firefox, so the first change I noticed was that left side of the address bar in a small half circle in a regular square. Tiny. Then the scroll bars on all the programs I've used lost their Aero look and returned to normal, old style Windows. Eventually good menus click lose their new look, then all the start menu, and finally Windows Explorer stops working and all the windows, when not in use, become small tabs at the bottom of the screen. After that the computer hangs almost entirely.

    Each time I restart or system restore the first thing I see is a little box that says that a Windows host process has stopped working. Windows Update continually fails and Windows Defender gives the error code 0 x 80080005. What can I do? I looked for answers before coming here to help and what I read it looks like a downloaded driver can interfere with the host process, even if I uninstalled it (supposedly) all. Thank you.

    Applications, (Norton and McAfee) are known to not uninstall (or upgraded) themselves.

    1. download the Norton Removal Tool, save it to your desktop: ftp://ftp.symantec.com/public/english_us_canada/removal_tools/Norton_Removal_Tool.exe

    2. close all open applications (that is, anything with an icon on the taskbar).

    3. click right on the file saved in #1 above, and then select run as administrator to run the utility. DO TAP not your keyboard until the race ends, then restart.

    4. now to reset Windows Update by...

    How to reset the Windows Update components?
    [Access KB971058 via Internet Explorer only;] Run the difficulty in DEFAULT and AGGRESSIVE mode]
    http://support.Microsoft.com/kb/971058

    5. restart & test.

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Alpine Ski 2007 gives the error "ERROR in LOADING X 64 DRIVER. YOU FORGOT TO RESTART? »

    Alpine Ski 2007 gives the error "ERROR in LOADING X 64 DRIVER. YOU FORGOT TO RESTART? "I have restart after the installation of the program on Windows 7 for a Dell PC. The demo version has worked on this computer, but after buying the DVD, it doesn't. I tried all the switches compatibility under properties, but nothing works. Thanks for any help.

    Hello SQUARKMAN,

    I did a little research, trying to determine the compatibility with Windows 7. It doesn't seem to be compatible, since its last update compatible with Windows 2000/XP shows.

    You could try running in compatibility mode, or if you have the XP mode, you can try to run in there also determine if you have better success.

    Hope this helps

    Chris.H
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I've got an important update that I can't install it because the continuous computer give the error 80070666

    I'm the only user on my computer and so I should have all the priveliges needed to install the update, but it still gives the error =)

    1. download the Norton Removal Tool, save it to your desktop: ftp://ftp.symantec.com/public/english_us_canada/removal_tools/Norton_Removal_Tool.exe

    2. close all open applications (that is, anything with an icon on the taskbar).

    3. right click on the file that you saved in #1 above and select run as administrator to run the utility. DO TAP not your keyboard until the race ends, then restart.

    4. If the Office 2003 SP3 still fails to install, see...

    Description of the update for Office 2003 (December 9, 2008)
    [Download/install manually, if necessary & not already installed)
    http://support.Microsoft.com/kb/949074

    You can not install a service pack for Office 2003
    http://support.Microsoft.com/kb/884298

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • "" My Windows J.4 Center repair center is currently disabled but when I try to turn it on I get the error "cannot be turned on.

    original title: Security Center

    I had a virus to infect my computer but I'm to remove by doing the scans. I can't solve the problem of after-sales service. "" My Windows J.4 Center repair center is currently disabled but when I try to turn it on I get the error "cannot be turned on.

    Hello Barbaram1,

    Use the Windows key + R on the keyboard or click on start, select run.
    In the run box, type services.msc
    Click OK.

    Make sure that the Security Center service is enabled and started.
    Probably, you will need to click Start to start the service.
    The Startup Type should be automatic.  The status should be started.

    Let me know what happens. If the problem persists, it may be that there are residual questions of the malware infection.

    Councillor of State & progress.

    Maurice Naggar ~ MS - MVP

  • Whenever I try to connect to the internet, it gives the error message 651 windows 7

    Original title - windows 7 651 error

    I recently installed windows 7 and I use a broadband connection... Whenever I try to connect to the internet, it gives the error message 651 while I had no problem with this broadband connection in windows 8.1... How to fix this error, please help me...

    Hi Alexandra,.

    Please contact Microsoft Community.

    • You use a wired connection or wireless?

    Method 1: I suggest you use the resolution of the problems of the article below Internet connection and check if it helps.

    In Windows network connection issues

    https://support.Microsoft.com/en-us/KB/313242

    Method 2: Try disabling your antivirus software and then try to connect again and check if the problem persists or not.

    http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software

    Note: Run the computer without antivirus software or firewall is a potential threat to the computer; Be sure to activate security software after completing the troubleshooting steps and after identifying the problem.

    Hope this information was helpful and let us know if you need more assistance. We will be happy to help.

     

  • How to acess, Skype profile to set parameters when crash anotification come tell me that the error cannot run

    original title: Skype

    How to acess, Skype profile to set parameters when crash anotification come tell me that the error cannot run

    Hello

    The question you posted is more appropriate for support help forums Skype. I suggest you send the same on the following link for assistance:

    https://support.Skype.com/

    I hope this helps.

  • I used a password reset disk to access the Password Wizard, whenever I have propose a new password, it gives the error message

    I used a password reset disk to access the Password Wizard, whenever I have propose a new password, it gives the error message "" an error occurred while the wizard attempted to set the password for this user account". I can't pass this screen and am virtually blocked the computer phone iam trying to access. What can I do? It comes to Windowns 7 Home Premium

    This probably means that your password disk drive is not up-to-date. Here are the other options built into Windows to help you get out of this situation:

    • Restart the computer with your Windows repair CD, then use system restore to set Windows in a few days (only works if you have recently changed the password).
    • Log on to your account admin to spare, and then reset the password for your existing account (works only if you set up an alternative admin account).
    • Log in as administrator mode without failure, then reset the password for your existing account (the password is usually empty).
    • Use the password indicator (only works if an indicator was created and if it's good enough to allow you to guess the password)
    • Check your paper files (works only if you threw down the password somewhere)
  • Acrobat will not open and give the error 312.11 error message

    How can I open professional acrobat when he said: there was a problem with licensing and it gives the error message 213,11? I bought and paid for this software and using it for a few years.

    Hello

    This mainly happens when the SLStore to the C:\ProgramData\Adobe folder does not have permission to create a file. Need write access to this folder to the first launch. Please follow the steps outlined in the Article below:

    Error 213:19 | Problem is the license of this product. Acrobat X and XI

    Let me know if that solves the problem.

  • Word or Excel document does not open on Vista. Gives the error: windows cannot open c:\users... Make sure you typed the name correctly, and try him again. __

    Word or excel file does not open on gives Vista error: windows cannot open c:\users... Make sure you typed the name correctly and try again.

    Whenever I click on a word or document it opens excel excel but it gives an error message: windows cannot open c:\users... Make sure you typed the name correctly and try again.

    I can open the document that after selecting the file only in excel or word blank document by clicking on the windows logo & choose the file and click on open.

    I need immediate assistance. I tried windows service pack 2 updates, but nothing works. Can anyone help?

    Please repost your question in the Discussion of the Office group at: http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.office.misc&lang=en&cr=US where the Word and Excel experts will be more than happy to help you with your problem.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • 8600 premium print and then gives the error message that it cannot print the document that it just printed.

    It isn't really a problem, just a nuisance.

    Last week I printed several documents from PDF files and print documents.  Once printing has been completed, an error message would be displayed on my laptop that the printer cannot print the document.  I've ignored the warnings and continued, and then the printer would print the document again.  I found that if I clicked on the error message, printing in double stop.

    Since then, whenever I don't print from any program (MS Office, Firefox, Chrome, IE, etc), I still get the same message if the end of the print document.

    Just a nuisance, but if I forgot to point out the error, the doc print again without error message after the second printiing...

    I noticed that the queue, regardless of the size of the document, always freezes on the last page to print before closing.

    I turned and turn it back on and reset the connection to a static IP address for the printer wireless...

    Hello DRS1966,

    Yes, I can understand the frustration of getting an error once printed of your document. I'm glad that's not interfering with your documents but would like to try and get rid of it. Please run the HP Print and Scan Doctor- designed by HP to provide users with troubleshooting and problem-solving features needed to solve many common problems encountered with HP print and scan products related to Windows computers.

    Please let me know if it detects errors, or that it cures the problem. I'll watch for your reply.

    Thank you

  • Satellite A215-7422 - restore DVD gives the error "03-EEEE-0000" 'press 'OK' to restart.

    Hi all!

    I'm trying to restore my Toshiba A215 in the way that it comes from the factory, because I messed with it so that it is not worth of clean install myself if I want to do a clean install of Vista original.

    But for some reason when I booted from the DVD and then chose the "Restore Wizard" or what ever and then it gives me error and makes me reboot. The only things I changed from the factory are a stick 2 gig of ram, latest version of bios and updated firmware for the DVD drive.

    I'm starting to think that the firmware of the DVD drive can affect the DVD because it is not a material commonly updated. I guess right here, but that might be the problem.

    Any thoughts?

    -A_DoNuT

    Hmm... Do you have you have downloaded and used the firmware and the BIOS from the Toshiba page we?
    Satellite A215-7422 belongs to the American TV series and therefore you must use the drivers from the Toshiba driver page we.

    Have you tried to install the OS by using the original CD of Microsoft Windows?

    This allows to know if this problem could be linked to the issue of CD/DVD drive (firmware) or corrupted RAM modules.

    According to your post above, the new RAM 2 GB module has been inserted.
    Perhaps you should withdraw and should try to install the operating system using the original modules were installed in the laptop from the beginning.

    Check it out

  • Continue to receive the error - cannot download episodes of your workflow

    Hello

    I'm using feed burner to add to create RSS feeds to add my

    ITunes podcast.

    But, when I add this feed - http://feeds.feedburner.com/wordpress/ueef

    I get the error message - unable to download episodes of your workflow.

    I want to connect Itunes to thisblog - where I'll post my future podcasts. At the moment I have a test post with a link to the

    file (which is hosted on an account of google reader with permissions to be available for anyone who wishes to

    Download or listen.

    I'm new pod casting and not really sure that I can do to solve this problem.

    Will be grateful for any assistance.

    Thanks in advance.

    There is no file at the URL you give to your Feedburner feed.

    The blog that link you has a link of RSS, but there is no media files. The episode on the blog page has a link to a media file to Google Reader, but it does not play and also the URL has no extension (for example, .mp3) so he won't have a podcast.

    Google Drive caused a lot of problems, and the indications are that he is not a suitable place to host a podcast.

    WordPress will build a podcast for you, but you must provide the URL of file media that are a direct link to the file, the extension and play in a browser, rather than forcing a download. I can't advise on the specific features of Wordpress, but they have a help page at https://en.support.wordpress.com/audio/podcasting/

    You can also find it useful to consult my page 'help you get started' on podcasting at http://wilmut.uk/pc

Maybe you are looking for

  • XP installs not on Satellite A300 PSAGCA with the AHCI enabled

    Hello... I hope someone can help, As the owner of a Toshiba product and having to rebuild the .inf for the HD one audio file couple of years ago, I was invited devours advice here for my problems with XP facilities with several friends who have decid

  • How to uninstall a program with viruses

    Hello I bought a laptop 15-n228us Pavilion with Windows 8.1 in April. Several weeks ago, I searched for Microsoft Photo Editor, I've included in the Start Menu, somehow, I was guided to a site for free download. To make a long story short, I accident

  • Desktop icons and lack of startmenu

    Something happened after my last reboot... and now my office just has an image quite fall, NO start menu, NO desktop icons, nothing.  It's like my current wallpaper covered (or hidden in some way) on my screen.  The last thing I did was to change my

  • in excel,.

    a number in the 1 cell is less than 5 to another number in another cell, what formula should I use

  • Wireless 800 keyboard some keys don't type symbol

    I just installed 800 wireless keyboard. Some keyboard keys not typing the symbol displayed on the key. For example when I try to type the question mark when you press shift and the button with a question mark for this _. I have a problem with a numbe