Preloader never stop hiting when it reach the percentage I want

It s quite simple, I'm a witch preloader hits a certain function, when it comes to the percentage
but the problem is that I have to do it ALONE struck by function, and it continues to strike without a showdown

Here´s preloader:


preloader_mc.onEnterFrame = function () {}
Total = _root.getBytesTotal ();
load = _root.getBytesLoaded ();
PCT = (load/total) * 100;
PCT = Math.floor (pct);

Here´s the problem:
If (pct > = 10 and < 30 pct) {}
loadlogo01 ();
}

If (pct > = 30 and < 50 pct) {}
loadlogo02 ();
}

If (pct > = 50 and pct < 70) {}
loadlogo03 ();
}

If (pct > = 70 and pct < 90) {}
loadlogo04 ();
}

If (pct > = 90) {}
loadlogo05 ();
}

If (pct == 100) {}
_root.gotoAndStop (2);
preloader_mc.unloadMovie ();
}
}


It s Yes, basically this:

for ex:

If (pct > = 70 and pct < 90) {}
loadlogo04 ();
}

in this part of the code, the 'loadlogo04 ()'; function is supposed to just be called once, but it s calling several times each time that "pct > = 70 and pct < 90".»

I want all THE functions to be called once.

Try:

(and change your 'and' to &)

Tags: Adobe Animate

Similar Questions

  • Satellite Pro M10 suddenly stopped starting or to reach the POSITION

    Hi all, hope someone can help or advise me on what to do.
    My Pro M10 suddenly stopped starting or to reach the POSITION.
    When the switch is pressed, green light turns on and stays on and that of about it, no display and not even the rotation of the fan to the top. :(

    Funniest, it is the battery always fresh and is fine.
    As you know, this model is out of warranty now and I'm technically minded and disassembled laptops before so I don't mind open my machine.

    Just thought I would ask here first before doing so.
    Hope someone can point me in the right direction of what's wrong, have heard a rumor that the M10 with a video fault, but surely would not stop the machine POST'ing would still.

    Thank you very much
    JayZ

    Hi Jay,.

    Difficult to pin-point your problem remotely as you will understand, however, I expect the laptop either emit a series of beeps (in a type long, short of the boss) or else Flash HQ led to give some clues as to the reason for the failure of the POST.

    First I'll try to remove/replace the modules of RAM, hard disk and also the optical drive to see if it improves the situation. Otherwise, I would tend to suspect the motherboard failure.

    Kind regards

  • my iphone 5 c screen stops working when I remove the case

    my iphone 5 c screen stops working when I remove the case

    Delete this case? Please explain what you ask a little more clear.

  • MacBook pro stolen the question, 'Find my mac' still works to erase personal information if I put it before changing the icloud/itunes account password?  or is my phone app stop working when I change the password?

    MacBook pro stolen the question, 'Find my mac' app still works to erase personal information if I put it before changing the icloud/itunes account password?  or is my mac app stop working when I change the password?

    Unless you fully active 'find my Mac' BEFORE that your mac has been stolen, it can't do anything for you now. It is not active, and there is no way to make it active after the fact.

  • Trying to reinstall my Windows XP home edition and my keyboard does not work when I reached the part where I have to type my name and organization

    Original title: reinstalling Windows

    I am trying to reinstall my Windows XP home edition and when I reached the part where I have to watch myself and my organization my keyboard does not work and I can't type my name or to the next step.

    Hello

    1. did you have backed up your data before attempting to reinstall Windows?
    2. do you have other devices connected to your computer outside of the mouse and keyboard?

    If so, I suggest that you remove any external devices, then try reinstalling Windows.

  • How can I fix "Adobe creative cloud has stopped working" when I opened the DRES?

    How can I fix "Adobe creative cloud has stopped working" when I opened the DRES?Lr-error.png

    Please try the following steps.

    1. Manager of tasks opened gently and then close process and relaunch LR
    • Creative Cloud.exe
    • Adobe CEF Helper.exe
    • Service.exe Office Adobe
    • AdobeIPCBroker.exe
    • Adobe Installer.exe
    • AdobeUpdateService.exe
    • AdobeServiceInstaller.exe
    • CreativeCloud (URIHandler) .exe
    • AAM updates Notifier.exe
    • CCLibrary.exe
    • node.exe
    • CoreSync.exe

    4: If this does not work please remove Cloud Creative app.

    3. install Creative Cloud app - https://helpx.adobe.com/creative-cloud/help/install-apps.html

  • matter of record: How do I control which folder is open when I search the file I want to download or the file I want to save a file to?

    When I use internet, how can I control what file is opened when I search the file I want to download or the file I want to save a file to?  He always seems to be the last that has been opened, but I want the default on my desk.

    Perhaps the following links provided courtesy of SpiritX MS MVP will help:

    Set the Internet Explorer default download path.
    http://www.tweaklibrary.com/Software_Applications/Internet-Explorer/27/set-default-download-path-of-Internet-Explorer/10153/

    How to change the Internet Explorer default download directory
    http://www.windowsreference.com/Internet-Explorer/how-to-change-the-default-download-directory-for-Internet-Explorer/

    I hope this helps.

    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.

  • My computer guard stop and when I return the said "STOP: 0x0000007F.

    I had my HP for 4 years and never a problem, then the other day, that he said that I needed a new activation key so I rebooted with the recovery disk and which corrects this problem, now my computer guard stop and when it restarts, it asks start in safe mode, or start windows normally the error message says STOP : 0x0000007F (0x00000000, 0 x 80503130, 0x00000000, 0x00000000) help please, I have no idea whats going on!

    Hi Doc,

    I suggest you to follow the steps and check if it helps.

    Run the memory diagnostic tool and check if that helps.

    http://Windows.Microsoft.com/en-us/Windows-Vista/how-do-I-know-if-my-computer-has-a-memory-problem

    You can also check out the link below.
    http://support.Microsoft.com/kb/137539
    Note: This link is also applicable to Windows Vista.

  • fan turns off when it reaches the high RPM

    I have a pavilion dv6-6170us laptop.when I work with windows and the fan of web navigation works normally but when I start a game or the CPU usage increases and temperature increases the fan works more quickly, but after a few minutes (3-5), it turns off, then off again.this it happens a few times and then fan stops completely working.cpu temperature reached 90-95 degrees (centigrade) and I have to turn off the laptop in order to avoid the rotation of damage.after of material the laptop still Once, I get a 70 b error code that says fand does not work correctly. but after leaving for about an hour or more it starts to work normally again.and when I opened the Task Manager, I see the CPU usage is almost always 20-25%, but there is no process of this heavy.
    any suggestions?

    Abolfazl,

    I'm not an expert "fan".  I am not a fan-only diagnosis, but you may certainly a complete diagnostic on the computer system to find out what you can about the condition of the equipment.

    Recommended reading:

    Reduce the heat in the PC - c01657439

    Excerpt from the Guide:

    Step 4: Test the hardware failure

    If the problem persists after you have cleaned the vents and to move the computer into a cooler room, a piece of hardware may be damaged. Test the computer to see if any hardware, such as memory, processor or graphics hardware, have failed. Laptops more than HP and Compaq have diagnostic software to check hardware failures. For more information, see hardware failures (Windows 8) test , test material (Windows 7 and Windows Vista) failures or check your laptop using the HP health Scan (Windows XP) system .
  • Why my video clip disappears when it reaches the last frame?

    Hello

    I have a clip on the stage with the length of 600 images. I put a code in actionscript 3 "stop();)» at the end of the film. It stops when it reaches 600 frames, but it disappears from the scene. That I don't want. It should stop the animation, but will remain with last fram which has a welcome message.

    How can I do this?

    I should stay visible, so you must be beyond the last image or the movieclip somehow.  Maybe chronology that occupies your animation does not go as far as chronology.

  • This update stops downloading when it reached 18.8 MB, off 414 MB

    When it reached 18.8 MB, the time that it is supposed to take to download also started 5 minutes and then climb gradually. Now, it's 1 hour and 22 minutes. What should I do? Help, please!

    Hello seaserpentdesign,

    Thank you for using communities Support from Apple. I know having a problem updating your Mac, it's not what you expect. If I understand correctly, you are unable to complete the download of the last update. These steps can help:

    1. use 'safe mode' to start your Mac so that it performs certain checks, remove files from the cache system verifies your startup disk and attempts to fix problems if necessary directory. Sign in to your account in safe mode and try to install the update in safe mode. Then, restart your Mac normally.

    Try safe mode if your Mac does not end commissioning
    Graphics performance limited in recovery of OS X or in safe mode

    2. you can figure out if unexpected behavior like this is related to a user or by setting file trying to reproduce the problem to a different user account. This process includes the creation of a new user account by logging into it and try to update in the new user.

    How to test a question in another account on your Mac.

    See you soon!

  • How to change the scale of the Dáil by programming when its reaches the minimum or maximum

    How to change the scale range Max and min of the Dáil when her reached to max or min value. For example: my dail has a max and min scale ranging from 0-15 once my dail value reached 15 I change my max and min beach at 15-30 and 30-45 nationally and also vice versa if I reach 30 it should return to 15-30 instead of 30-45... Then I tried some methods but its not working so can someone please provide a solution.

    Thank you

    Thanks Sabri,

    Vi what you have done is really useful that I can be able to understand the concept of managing my needs. I will attach the vi for reference, as its similar to replace the function of x scroll bar in the chart based on the button. This vi is the version of LabVIEW 2015.

  • can computor seams as he doesn't stop and when I press the on switch, it goes to ablank page and I have a flashing in the upper corner hiffen

    My computer does not completely shut off.when, I press the button it lights on ablank page and a flashing light in the left corner.

    Hi John,.

    I see that the computer does not stop correctly. I'll help you with this problem.

    1. What is the brand and model of the computer?

    2. what security software is installed on the computer?

    3. have you made changes on the computer recently?

    4. are you able to shut down the computer by pressing the power button for 10 seconds?

    5. have you updated to Service Pack 2 installed?

    I suggest you to refer to this article and check if that helps.

    The problems of power: http://windows.microsoft.com/en-US/windows-vista/Troubleshoot-power-problems

    I hope this helps.

  • Error "Windows explore has stopped working" when you open the file in my documents

    Original title: opening a file in the folder my documents

    Whenever I try to open a file in my documents folder, specifically a CV that I downloaded on a construction site. I get a message that windows Explorer has stopped working?

    Hi dalintn,

    1. What is the file format of the document?

    2. are you able to open documents from other locations?

    3. did you of recent changes on the computer?

    Check if the similar problem persists when you access the document from any other location on the computer.

    Method 1

    This error message can occur if there is some system files corrupted on your computer. I suggest that you run a SFC scan, which would be a system file corrupt on the computer search and replace.

    The analysis may take some time, so be patient. Windows allows to fix corrupt or missing files it finds. If the information of the installation CD is required to fix the problem, you may be asked to insert your Windows Vista installation CD.

    For more information please visit the link below.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

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

    Method 2

    If the previous step fails then I would suggest that you do clean boot and check.

    To help resolve the error and other messages, you can start Windows Vista by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See the link below to learn more about how to clean boot.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

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

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    (a) click Start, type msconfig in the search box and press ENTER.

    (b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.

    (c) under the general tab, click the Normal startup option, and then click OK.

    (d) when you are prompted to restart the computer, click on restart.

     

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Creative Cloud disktop app has stopped opening when I click the icon on the desktop?  Help?

    Creative cloud stopped opening when I click it on the disktop?  Help?

    Hi Ben,

    Please follow the steps below and try again:

    If you are using MAC:

    1-force Quit the sub process in the same sequence as shown below from Activity Monitor: see, use the monitor activity on your Mac - Apple Support

    • Creative cloud
    • Basic timing & sync to basic support
    • CC library & process CCX
    • Adobe Common Desktop
    • Adobe update daemon
    • After that, everything that said adobe on it do a force quit for her

    2 - CUT any installed security software with firewall system.

    3 - raise the cloud creative app and connect

    If you use the WINDOW:

    1 complete the process / Task Manager tasks in the same order, as mentioned below the Manager tasks. See, Open the Task Manager

    • Creative cloud
    • Basic timing & sync to basic support
    • CC library & process CCX
    • Adobe Common Desktop
    • Adobe update daemon
    • After that, everything that said adobe on it do a force quit for her

    2 - CUT any installed security software with firewall system.

    3 - raise the cloud creative app and connect

    Let us know if that helps.

    Kind regards

    Sandrine Bani

Maybe you are looking for

  • Piano MIDI pedals on logic pro problems

    the pedals of my piano yamaha arius, the right and the middle ones, produce a sound when connected to logic pro X. I can't pass that off, and it drives me crazy because I can not play with pedals, which sounds terrible depends on music. The right ped

  • Spectrum xt Touchsmart 4000th 15: laptop back to factory State: clean install Windows 10?

    Tried to upgrade from 8.1 to win to win 10 via Windows Update and got BSOD/reboot cycle with error on page iastorav.sys. Envoy for HP laptop and it has been recreated to win 8.0 State of origin to the 2 years ago. The best way to proceed from here? 

  • HP Pavilion 502 to slow down.

    Hello world I have a HP Pavilion 502 and it's slow. Memory has been upgraded to at least 256 MB and everything works it is MS Office, software, Verizon, Firefox, HP all-in-one, KMP Player, Teamviewer, iTunes and just removed the old anti-virus progra

  • Change the error message by default printer 'Operation could be completed (error x 00000709).

    Original title: arthcua I'm changing my printer canon pixma canon pixma mp287 2700 tp fr..  I have already install the power driver of the company.  test print, scan succesfull. I'm now chanding pixma mp287 but unluckly that he will not change the de

  • Container with rounded corners

    Hello, I have just a container with black background color. I want to set its borders, round. How can I do? Any help? Thank you.