How to count up to 8 and then start again

My problem is that I can't seem to reset the countReg to 0 var once it hits 8. any ideas?

var countReg:Number = 0;

function nextReg(event:MouseEvent): void

{

If (countReg is 9)

{

(countReg == 0);

}

countReg ++;

trace (countReg) / / it keeps only count up. unbootable after 8

}

This.next1_btn.addEventListener (MouseEvent.CLICK, nextReg);

Thank you very much

function nextReg(event:MouseEvent): void

{

countReg = (countReg + 1) %9

}

Tags: Adobe Animate

Similar Questions

  • I constantly get a message saying that my password for iCloud is incorrect and so I can't access my e-mail... I can remove the iCloud completely and then start again?

    How get more space on my camera so I can take more pictures?  I bought a 1 to extra, but I'm not sure if that's what I need... and more, I don't know how to set up anyway!  Yes, I'm an old timer here! :))

    iCloud Drive FAQ - https://support.apple.com/en-us/HT201104

    January 2016: Use iCloud drive without caching of files locally on the computer - https://discussions.apple.com/message/29707288#29707288 - ' you can disable iCloud Drive on your Mac (System Preferences > iCloud > iCloud drive > off) and access iCloud drive through your browser to iCloud.com > iCloud drive.»

    Reason for iCloud storage - Jan 2016 - https://discussions.apple.com/message/29713224#29713224

    From a post of Limnos

  • How to delete everything on computer, and then reinstall all?

    Quests? Do someone know how to delete everything on computer, and then reinstall all? Have a dvd restore cd, but it's not working.

    Receive a toshiba computer: Windows Xp Home Edition Sp2, 1, 73Ghz, 503 MB Ram. Cause there is some problems with the computer, so I have to erase everything.

    Hello

    Boot from the recovery disc using the button 'C' at the beginning.
    The laptop should begin to boot from the disc. Then simply choose the standard recovery procedure, and the restore process will start.

  • Hi, I format the computer, I would like to know how the applications that I have, if I am already registered and then downloaded again...?

    Hi, I format the computer, I would like to know how the applications that I have, if I am already registered and then downloaded again...? !@

    If you have a cloud account/subscription and then sign up before formatting.  If you have a Creative Suite software license then before you format you must disable all the different suites opening one of the applications and selecting help-> Deactivate

    The actions above will help make it easier for the reactivation of your subscription access/suite when you reinstall after format is done and your system restored.

  • How to fix "windows cannot find ' ms-windows-store: purge cache, make sure you typed the name correctly, and then try again.

    I got an error message saying "windows cannot find ' ms-windows-store: purging caches, make sure that you have typed the name correctly and then try again. I have no idea what it means. Help, please.

    Reach
    CTRL X

    Bring up the Windows powershell admin

    Type the following text
    PowerShell - ExecutionPolicy Unrestricted Add-AppxPackage - registry DisableDevelopmentMode-$Env:SystemRoot\WinStore\AppxManifest.xml

    Return to the windows store and it should re - work!

    Congratulations to Luis Cantero of this post http://answers.microsoft.com/en-us/windows/forum/windows8_1-windows_store/just-updated-to-windows-81-and-the-windows-store/c4cf204d-bd99-426c-b800-9c9125ae739c?page=2

    Enjoy

    Yahya Al - Din

  • Halo: Combat Evolved for PC works only on Windows Vista - Error Message "" unload the debugger, and then try again."

    I'm having a problem running Halo: Combat Evolved on Windows Vista. I can insert the disc and install the game without problem. The problem is that when I try to launch the game, I get error message saying "" unload the debugger, and then try again." I tried to install some of Halo patches to see if that would fix the error (for example, 1.6 and 1.7), but when I try and open the patch .exe file I get an error message telling me to go to a microsoft Web site or try to update the game manually. In addition, I tried to contact Gearbox Software to see if they could help me, all they said was to contact Microsoft.

    Does anyone have any suggestions as to why the game does not work for me and how can I make it work?

    Let me know, thanks. :)

    Hello whyohwhy42,

    I suggest that you follow the section below. This includes various possible steps to solve this problem:

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

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

  • Encarta Dictionary works do not mistake: this service could not be searched because you are not connected to the Internet. Connect, and then try again

    Original title: Encarta Dictionary (not searched)

    Encarta dictionary does not. I get the message "this service could not be searched because you are not connected to the Internet.  Connect, and then try again. "However, I am connected to the Internet.

    Hello

    1. don't you make changes to the computer until the problem occurred?

    I suggest you try the steps mentioned below and check if it helps.

    Method 1: Try to start your system in safe mode with network and check if the same problem occurs.

    http://Windows.Microsoft.com/en-us/Windows-Vista/advanced-startup-options-including-safe-mode

    Method 2: If the question does not exist in Mode safe mode then try to put your computer in a clean boot state.

    By setting your boot system minimum state helps determine if third-party applications or startup items are causing the problem.

     

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:
    http://support.Microsoft.com/kb/929135

    Note: After the boot minimum troubleshooting step, follow step 7 in the link provided to return the computer to a Normal startup mode.

    Hope this information is useful.

  • Problem ejecting USB Mass Storage Device "this device is currently in use. Close any programs or windows that might be using the device, and then try again. »

    Original title: problem ejecting USB Mass Storage Device

    When I try to eject safely my external hard drive safely I get an error with this title message telling me that "this device is currently in use. Close any programs or windows that might be using the device, and then try again. "I did it. I also tried to close all programs running on the computer and it does not help. I also tried to restart the computer, and it also does nothing. If anyone has any ideas that might be useful please let me know.

    Hi a. Cook,

    (1) how long have you been faced with this problem?

    (2) is limited to any specific USB device?

    This problem may occur if there are handles open with all the files in the USB (Universal Serial Bus) mass storage device are in use by another program.

    Method 1:

    (a) Download Process Explorer from the link below

    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653

    (b) click on search, find handle or DLL (Dynamic Link Library) in the tool menu.

    (c) type the drive letter of the USB device in the handle or DLL substring text box and press the search button.

    (d) find the process and its PID (process identifier) in the following box.

    (e) with a view to the processes of the system tree, look for the process according to the dialog box find handle or DLL.

    (f) press Ctrl + H to display the handles in the view in the lower pane.

    (g) find the file according to the drive letter and right click, choose Manage close.

    Reference:


    Problem ejecting USB mass storage device
    http://support.Microsoft.com/kb/555665

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Method 2: You can see the steps in the link below by Diana d.
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-hardware/problem-ejecting-USB-mass-storage-deviceits-in-use/fd56805c-ED8E-491F-8a2b-39ed1c988a71

    Method 3: A scanner online for any threat and try to correct

    http://OneCare.live.com/site/en-us/Center/cleanup.htm

  • "Windows Media Center cannot detect the IR control cables, which are necessary to control the set-top box. Fixing parts IR that supports the IR control cables and then try again. IR HARDWARE NOT FOUND ".

    Original title: when setting up Windows Media Center, I get the error message: "IR hardware not detected".

    I have an internal TV Tuner that has been installed by HP, when I bought recently a "computer build-your-own." (According to the control panel Device Manager, my tuner is a Win TV HVR 1290, made by Hauppauge). The computer came with Windows 7. While installing Windows Media Center, after setting up the TV Signal (on channel 3) I am able to see a video thumbnail on my computer screen. I am also able to change the channel using my remote control U-Verse (not the Windows remote control supplied with the computer). So far so good! I then hit next and get the following message: "Windows Media Center cannot detect the IR control cables, which are necessary to control the set-top box. Fixing parts IR that supports the IR control cables and then try again. IR HARDWARE NOT FOUND ".  After you receive this message, the installation procedure is completed. I called HP that support intalled the tuner. They had not the slightest idea what to do. I then called Hauppage customer (manufacturer of TV Tuner). They said that I need to plug one end of the IR Blaster cable that shipped with the computer in a slot in the back of my computer (they told me which slot). They said so to run the IR all the way cable to my cable box and the other end of the cable to my cable box of band. They said it was necessary to be able to use my Microsoft Remote to instruct the box to change channels (cable IR stuck on the box). I told her that I did not use the Microsoft Remote, I could change the channel with my U-verse remote (that I preferred to use anyway). He said that it took the cable on the band decoder in order to remove the error message and the installation of Windows Media Center. I then called U-Verse technical adapter who informed me of their set-top boxes (made by Cisco Systems) do not have the ability to receive signals IR IR Blaster cable (or any othe IR signal source). Microsoft is apparently not understand how U-Verse set-top boxes are designed to work and sells a product incompatible remote control/IR. My question is this: How do I set up Windows Media Center, in order to avoid getting the error message "IR hardware not detected" when you install Windows Media Center and just use the remote control of the U-Verse that I prefer to use in the first place. Once understand you this point, please send the information to HP, At & T U-Verse and others. Thank you.

    Ron, I have something for you!

    and for all the people who have this problem :)

    Hi, I had the time of IR not detected in Windows 7 Ultimate with a TV wonder 650 card and a box of digital adapter from Verizon for my PC... Go on the road to installation and after the Media Center channel search, choose manual configuration. Choose the aerial signal (I aso picked after this analog) l. After he sought more, he finds no channels.  Do not be afraid. Just accept it and go to the main settings page in the Mediacenter. If I remember correctly, then select TV Guide. Choose Add channel. I added the channel 3.

    Since my Verizon box has no IR for the computer, I added the channel 3 for the media Center and I change the channels with my Verizon remote. All my stations in the Verizon box go to Channel 3.

    The story here is so, for some reason any Windows detects that only my box channel signal TV and you must manually configure the media center on the air, then go to settings and add the channel you want in the guide.

    Why the guide TV control which channel you can tune is beyond me, but the scanner locks all channels, it does not detect. they must be added manually in the guide.

    My TV works and looks okay now.

    It actually works!

    the only problem is that it is not in HD

    but there is something


  • Windows Media Player will not play error of MTS files that your computer works at low memory. Quit other programs, and then try again

    I am running Windows 7, 64 bit, home premium on a Dell Studio 1558 with an ATI Mobility Radeon HD4500-5100 graphics card and an Intel Core i3. It has 4 GB of RAM.

    When I try to read files MTS using Windows Media Player I get the error message "your computer is low on memory. Quit other programs, and then try again,"even with no other programs running. Windows Media Player will play other types of video files without difficulty.

    Any suggestions as to what can be the cause of the problem and how to fix?

    TBH I'm not sure.

    All I can say is on my desk, I have not loaded a pack of codecs only support of any kind and WMP12 plays my MTS files very well. Supported by this statement in Windows Media Player 12 is also capable of playing AVCHD formats (. ) M2ts et . MTS ). [13]" from - http://en.Wikipedia.org/wiki/Windows_Media_Player and the fact that in WMP12 - "Media files (all types)" MTS has listed as an acceptable format.

    My office has an AMD/ATI HD5670, and like I said seems to play.

    1. Have you tried to run a full anti-recent virus scan? If this isn't the case, update your antivirus program and run a scan full to see if it finds problems.
    2. Then try a sfc/scannow scan to see if it detects and fixes something.
    3. Just checked, you have installed WMP12? (it should be, but just a double check).

    This type of problem (or similar) has developed before items such as http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-pictures/Windows-Media-Player-and-low-memory-issues/bb4bf226-8bd0-41A5-9eed-9be08e6d3bdb and  http://www.TomsHardware.co.UK/answers/ID-1699934/computer-running-low-memory-Windows-Media-Player.html and some people said re-register the DLL of WMP files helped. Personally, I've never needed to test or try this kind cannot confirm.

  • Error: Windows cannot find "C:\Program Files\Common Files\LogiShrd\CDDRV3\LDConfig.exe." Make sure that you type the name correctly, and then try again at the start of Windows 7.

    Original title: Windows cannot find "C:\Program Files\Common Files\LogiShrd\CDDRV3\LDConfig.exe." Make sure that you type the name correctly, and then try again.

    This error keeps showing up in when I connect to my pc. How am I able to fix this? It's really annoying. Please help me.

    Its a file/utility Logitech and nothing to do with the victory

  • BlackBerry smartphones "Blackberry App World is had problems to connect to the server Blackberry App World. "Check your network connections, and then try again.

    Whenever I try to access an application, appworld is a site of the company that send me to appworld I get this error.
    "Blackberry App World is had problems connecting to the server Blackberry App World. "Check your network connections, and then try again.

    I have loaded the bb appworld re have the latest version for my new bb bold 9900, but still the error and then lock up. Power off, and get a message that I had an unknown error.

    People have had this problem since 2010. I never had this problem with my flashlight or my 9000 "BOLD".
    Anyone know what is happening? I also have the latest OS on my 9900.

    Found a solution! Laughing out loud! How delayed. I changed my email in bb code. For example, after changing from one gmail to another account, I changed it back and baaammmm! Problem solved, but do not know why it should be a problem in the first place right?

    Good luck to you guys who do not have the possibility of returning to another email.

  • Windows update error: your PC is not connected to the internet. connect to the internet, and then try again

    Original title:

    Windows Update

    Hello

    When I open the store windows I get an error saying

    your PC is not connected to the internet. connect to the internet, and then try again

    is there an internet setting before the update of win8 or one of the applications

    Thank you

    How to solve the problems of connection with Windows Update
    http://Windows.Microsoft.com/en-us/Windows-8/how-solve-connection-problems-Windows-Update

    How to troubleshoot problems connecting to Windows Update or Microsoft Update
    http://Support2.Microsoft.com/kb/818018/en-AU

  • While trying to look for something on my computer, it gives a blank screen and then start back on the desktop

    I use a laptop HP H250 running Windows 8.0. Since yesterday whenever I search something on the machine it gives a blank screen and then start back on the desktop. An analysis of the system and the registry has verified. Can anyone help?

    Hi Courtney,

    This issue may have caused due to some missing or corrupted files in the computer. I would like to know some information about this problem so that we can help you further.

    1. have you made changes on the computer before this problem?

    2. do you get any error code or error message while starting?

    3. are you referring to the Virus scan by "system scan"?

    I would suggest trying the following methods and check if it works for you.

    Method 1:

    Run the troubleshooter of System Maintenance and check if it helps. This troubleshooting will help you find and fix common system issues on your computer.

    Follow the steps to run the Troubleshooter:

    (a) press Windows + Q together get the search option.
    (b) the type of Troubleshooting on the search option, and then select Troubleshooting.
    (c) click show all on the left side panel.
    (d) click on The Maintenance of the system and follow the instructions to run the troubleshooter.

    Method 2:

    Put the computer in a clean boot state, and check if the problem persists. This process will help you determine which third party/PPP program is causing this problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7 or Windows 8 / 8.1:
    http://support.Microsoft.com/kb/929135 
    Note: After the boot minimum troubleshooting step, see the "How to reset the computer to start as usual after a clean boot troubleshooting" section in the link provided to return the computer to a Normal startup mode.

    Please reply with the status of the issue so that we can better help you.

  • When I try and play BBC I player or the BBC radio he will play for about 30 seconds and then starts to buffer.

    Original title: download

    Just upgraded to Win.8 when I try and play BBC I player or the BBC radio he will play for about 30 seconds and then starts to put in the memory buffer, all of the ideas.

    Hi Mike,.

    This could be a problem with Internet streaming on BBC iplayer or BBC radio.

    I would like to gather some details related to the query:

    (1) is this problem specific to the reader of the BBC or BBC radio? Are you having the same problem watching videos online or listen to music online on the computer?

    (2) deal with the issue with a single channel on the radio?

    (3) how you try to use the iplayer? It uses the browser? If so, what is the Internet browser?

    If this problem is specific to the BBC radio or iplayer, you can post the query on the forum from the BBC to help:

    http://www.BBC.co.UK/iPlayer/episode/p0196ln8/The_Forum_Fragility_in_Nature/#

    Please get back to us if the issue is not specific to the BBC player and we would be happy to help you come.

Maybe you are looking for

  • Satellite L655 - Question on recovery

    https://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/bulletinDetail.jsp?soID=2737864&PF=truedid not work? Another way?

  • Printer Xerox Network is offline now

    Hi all I would ask if anyone can help me on this one, I have two printers of 3200MP xerox on the network an IP address is 10.1.3.3, and the second is 10.1.3.4 I can ping IPS and I get an answer, but I cannot print on the first and the second is alway

  • "Standby" icon is gray while closing the system

    Original title: Stanby grayed out icon Hello When closing down my office yesterday, I noticed that the 'Stand-by' icon is gray.  Don't know how this happened and as now have not been able to find a solution to the problem. Hope someone can point me i

  • Videos on Netflix and audio are not synchronized.

    Netflix, the audio performance / Visual is out of sync. Dialogue jumps in front of the film. How should I do? Original title: Netflix glitch

  • power of the function

    Hello is there an API that provides a way to calculate the power i.e. x ^ y which will return long Thanks in advance