If the else statement does not work... worked in AS2?

Hello

have a very common function that I use in educational quiz itself noted the user according to their score (from answering multiple choice questions). So I put in place a variable called score without problem... but when I apply my confidence "if else"heuristic of AS2... I have all these errors and my flash file does not work. "

Is there a better way to code that I'm not aware of?

Stop();

If (score < = 5) {}
endMsg.gotoAndStop ("score1");
} Else if (score > 6 and score < = 11) {}
endMsg.gotoAndStop ("score2");
} else {}
endMsg.gotoAndStop ("score3");
}

feedback video called "endMsg" - according to the function, navigates user to label that provides feedback.

Any help would be awesome... coz this feature used to work! It doesn't work even in Flash CS4 when I retrograde Panel actionScript to version 2 to test!

I missed using try IT...

} Else if (score > = 6 & score)<=>

I know they used to support the use of words for or, but never made a practice of it, so I can't say if they do not support in AS3.  In addition, as long as there will be a score of 5.5, you should be fine.

Tags: Adobe Animate

Similar Questions

  • So then the Else statement does not not under calculation in APEX

    Hello

    Can someone help me where I'm wrong? I try to use the following code in the calculation process on submit. I'm not able to get the value. It shows nothing.

    *

    Point calculation

    Top

    *

    Source

    Top

    *

    BEGIN

    IF: P3_AGING_DAYS < = '0' THEN

    : P3_AGING_BUCKET: = 'to breast due date';

    elsif: P3_AGING_DAYS > AND '0': P3_AGING_DAYS < = "3" then

    : P3_AGING_BUCKET: = 'within 3 days.

    end if;

    end;

    1efb2968-171D-43f9-9d5d-d38151735ed7 wrote:

    Please update your forum profile with a real handle instead of '1efb2968-171d-43f9-9d5d-d38151735ed7 '.

    Can someone help me where I'm wrong? I try to use the following code in the calculation process on submit. I'm not able to get the value. It shows nothing.

    BEGIN

    IF: P3_AGING_DAYS<= '0'="">

    : P3_AGING_BUCKET: = 'to breast due date';

    elsif: P3_AGING_DAYS > AND '0': P3_AGING_DAYS<= '3'="">

    : P3_AGING_BUCKET: = 'within 3 days.

    end if;

    end;

    A calculation of body of the PL/SQL function must return a value, rather than to assign to an element in the PL/SQL block (APEX turns the block in the body of a function). The element for which the value should be calculated is specified in the properties of computation (P3_AGING_BUCKET).

    begin
      return case
               when :p3_aging_days < 1
               then
                 'Within due date'
               when :p3_aging_days between 1 and 3
               then
                 'Within 3 days'
             end;
    end;
    
  • my browser cannot open google and facebook and other https sites that it does not open even the app store does not work, I tried to change my DNS google DNS and disable IPv6 but still no use, help PLZ!

    my browser cannot open google and facebook and other https sites that it does not open even the app store does not work, I tried to change my DNS google DNS and disable IPv6 but still no use, help PLZ!

    You may have installed one or more variants of the malware "VSearch' ad-injection. Please back up all data, and then take the steps below to disable it.

    Do not use any type of product, "anti-virus" or "anti-malware" on a Mac. It is never necessary for her, and relying on it for protection makes you more vulnerable to attacks, not less.

    Malware is constantly evolving to work around defenses against it. This procedure works now, I know. It will not work in the future. Anyone finding this comment a couple of days or more after it was published should look for a more recent discussion, or start a new one.

    Step 1

    VSearch malware tries to hide by varying names of the files it installs. It regenerates itself also if you try to remove it when it is run. To remove it, you must first start in safe mode temporarily disable the malware.

    Note: If FileVault is enabled in OS X 10.9 or an earlier version, or if a firmware password is defined, or if the boot volume is a software RAID, you can not do this. Ask for other instructions.

    Step 2

    When running in safe mode, load the web page and then triple - click on the line below to select. Copy the text to the Clipboard by pressing Control-C key combination:

    /Library/LaunchDaemons

    In the Finder, select

    Go ▹ go to the folder...

    from the menu bar and paste it into the box that opens by pressing command + V. You won't see what you pasted a newline being included. Press return.

    A folder named "LaunchDaemons" can open. If this is the case, press the combination of keys command-2 to select the display of the list, if it is not already selected.

    There should be a column in the update Finder window. Click this title two times to sort the content by date with the most recent at the top. Please don't skip this step. Files that belong to an instance of VSearch will have the same date of change for a few minutes, then they will be grouped together when you sort the folder this way, which makes them easy to identify.

    Step 3

    In the LaunchDaemons folder, there may be one or more files with the name of this form:

    com Apple.something.plist

    When something is a random string, without the letters, different in each case.

    Note that the name consists of four words separated by dots. Typical examples are:

    com Apple.builins.plist

    com Apple.cereng.plist

    com Apple.nysgar.plist

    There may be one or more items with a name of the form:

    com.something.plist

    Yet once something is a random string, without meaning - not necessarily the same as that which appears in one of the other file names.

    These names consist of three words separated by dots. Typical examples are:

    com.semifasciaUpd.plist

    com.ubuiling.plist

    Sometimes there are items (usually not more than one) with the name of this form:

    com.something .net - preferences.plist

    This name consists of four words (the third hyphen) separated by periods. Typical example:

    com.jangly .net - preferences.plist

    Drag all items in the basket. You may be prompted for administrator login password.

    Restart the computer and empty the trash.

    Examples of legitimate files located in the same folder:

    com.apple.FinalCutServer.fcsvr_ldsd.plist

    com Apple.Installer.osmessagetracing.plist

    com Apple.Qmaster.qmasterd.plist

    com Apple.aelwriter.plist

    com Apple.SERVERD.plist

    com Tether.plist

    The first three are clearly not VSearch files because the names do not match the above models. The last three are not easy to distinguish by the name alone, but the modification date will be earlier than the date at which VSearch has been installed, perhaps several years. None of these files will be present in most installations of Mac OS X.

    Do not delete the folder 'LaunchDaemons' or anything else inside, unless you know you have another type of unwanted software and more VSearch. The file is a normal part of Mac OS X. The "demon" refers to a program that starts automatically. This is not inherently bad, but the mechanism is sometimes exploited by hackers for malicious software.

    If you are not sure whether a file is part of the malware, order the contents of the folder by date modified I wrote in step 2, no name. Malicious files will be grouped together. There could be more than one such group, if you attacked more than once. A file dated far in the past is not part of the malware. A folder in date dated Middle an obviously malicious cluster is almost certainly too malicious.

    If the files come back after you remove the, they are replaced by others with similar names, then either you didn't start in safe mode or you do not have all the. Return to step 1 and try again.

    Step 4

    Reset the home page in each of your browsers, if it has been modified. In Safari, first load the desired home page, then select

    ▹ Safari preferences... ▹ General

    and click on

    Set on the current Page

    If you use Firefox or Chrome web browser, remove the extensions or add-ons that you don't know that you need. When in doubt, remove all of them.

    The malware is now permanently inactivated, as long as you reinstall it never. A few small files will be left behind, but they have no effect, and trying to find all them is more trouble that it's worth.

    Step 5

    The malware lets the web proxy discovery in the network settings. If you know that the setting was already enabled for a reason, skip this step. Otherwise, you should undo the change.

    Open the network pane in system preferences. If there is a padlock icon in the lower left corner of the window, click it and authenticate to unlock the settings. Click the Advanced button, and then select Proxies in the sheet that drops down. Uncheck that Auto Discovery Proxy if it is checked. Click OK, and then apply.

    Step 6

    This step is optional. Open the users and groups in the system preferences and click on the lock icon to unlock the settings. In the list of users, there may be some with random names that have been added by the malware. You can remove these users. If you are not sure whether a user is legitimate, do not delete it.

  • The CD/DVD does not work with El Capitan 10.11.5 on Macbook Pro

    Hello everyone, I spent the time to research on the here and the other site on why the CD/DVD does not work with El Capitan 10.11.5 on MacBook Pro mid 2009. This discussion forum has said that he will not work with the El Capitan software. Any idea or suggestion? Back to Marverick or Yosemite? I tried to use SMC reset, restart, recovery and still the same issue.

    I thank in advance.

    ~ Mike

    I have my doubts that the (10.11.5) software is the problem.  Are you sure that the DVD player is simply not defective?  Have you tried to clean the lens?  What is the State of the disc?

    Your best option may be a date at a bar in engineering of the Apple store for a FREE evaluation.

    Ciao.

  • When I enter a Web site in the url of the Enter key does not work. I have to click on the arrow at the end of the line. Is this a configuration problem?

    The Enter key does not work in the line of the URL. If I go says:
    www.Bing.com
    and then press the Enter key, nothing happens.
    I have to click the arrow at the end of the field in order to activate the link.
    If I am anywhere else on any page the Enter key works as it should.

    Please click the button of resolved next to the answer that solved your problem of Firefox support, when you are connected.

  • Connection problem: The DHCP service does not work.

    Original title: connection problem

    After got rid of a virus, my computer is always trying to get the network address. I found that the DHCP service does not work on my computer. How can I reinstall. I am running windows xp service pack 3

    Hello

    Follow these steps and check if they help.

    Step 1:

    Look for the DHCP Client service and DNS Client Services if they are started.

    a. Click Start.
    b. click on run and type Services.
    c. click right on - run as administrator.

    Check if the below mentioned services has mentioned State and type start.

    Client DHCP started Automatic\Manual.
    Client DNS started Automatic\Manual.

    Also check the dependency that are required for the DHCP Client services and DNS Client Service runs.

    To verify that double-click the service, and click the Dependencies tab.

    Step 2:

    I suggest you to reset TCP/IP settings to solve the problem.

    How to reset the Protocol Internet (TCP/IP)

  • The scan button does not work on Windows XP Media Center edition 2005

    Name of the printer: hp psc 1350 all-in-one

    Hi, this is happened since I reinstalled the operating system with an OEM disc, removing all the hp stuff. I got a new OEM drive that comes from hp (I think... well hp stuff works now) but the scan button does not always work. The old record was kind broken.

    I don't mind, but it will be useful, if it could be repaired. Don't want to do something big, would rather just not fix that to do something does not.

    Note: Scanning works, but I have to look somewhere else (e.g. opening scan in the Panel)

    OK, that explains why the scan button does not work.

    The complete software is required for the scan button to work, it is not a feature of the base software.

    Be sure to follow the steps below in order to get is torted:

    1. Unplug the USB from the printer.
    2. On the start menu, enter the HP folder. and follow the link to uninstall to remove the current software.
    3. If you don't find it there, go into control panel > add or remove programs, and remove any software installed HP PSC 1300 series.
    4. Download and install the full feature below:
      http://ftp.HP.com/pub/softlib/software10/COL8901/MP-23606-3/gc_w01_ENU_NB.exe
    5. You will find the Director of HP under the HP software. If you have problems using it, make sure you install the following hotfix:
      http://ftp.HP.com/pub/softlib/software8/COL17377/OJ-46104-1/CIT207355-HPCOM-patch-V8.exe

    Kind regards

    Shlomi

  • "The cutting tool does not work on your computer right now. Restart etc. "comes when I select the Snipping Tool icon.

    The error message "the snipping tool does not work on your computer right now. Restart etc. "comes when I select the Snipping Tool icon.  However if I select snipping tool in the menu start nothing happens at all.

    Original legislative:

    M.

    Looks like you may have a virus or other malware. Get your updated antivirus program and boot into Safe Mode. Note that some viruses can hide from your normal antivirus program, so you really need to scan in Safe Mode. To enter in Safe Mode when you turn on first, press F8 on every seconds until you get the menu, and then select Safe Mode. Then run a complete system scan.

    -

    Microsoft has suggestions and offerings to

    http://Windows.Microsoft.com/en-us/Windows7/how-do-I-remove-a-computer-virus

    -

    Moderator Forum Keith has a few suggestions along this line to

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-performance/Windows-Explorer-has-stopped-working/6ab02526-5071-4DCC-895F-d90202bad8b3

    -

    If that suits him fine. If this is not the case, use system restore to go back to an earlier date at the beginning of the problem. To run system restore, click Start-> programs-> Accessories-> System Tools-> system restore. Click on the box that says show more restore points.

    -

    You can check the corrupted system files. Open an administrator command prompt and run SFC if the above does not help. Click START, and then type CMD in the search box, right-click on CMD. EXE and click run as administrator. Then, from the command prompt type sfc/scannow.

    -

    Finally if all else fails, you can look at the rather cryptic system event log. To make, click Start-> Control Panel-> administration-> event viewer tools. Once in Event Viewer system log-click and scroll entries looking for these "error" with indicator see if you can find guidance on where the problem may be.

    `

    When you get your system in good working condition, I invite you to back up your system up to an external hard drive and make it regular periodic updates.

    -

    I hope this helps. Good luck.

  • Zero on the numeric keypad does not work

    I use windows 8 and press zero on the numeric keypad does not work.  It is used to work and then just stop.  All solutions?  All the other numbers work very well.

    Thanks for any help.   KP

    I've seen other people talk about that here on this site, and in all cases so far, it's the "fn lock" or "function" on their keyboard (usually a laptop keyboard).  The zero key is used for anything else until you disable the lock feature.

    Example on the web:

  • Why the object_not_found exception does not work?

    Posters,

    I have the following statement in a package.procedure:

    -- (...)
    Start

    Select dbms_metadata.get_dependent_ddl ('INDEX', 'OWNER', sTableName)
    in the cDDL - clob for index DDL
    of the double
    -- (...)

    exception
    When dbms_metadata.object_not_found then
    null;

    end;
    -- (...)

    Execution is stopped in the select, not enter the exception and the following message is displayed in PL/SQL Developer MicroHelp:

    + "ORA-31608: specified object type INDEX not found." + "

    I did it another way by adding the following clause:

    -- (...)
    Start

    Select dbms_metadata.get_dependent_ddl ('INDEX', 'OWNER', sTableName)
    in the cDDL - clob for index DDL
    of the double
    where exists (select 1+)
    of all_indexes+.
    where table_owner = 'OWNER'+.
    and table_name = sTableName); +
    -- (...)

    exception
    + When no_data_found then +.
    null;

    end;
    -- (...)

    It works, but: why the object_not_found exception does not work?

    Thanks in advance for everyone!
    Philips

    Oh I just noticed:

    What happens if instead of this:

    Select dbms_metadata.get_dependent_ddl ('INDEX', 'OWNER', sTableName)
    in the cDDL - clob for index DDL
    of the double

    you say:

    cDDL: = dbms_metadata.get_dependent_ddl ('INDEX', 'OWNER', sTableName);

    ?

  • Master page with rollover menu, using States, does not work for all pages?

    Hello.

    I created my masterpage with a basic at the top menu. It has two States. The 1st State is normal and State 2 is a simple rollover behavior, just a different color.

    Why my menu would work perfectly on the page ' 01', but then the reversal function does not work for other pages? (portfolio 03 etc.). She has just the hoverover slider and the link, but the color does not change.

    I have something wrong?

    Thanks a lot for all the help on these forums

    Make sure that all the subpages have a second State added to them. You

    do not put any content on this State, but it must be present

    the transfer of work from the watch page.

    If you do not already have that second State, trying to link then cancelled

    the subpages of the master page. I came across this scenario recently

    because I had created a master page after some of my subpages have been

    already built.

    HTH

    Jim Babbage

  • Delete statement does not work properly

    Hello

    The following delete statement does not work correctly.
    If I press DELETE will delete everything in the table of categories
    I don't know whats wrong with it.
    -Delete category line if there is not the infrastructure to support-
    IF: P12_DFCY_SEQNO4 IS NOT NULL AND: P12_DFCY_CATG_C = "7" THEN
    REMOVE FROM DFCY_CATG
    IF NOT EXISTS (SELECT I.DFCY_SEQNO
    OF DFCY_CATG C, DFCY_CATG_INFRSTRCTR I
    WHERE C.DFCY_SEQNO = I.DFCY_SEQNO
    AND: P12_DFCY_SEQNO4 = I.DFCY_SEQNO);
    end if;

    Thank you
    Mary

    You probably the where more clause:

    DELETE FROM DFCY_CATG
    WHERE C.DFCY_SEQNO = :P12_DFCY_SEQNO4
    AND NOT EXISTS(SELECT I.DFCY_SEQNO
    FROM DFCY_CATG C, DFCY_CATG_INFRSTRCTR I
    WHERE C.DFCY_SEQNO = I.DFCY_SEQNO
    AND :P12_DFCY_SEQNO4 = I.DFCY_SEQNO);
    

    Not sure if this is the exact name of your column in the table, but that limit the scope of deleting just a record that you control.

    Hope it will be useful,

    Aaron

  • As I installed the latest OS 10.0.1 on my iPhone, the Pandora app does not work.

    As I installed the latest OS 10.0.1 on my iPhone, the Pandora app does not work.

    Have you installed the latest update of Pandora (version 7.6), posted on September 13, 2016?

  • How to copy and paste into the search engine does not work?

    How to copy and paste into the search engine does not work?

    It should be.

    Restart your Mac and try again.

    Other than that, make sure that OS X is updated.

    Open the App Store, and then select the updates menu.

  • When in my wordpress dashboard, the Visual Editor does not work?

    Regularly when I'm in my wordpress dashboard, the Visual Editor does not work. Sometimes, not all the time. I tried the following:
    Disabled individual plug-ins
    Theme modified
    cache cleared
    uninstalled, then reinstalled Firefox
    'disable the Visual Editor' unchecked

    Thanks a lot for any help

    When this happens, you are totally unable to type/edit in the edit box, or are there limited functionality? The toolbar appear?

Maybe you are looking for

  • "IPad"iPad"are unusable because it requires a newer version of iTunes."

    Hello Apple communities! I hope that someone has already solved this one. I just bought an iPad Pro, new AT & t Got it home and plugged into my machine Windows 8.1 and received this message: "iPad"iPad"are unusable because it requires a newer version

  • Broken factory phone.

    I bought this phone of the manufacturer of the bike and it arrived today. Recently, I wanted to put a microSIM in this great device but I have seen that instead of three pins to drive on the SIM tray, there were only 2. And this SIM card reader does

  • Windows does not accept my activation code after you have reinstalled

    I had to reinstall windows vista home premium w/sp1 and it tells me that my activation code is already used... This one is the one I eliminated, how do I change my new installation?

  • Windows 7 64 bit HP will not be in hibernation

    Hello _M_a_t_tT, Thanks for the return of the response.  Follow the steps below to remove SP1.  Please let us know status with Hibernate after have. How to uninstall Windows 7 Service Pack 1 (SP1) http://Windows.Microsoft.com/uninstallwindows7sp1 Not

  • between source scanner for windows 7 64-bit usb

    I have an old scanner flat of intrescan which is the basis for the series. I recently bought a new pc with 64-bit Windows 7 as my old pc "pass away due to old age. the crash and unable to work. Until now, with the new pc, everything is ok. The proble