You have a problem with a key. IsDown functions.

I have a character, more or less looks like a little bug. It's a game, and the goal is for him to walk through a path surrounded by lava.

Now, I have the codes for him to walk, go back and turn around.

I even had a way to make it work, now I have a problem...

I have a movieclip for him on foot and the other to walk him backup aswell (sorry if my English is bad)

It works perfectly, the movieclip to which activates.

But the movieclip for the backup does not work.

Here is the code:

onClipEvent (load) {}

speed = 5;

}

onClipEvent (enterFrame) {}

_x-= speed*Math.sin(_rotation/57.3);

FLF += speed*Math.cos(_rotation/57.3);

if (Key.isDown (Key.RIGHT)) {}

_rotation += 15;

}

if (Key.isDown (Key.LEFT)) {}

_rotation-= 15;

}

if (Key.isDown (Key.UP)) {}

this.gotoAndStop (2);

speed = 5;

} else {

speed = 0;

this.gotoAndStop (1);

}

if (Key.isDown (Key.DOWN)) {}

this.gotoAndStop (3);

speed = - 5;

}

}

When you press down, it backs up. The movieclip is going to frame three, but it is not loop the movieclip, it stops. It seems that the figure gets frozen, but still of backup.

What can I do to fix this?

your code is attached to a movieclip.  This movieclip contains an another movieclip (of your bug backwards) on its 3 frame.  If that were true, you would see your market bug back if there is no stop() in the market bug rear movieclip.

Tags: Adobe Animate

Similar Questions

  • I have a problem with the key, I aktivate Photoshop CS 6 after buying fo little years. But the drive hard ist crasht a moment the aktivate display the error. Please you can reset the key?

    I have a problem with
    the key, I have aktivate Photoshop CS 6 after buying fo little years. But the
    Drive hard ist crasht a moment the aktivate display the error. Please you can reset the
    key?

    Hi berndp3095653,

    Greetings.

    You must contact the customer as some changes to do on the backend

    Contact the customer service

    Concerning

    Rohit

  • How can you check if you have a problem with the ghost attack

    How can you check if you have a problem with the ghost attack.

    My ISP (Virgin) sent me a letter saying I could have an attack on my apps by the phantom virus.

    How is this true and what can do

    The XcodeGhost malware affects the apps, mainly Chinese, created using a red version of Xcode.  It is not a 'virus '.  (Look at the difference between computer viruses and malware).  Remove the Apple listed here and get updated with the latest versions of the App Store.

  • You have a problem with 6th place with the CAP in ythe filter in photoshop CC2015?


    Hi

    I have a problem with the number of places 6 on my Mac 2 in photoshop CC 2015: the number 6 plug won't run right... I ask a question about Adobe helpdesq phone, the creators of witch plugin work not... but no answer!

    and Digital Anarchy give tme he good answer (a big thanks to them) 6 places are sometimes a "dead spot", you need to install a trial version of antoher Plug and after cursed instead number 6 is busy and all the other plugsin run right: according to the response of Digital Anarchy

    "Ah, we've seen this bug before. We do not know why this is happening, this happens on all applications Adobe CC I think, but when some plugins are listed as the 6th plugin in the filters dropdown you get the error you see. This is purely something on side of things Adobe. It's annoying, but the only way around is to remove some plugins, so that the 6th plugin is changed it's order in the list of 5 or lower OR install another plugin (trial version would work fine) which would fall our plugins up to 7 or higher. Sorry, there is no way to change the order of the plugins either. »


    Samsam


    Hi samar.

    This is a bug experienced with Photoshop CC2015 and the engineering team working on it.

  • Microsoft sounds tell you that you have a problem with your laptop

    I get phone calls from microsoft telling me that I have problems with my laptop,

    fact microsoft rinng you.

    No, they do not, ever.  It is a long-running scam and you shouldn't believe anything, they'll tell you or let them access your computer in any mode.  Simply hang up.

  • Hi you have a problem with the final installation with adobe elements first 13

    you have a pc windows 7 home premium 64-bit OS 6 GB of Ram

    an error message appears that says

    exit code 7

    the final installation stops at 2% and then I get this message

    I think I need to download the 64-bit software

    Help, please

    Exit code: 6, Exit Code: 7 Installation errors.

    http://helpx.Adobe.com/Creative-Suite/KB/errors-exit-code-6-exit.html

    The problems with the Setup logs. CS5, CS5.5, CS6-

    http://helpx.Adobe.com/Creative-Suite/KB/troubleshoot-install-logs-CS5-CS5.html

    For more information on how to review your Setup logs

  • Hi friends... you have a problem with my system__ "locking.

    Im having a problem, my laptop guard locking after 1 minute of inactivity

    I try all my best but I did not

    Please help me... As soon as possible

    THNXX...

    What did you mean exactly by "..." locking of... " ?
    It stops?
    Display turns off?
    It goes into Sleep Mode?

    Go change your Power Options as you wish.
    Start button > Search box, type power options > press the Enter key > choose your power option by putting a point in front of one of the 3 options > click on change Plan settings > now decide when the screen turns off, when he falls asleep. Choices are 1 minute forever. > click on save changes when done
    If you return to the Power Options window, on the left side, there are other options to choose from. Determine if you want to use some of these options.

    t-4-2

  • Hi i ' v you have some problem with subscription.

    I buy two days before and pay with my credit card. Day passes and I can't use it cause it still shows buy now. What should do? Can I get refund my money necessaries and cancel?

    It's easy on Windows 7, you can simply run Fix tool, it will drop to automatically reset the hosts.

    But for 10 Windows, you must manually change.

    Follow the procedure mentioned below the link for Windows 8/8.1 [applies to Windows 10 institutions]

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

  • you have a problem with the Access screen reader

    I went to the creation, there was a developer option after clicking on the place where there is another switch called accessibility screen reader. as soon as I clicked my touchscreen phone got locked.
    I do not understand how to open it.
    Help, please

    Hello, this blog helps you recover?
    http://opendirective.net/blog/2014/05/help-i-bricked-my-Firefox-OS-1-3-device-by-enabling-the-accessibility-screen-reader/

  • Microsoft sounds him telling you that you have a problem with your laptop

    get the phone call, s Microsoft, saying: I send error reports all the time and my computor will break.

    Please advise me on this matter, regards.

    It's a scam. Do not give them any information nor allow them to connect to your computer.

    See the section watch you phone calls of phishing here.

  • I ve using Muse for quite some time now. I love. But when you use the latest version and a new website I have a problem with the FTP export function.

    I've never had this happen before? I ve used Muse for a long time now and it has always worked well.

    Download Muse ONLY php and css files when I use export to the FTP host. No html? It has never happened before.

    If I export to HTML and use my regular FTP program to transfer to the correct host folder it works fine.


    In fact, if I try to update the site of work of Muse, to load on the FTP host, Muse removes html files in the folder and the site no longer works...

    Anyone?

    Please try to check if the exported file includes all of the files, try to export again in a new folder, and then check.

    Thank you

    Sanjit

  • Pavilion 15-e070sl: problem with the key "cancelled."

    Hi guys,.

    I have some problems with the key "cancelled." It does not work for a few months. But the more serious problem is that sometimes when I double click on a file or a folder with my mouse compares the window cancellation asking me to confirm moving the file to the trash. This window disappears until I have restart the system. He thus annoyng. It seems that the key 'cancelled' suddenly to work again when I double click on something.

    I hope you find a solution

    With the availability!

    Hi @MichaelMazz ,

    Thank you for visiting the Forums HP's Support and welcome. I looked in your question about your HP Pavilion Notebook 15-e070sl and the keys does not properly.  Select an on-screen keyboard layout using this document , as this could be the problem.

    If this is not enough, try this document on troubleshooting the keyboard. You can watch the laptop marked key stuck section.

    Here is a link to uninstall the keyboard. Restart the computer after the uninstall, it must be reinstalled automatically.

    Have you tried to clean the key or use air to blow the key there could be debris in the key itself?

    I hope this helps.

    Thank you.

  • I have a problem with the HP Deskjet2545 do not print on the computer.

    Printer does not print. Computer says "printer error". Convenience store said that the problem is resolved. The printer is 'ready' doesnot even impression. What is the solution?

    Original title: hpDeskjet2545.

    Hi Matt,

    Thanks for posting your query in the Microsoft Community.

    Printers to print documents, photos, cards and calendars. You have a problem with the printer doesn't work is not on the computer. It can be difficult when something that is important to you does not work as expected. It's pretty simple and we're here to help you solve the problem. We work as a team and get this sorted out.

    Please answer these questions-

    (1) what is the exact error message?

    (2) have you tried the troubleshooting steps?

    (3) what is the version of Windows installed on the computer?

    (4) have you made changes on the computer before the show?

    I would like more information about the issue.

    Note: assuming that you are running Windows 7, I would like to suggest some troubleshooting steps.

    Method 1-

    I would have you look at the article-

    Why can I not print?

    http://Windows.Microsoft.com/en-us/Windows7/why-cant-I-print

    Solve printer problems

    http://Windows.Microsoft.com/en-us/Windows/printer-problems-in-Windows-help#fix-printer-problems=Windows-7&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

    Method 2-

    I wish that you uninstall and reinstall the printer.

    See the article-

    Install a printer

    http://Windows.Microsoft.com/en-us/Windows7/install-a-printer

    Method 3-

    I would have you go through the troubleshooting proposed by HP guide.

    Check out the link-

    http://h10025.www1.HP.com/ewfrf/wc/documentSubCategory?tmp_task=solveCategory&LC=en&DLC=en&cc=us&product=3571292

    Let us know if you need assistance regarding the issue. We will be happy to help you. We at Microsoft, strive for excellence and provide our customers with the best support.

    Thank you.

  • Incompatible program, I have a problem with my ancestry Family Tree Maker program 2012

    I have problems with my ancestry Family Tree Maker 2012 program.  I have contacted ancestry and have tried everything they suggested a fix.  Maybe they thought THAT FTM crashed in windows.  When I click on the FTM icon on my desk a message appears indicating that FTM was badly closed the last time.  He suggests to compact the file, but I can't get open FTM to do this.  The message keeps telling me that Windows has detected a problem and he'll let know me if a solution is found.  When I right click the icon FTM the menu has "inconsistent application" at the top.  When I used the resolution of Windows problems he also indicated an incompatible application.  FTM was working great for me.  Inproper closing was caused by a power failure while I was with FTM.  My computer is a lot of work and is common to the updates being FTM.

    Amy

    Hi amyandre.
     
    Welcome to the Microsoft community. According to the description of the problem, I realized that you have a problem with the delivery of the program Family Tree Maker 2012. I would ask to send us additional information as indicated below to help you better.
     
    1. what version of Windows are you using?
    2 have you made changes on the computer before this problem?
     
    If you are using Windows 7, I suggest you to try these methods and check the status of the issue.
     
    Method 1:
    Keep the computer in a clean boot and check the status of the issue. If everything works well after a clean boot, you can deduce that some third-party services are at the origin of the problem. Continue with the remaining steps to pin-point on the third party service. After find you the program that is causing the problem, you will have to perhaps to update or install a newer version of the program, if you rarely use that you should consider uninstalling the software.
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7.
    http://support.Microsoft.com/kb/929135
    Note: Please go through step 3 KB to maintain the computer to a normal startup after you resolve the issue.
     
    Method 2:
    Uninstall and reinstall the Family Tree Maker 2012.
    Uninstall or change a program.
    http://Windows.Microsoft.com/en-us/Windows7/uninstall-or-change-a-program
     
    Method 3:
    Install the   Family Tree Maker 2012 compatibility mode.
    Make older programs run in this version of Windows.
     
    If the problem persists, I suggest you to contact the program support.
     
  • I have a problem with Windows Update instalking.

    kb2756822 fails to download... kind regards

    original title: kb2756822 fails to download d

    Hi Gary,.

    Thanks for posting your query in the Microsoft Community.

    You have a problem with the installation of the updates on the computer. It can be difficult when something that is important to you does not work as expected. It's pretty simple and we're here to help you solve the problem. We work as a team and get this sorted out.

    Please answer these questions-

    (1) is limited to kb2756822 update?

    (2) what is the exact error message or error code?

    (3) have you made changes on the computer before the show?

    I would like more information about the issue.

    Method 1-

    Note: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows

    http://support.Microsoft.com/kb/322756/

    Method 1 and 2 provide for changes in the registry. Save before continuing.

    I would have you look at the article-

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058#top

    Method 2-

    I would have you look at the article-

    Solve common installation issues in Windows Update, Microsoft Update and Windows Server Update Services

    http://support.Microsoft.com/kb/906602

    You cannot install some programs or updates

    http://support.Microsoft.com/kb/822798

    Note: Make sure that get you the computer to a Normal startup after performing all the troubleshooting steps.

    Make sure that you back up the data on the computer before you continue.

    Let us know if you have other questions about Windows in the future. We will be happy to help you. We at Microsoft, strive for excellence and provide our customers with the best support.

    Thank you.

Maybe you are looking for

  • Why do I get notice to update iTunes to version I already installed

    After downloading and installing the latest version of iTunes, I keep getting notices to install the same update?

  • Animate the shadow effect

    Is there a way to animate the shadow effect? A hand coming out of the frame and hit something. Need for the shadow to be closer to the hand and then disappear farther than the sheets of hand frame.

  • I want a fax confirmation showing the first page of the fax

    When I have something fax above, I get a fax confirmation indicating that the fax was sent.  I'm looking to capture the first page of the image with this fax confirmation.  I was able to do it on my other officejet pro 8600 all in one, but now I am u

  • Cannot find my wireless

    HY, I have a laptop hp 15-q000sq and I can not find my wireless. I have dawnloaded all the drivers on the site of hp to win 7 but the victory can not find the wireless adapter. Can you help me?

  • Error starting system Acer Iconia W500

    Hello friends I have a problem, I updated my W500 with Windows 8 and Windows Update did not work after looking on the web for some answers that I found that I had to mark the C: partition as "active", I did it, but now I'm on a black screen that read