EXIT BUTTON does not

Hello...

I'm pretty much a newbie working with Flash, so I'd appreciate it really any kind of help.

I created a game, with a lot of "brain burn" and get help on the web, however, when I tried to put an exit button, even though I copied the AS3 code, it did not work.

That's what I

import flash.events.MouseEvent;

import flash.media.Sound;

import flash.system.fscommand;

fscorea_txt. Text = score.toString ();

playAgainButton.addEventListener (MouseEvent.CLICK, playAgain);

exitBtn.addEventListener (MouseEvent.MOUSE_DOWN, exitGame);

function exitGame(event:MouseEvent):void {}

fscommand ("QUIT");

}

function playAgain(event:MouseEvent):void {}

playAgainButton.removeEventListener (MouseEvent.CLICK, playAgain);

gotoAndStop (6);

}

I also tried with MouseEvent.Click, exitGame but it works no more, however, the other button works perfectly fine

Any help, please?

Thank you!!!

Ah good. Try using with Adobe AIR:

NativeApplication.nativeApplication.exit ();

instead.

Tags: Adobe Animate

Similar Questions

  • Exit button does not work in the browser window - 8 Captivate

    Someone at - he found a way to get the button leave on the 8 Captivate toolbar to work in the browser window?  I saw that he did not work in previous versions of Captivate. Is there a way to operate in 8 Captivate?  Alternatively, Adobe is working on a fix to get the button work?

    Yes, the close X works in 100% of the time. This is because the browser itself is just a window in the operating system. And you're dominating the window to close.

    And you might wonder why this works while the Exit button fails back. And it would be that it is a security issue. Safety prevents the window from closing because if a web site has been bad, he could actually trick you by change and quickly close the window and prevents you from browsing.

    It is easy to disable the button Exit. Just click Project > Skin Editor and erase the close box.

    See you soon... Rick

  • Captivate 4 SCORM does not, exit button does not

    Hi All-

    I hope someone can help me because I'm at the end of my rope with Captivate.

    I have a project that is finalizing, I try to publish it on our LMS and it is not followed correctly, it is the initialization of the LMS and it records a "Started" status, but I can't get the completion status to work properly.

    I don't really want to include a quiz at the end, so these are the settings I used:

    LMS Standard: SCORM 1.2

    Status report: complete/incomplete

    Report to the LMS as: Percent

    Choose Report Data: Access user only

    Level Reporting: Interactions and Score

    I tried every possible setting I can think of and the bloody thing won't work!

    Someone please help me, because I don't want to have to start this course with Articulate!

    Nathan,

    When you publish Scorm zip captivate 4, makes a folder called SCORM_support, to the extent that there is a file of javascript (scorm_support.js), the 2nd or third line is set to 0, but in reality, it must be set to 1, has to do with what version of Scorm you publish. 0, the default value is actually from 2004.

    I know that you have chosen Scorm 1.2 in your captivate, but for some reason, as this setting is messed up when published and sets the value to 0;

    This

    var g_nAPI = 0;

    Should be

    var g_nAPI = 1;

    for scorm 1.2

    If you're still having problems, I've seen other instances where the quiz score is one incomplete, I usually put my percentage to 0 to ensure that does not hold up to the completion of the course.

    Hope that helps.

    Zcarr

  • Firefox automatically updated itself, would not add new bookmarks, then deleted all mine, will not always add new, now the back button does not work. I'm Livid.

    I think I'm on Firefox 13.0. He put itself as part of the update of my computer up to date (at least I guess that's what happened, because it has changed). I noticed yesterday that he would not favorite Web sites, but I thought it was just the website or bookmarks have been full-time or something. Today, I tried to remove a few bookmarks to make more, but they would not remove. I tried to register a new site, and it wouldn't work. I tried to close/exit firefox and re-opening of the program. While the program was closed, I installed the next set of updates on my computer. When I have opened firefox, all my favorites, and the tab menu (or what you call personal small bar on the actual tabs) were gone. I can't always favorite of new sites, so I can't even re-do all my favorites (and I got a lot, all of them arranged so it's a big loss and incredibly annoying). Then I realized that the back button does not work. And the cursor remains on the typing that I symbol, it does not change the arrow, when I click on a link.

    One possible cause is a problem with the places.sqlite file that stores the bookmarks and history.

    You can also try to repair the database of places with this extension:

  • the RealPlayer download button does not show the download of jeuvideode using Windows XP and explorer8

    the RealPlayer download button does not show downloading a video using Windows XP and explorer8

    Hello lailaanis

    First of all exit Internet Explorer. If you want to enable the download button when you hover over a video in Internet Explorer 8 you must go to tools > Preferences > download and save. Then to fix your problem, first UNCHECK the checkbox enable Web download and record in the window right under download and recording options, click OK. Then the Real Player output.

    Now, open Real Player again, follow the steps as tools > Preferences > download and record and this time this BOX called Web download and registration. Click OK and real player output.

    Now open Internet Explorer and visit any favorite video link and the download box will now appear.

    You can also use other services like http://www.keepvid.com/ to download videos from sites of common videos easily in different quality formats which can be played in Real Player.

    Hope that answers your question.

    Concerning

    Zeeshan Ahmad

  • Minimize/maximize/close buttons does not...

    Minimize/maximize/close buttons do not work when you run Aero.  Whenever I change my Aero, reduce it and expand buttons work but the close button still does not work.  This happens with all the windows and I'll have to use the Task Manager to close the windows and I have to close the task with the exit button Manager because the close button does not work on either.

    Hello

    Thank you for using the Microsoft Windows Vista Forums.

    I will need some additional information to help you best.

    O if it works well before?

    Ø summers - get you any error message?

    O have changes made to your computer recently?

    In the meantime, follow the instructions below that may help you resolve the issue.

    Method 1:

    To perform the clean boot procedure, follow the instructions in the link below.

    Step 1: Perform a clean boot

    Step 2: Enable half the services

    Step 3: Determine whether the problem returns

    Step 4: Enable half of the startup items
    Step 5: Determine whether the problem returns

    Step 6: Resolve the problem

    Step 7: Reset the computer to start as usual

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

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

    After checking the problem, turn the computer back to the Normal mode.

    Uninstall or update the program that is causing the problem.

    Method 2:

    Windows Live OneCare safety scanner is a free service designed to help ensure the health of your PC.

    • Check and remove viruses
    • Get rid of junk on your hard disk
    • Improve the performance of your PC

    Click on the link below for Online Virus scanner.

    http://safety.live.com/

    Check whether the problem is resolved.

    Method 3:

    Analysis of auditor of file system (CFS) that might help you resolve the issue.

    To determine if the problem you are experiencing is caused by one or more system files that are used by Windows Vista, run the System File Checker tool. The System File Checker tool analyzes the system files and replaces incorrect versions of system files by using the correct versions.

    To determine if the problem you are experiencing is caused by one or more system files that are used by Windows Vista, run the System File Checker tool. The System File Checker tool analyzes the system files and replaces incorrect versions of system files by using the correct versions.

    To run the System File Checker tool, follow these steps:

    1. Click Start and type cmd in the box start the search.

    2. right click on cmd in the list programs and then click Run as administrator.

    If you are prompted for an administrator password or a confirmation, type your password or click on continue

    3. at the command prompt, the following line, and then press ENTER:

    sfc/scannow

    When the analysis is complete, test to see if the problem you are experiencing is resolved. If the problem you are experiencing is not resolved, use the procedure that is described in the section "the System Restore tool.

    Follow the instructions in the link below for more information on scan SFC.

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

    Please post back and let us know if it helped to solve your problem.

    Kind regards

    KarthiK TP

  • iPhone 5 home button does not work after ios 10

    My 5 Iphone Home button does not work after update final IOS version of 10.

    The home button works on the first push to wake the phone but it will not open the phone the second button.

    I activated the assist button, which does not work either. But what I discover is if I open device for assistance then touch and lock screen click on the button home will work once to open the phone. If I open any app I can't close it unless I go through the same routine.

    You attempted to restart your phone?

    You can do so by holding the sleep/wake button and the Home button simultaneously until the Apple logo appears

  • I'm locked out of my iphone5 not connected to my wifi at home and my home button does not work, any ideas on how to fix?

    I'm locked out of my iphone5 not connected to my wifi at home and my home button does not work, any ideas on how to fix?

    < re-titled by host >

    Take it to an Apple Store for repair or replacement.

  • My mute button does not work

    The button does not work everytime I try to put my phone on silent. I turn it down and it will automatically return to the sound, it activates again upward. What can I do?

    Hello Jackie101foever,

    Thank you for using communities Support from Apple!

    As I understand it, you can't silence your iPhone.  I have a suggestion that should help you with this.

    The first thing we want to do is to make sure that you have a current backup of everything on your iPhone.  If you follow this link, you will find instructions on how to make a backup:

    The backup of your iPhone, iPad and iPod touch

    If the silent button moves upward on its own, so you must do this checked by a service representative.  You can find the nearest one by looking here:

    Find locations

    If the button is stay down, but do not silence the iPhone then we want to restore all settings.

    Reset preference files resets all parameters that may be problems. This step will not delete your contacts, photos or personal information. It deletes all your preferences for Wi - Fi, Bluetooth, do not disturb, Notifications, general, sounds, brightness & wallpaper and privacy and removes your Touch ID & password.

    Do you this by clicking on settings > general > reset > reset all settings.

    Once you have done this, restart the iPhone and see if you are able to turn off the sound.

    Have a great day!

  • iPhone6 the wifi button does not illuminate.  I want to download the new update.  I restarted the phone, my router is active.

    iPhone 6 with iOS9.3.4.

    WiFi button does not illuminate.  I rebooted the phone.  How can I make this button of the device?

    You can always update your firmware with iTunes. But it seems you might have a larger, likely hardware problem with your phone.

    Try to restore the firmware with iTunes. If this does not help, make an appointment with a genius at the Apple Store.

  • Minimize, maximize, and exit buttons are not on the theme.

    I installed a theme on Windows 7 and minimize it, maximize and exit buttons do not have Firefox, even with the default theme.
    Is it possible to make the keys not linked Windows, or simply corresponding to the theme?
    Imgur mirror: http://i.imgur.com/FSEJFH9.jpg

    Well, this is not possible. Minimize, maximize, and close theme button is defined by the system, or in your case Windows. So, if you want to change this theme to match with Firefox, you will need to change the theme of windows by a correspondent.
    Using the default windows theme is recommended for good match because the theme designers create their themes as standard. so, it must match each theme of Firefox. Using the default minimize, maximize, and close windows theme will perfectly match with the theme of your browser or change your theme of browsers to match with the theme of the system. Anyway your choice.
    Thank you.

  • By pressing the home button does not take me to the home screen of iOS 9.3.3

    I have recenly updated upgraded to iOS 9.3.3 and I noticed that pressing the home button does not take me to the home screen. The only way to get there is by using the creature of multitasking. (double pressing the home button) Also, some applications seem to freeze if turn my phone off and then turn it back on, or when I access it via the multitasking function. Can someone please help?

    Try a forced reboot. Hold down the Home and Sleep/Wake buttons at the same time for about 15 seconds, until the Apple logo appears. You won't lose anything.

    If a force restart does not help, try a system restore. First save your device via iTunes. Also import your photos on your computer and copy all the important data. Reconstruction of the support first test and test. If this does not help, you may need to restore as a new and reconfigure from scratch as the backup may be damaged. It is important to have your photos and your saved data separately from the backup. Here are the steps for a restoration:

    https://support.Apple.com/en-us/HT201252

  • When I return from the page of google search for a link then button does not return return

    When I return from the page of google search for a link, then button does not return back. Instead, the same page refills. I need to go back click back button twice or even more. How to fix? I cheked it it another browser and there is no such behavior. It seems completele Firefox problem.

    the problem was resolved after remooving extenshion «user agent overrider»

  • Hello Firefox button does not appear.

    Hello, Firefox has been added in Firefox Beta 34.0. However, the Firefox Hello button does not appear in either Firefox, or using the Customize menu. Am I missing something or is this only available for select people?

    In the window customize, you can click on "restore default settings". You will then need to configure things again if you use no default provision.

    Bug 1083525 - Hello button does not appear in the palette so personal before FFx34

    Bugzilla is not a forum, so please do not comment in bug unless it is something useful such as patches, cause or difficulty as 'Me too' comments are spam email/bug.

  • "Back" button does not work and lost bookmarks

    I followed the instructions that Firefox has been extremely slow. He said my favorites would be saved and everything should work as usual. However, I lost all my precious Favorites, and now the back button does not work. She is pale grey all the time, and itls drives me crazy, that I can't go back to the search page. I have to type everything in full again.
    If I can't change it, I'll have to switch to another web browser, after being with Firefox for more years than I care to remember.
    I liked using Firefox and have recommended it to all my family and friends.
    I'm very angry on my favorites, because I used these regularly and had a few coordinates links and important model for my sewing and knitting, as well as time-saving links. Now, I'm completely lost without them.
    If this isn't the page said it would be saved, then I would not have changed anything.
    It's very frustrating and annoying, after spending months, where I wanted and now he lost get it all because of the wrong information. I am very anxious.
    Lesley

    You can check for problems with the database places.sqlite file in the Firefox profile folder.

    You can see if you can restore bookmarks to a JSON or a compressed backup of JSONLZ4 in the bookmarkbackups folder in the "Old data Firefox" folder on the desktop.

Maybe you are looking for