Buttons stop working after 2 clicks of any buttons ??

i've pasted in the action script below thats causing the problem and a shot of the timeline ... i'm really new to flash (this is my first atempt actually) ... Its driving me a bit nuts as all i'm trying to do is make a load of buttons work.
At the moment what happens in browser preview is that i can click two or sometimes only one button (doesnt matter which) and from that point on none of the buttons work any more ...
It seems like a common problem from what i have read around the web but i cant find an answer ...
can anyone help please !?
ps: it was working previously until i entered more (currently uncoded, but with rollovers) buttons onto frame 2 (all sitting within menu2 layer)..
import flash.events.MouseEvent;
stop();
home_btn.addEventListener(MouseEvent.CLICK, gohome);
comm_btn.addEventListener(MouseEvent.CLICK, commmenu);
leis_btn.addEventListener(MouseEvent.CLICK, leismenu);
hotel_btn.addEventListener(MouseEvent.CLICK, hotelmenu);
resi_btn.addEventListener(MouseEvent.CLICK, resimenu);
product_btn.addEventListener(MouseEvent.CLICK, productmenu);
health_btn.addEventListener(MouseEvent.CLICK, healthmenu);
retail_btn.addEventListener(MouseEvent.CLICK, retailmenu);
educ_btn.addEventListener(MouseEvent.CLICK, educmenu);
environ_btn.addEventListener(MouseEvent.CLICK, enviromenu);
contact_btn.addEventListener(MouseEvent.CLICK, contactmenu);
history_btn.addEventListener(MouseEvent.CLICK, historymenu);
function gohome (event:MouseEvent):void{
gotoAndStop(1);
function commmenu (event:MouseEvent):void{
gotoAndStop(2);
function leismenu (event:MouseEvent):void{
gotoAndStop(3);
function hotelmenu (event:MouseEvent):void{
gotoAndStop(4);
function resimenu (event:MouseEvent):void{
gotoAndStop(5);
function productmenu (event:MouseEvent):void{
gotoAndStop(6);
function healthmenu (event:MouseEvent):void{
gotoAndStop(7);
function retailmenu (event:MouseEvent):void{
gotoAndStop(8);
function educmenu (event:MouseEvent):void{
gotoAndStop(9);
function enviromenu (event:MouseEvent):void{
gotoAndStop(10);
function contactmenu (event:MouseEvent):void{
gotoAndStop(11);
function historymenu (event:MouseEvent):void{
gotoAndStop(12);

if you click comm_btn and go to frame 2, any buttons that no longer exist on frame 2 will lose their listener.
to remedy, all your buttons should be created in frame 1 and placed in a layer that has no other (than 1) key frames.
if you don't want a button (eg, comm_btn) to be visible to users when you are in frame 2, for example, you can use:
comm_btn.visible=false;
// or
removeChild(comm_btn);
in a frame where you want comm_btn to be visible, use:
comm_btn.visible=true;
// or
addChild(comm_btn);

Similar Messages

  • IPhone 5S home button stopped working after iOS 8.3 update

    My home button stopped working after I updated it to the iOS 8.3. My finger print can still unlock the phone but the home button won't work.

    What you are describing sounds more like a hardware issue than a software issue.  Make an appointment at the genius bar of your local apple retail store and have the device evaluated.
    Make a Genius Bar Reservation (or cancel an existing reservation)
    http://www.apple.com/retail/geniusbar/
    Sign in using your Apple ID

  • X121e touch pad buttons stop working after a while

    Hello everyone,
    I have a lenovo thinkpad x121e.
    The buttons above the touchpad (for right and left clicking) and also the trackpoint stop working after a while (about 45 min). Although the touchpad itself works without problems.
    If I reboot the operating system (Windows 7, 64-bit version) everything works fine for a while and then the buttons and trackpoint won't respond again.
    It is always the same routine. Rebooting windows, everything alright, stop working, ...
    I am using the newest driver version and de- & reinstalling of UltraNav haven't solved the problem.
    Has anyone an idea what causes my problems with the touch pad buttons and how to solve it? (I guess it's not a hardware problem.)
    Many thanks in advance.

    Hi again, li-lup
    I would recommend trying to use the standard Synaptics driver found here. Synaptics is the company that develops the UltraNav software, so there should be no loss of compatibility/features. I have witnessed several cases where this driver has helped others with mouse issues, so it may help yours as well.
    The first thing you will need to do is to remove the UltraNav driver from the system. To do this, open the Start menu and type Device Manager into the Search box, and then press Enter. Once here, double click on Mouse and other pointing devices, and then right-click on the UltraNav device. Naviage to the Driver tab and select Uninstall... from the bottom of the window. Follow the prompts to uninstall and then restart when prompted by Windows. Windows should install a generic driver that will allow you to use the TouchPad when downloading the Synaptics driver. 
    Hope it helps,
    Adam
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution!" This will help the rest of the community with similar issues identify the verified solution and benefit from it.

  • My home button stopped working ....any ideas on how to fix??

    I've had my Ipad 2 for less than a week and all of a sudden the home button stopped working.  Any ideas on what I can do to fix it or should I try to bring back for a replacement?

    See if you can do any of these - but you need the home button to try the first one - or you must have multitasking gestures enabled on the iPad in order to try the second one.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Quit all apps and restart the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button. Restart the iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    If you have multitasking gestures turned on - you can swipe up from the bottom of the screen with four fingers to get to the recents tray.

  • Volume and Lock buttons stopped working after new iOS 4.3.3 update (ipod 4th gen)

    After I updated my ipod with the iOS 4.3, the volume and lock buttons stopped working.
    This has happened before and it'sprobably one of the most annoying problems ever.
    The lock button tends to stop working but then works again only when it wants to, but the volume buttons dont work at all.
    When the locked button worked again I turned it off and turned it on again, but it didnt fix the problem.
    I've pretty much tried everything that I've read and nothing seems to work.
    So now, I don't know what to do.
    Should I take it to a random apple store or to where I bought it from?
    It seems that it's happening to almost everyone, so at least I'm not the only one and maybe someone can help me out

    If you have restored in iTunes on a computer and the problem remains then it's a hardware fault and it needs to be repaired. When you update the iOS version on an iOS device it checks the hardware components, this is when it'll detect un-diagnosed hardware faults and the components will stop working... even if they were working previously

  • Home button stopped working after 1 week

    I've had my new iPad mini 2 for a grand total of 1 week and the home button stopped working. Fortunately Best Buy exchanged it for me. Is this a common issue?

    No.

  • My lock button stopped working (after 4 months) and was wondering if there is any other way to take screenshots?? Please help! Thanks :)

    My lock button just stopped working on my iPhone 4. I was wondering if there was any other way to take screenshots? Please help!!

    Hi jess,
    If your phone is only 4 months old, you should take it back to your Apple Store and have it replaced.
    Cheers,
    GB

  • ADF: Page navigation and buttons stop working after a while

    Hi all,
    We have a web app built with ADF Faces/JDev 10.1.3 that runs in OC4J 10.1.2.0.2. Sometimes we encounter this problem in our JSF pages: after a while (can't relate to some particular action), all navigation in a page (links, tabs, buttons, etc) just stops working, i.e. you can click them, the server receives some request (we see this in the logs), but the desired action never happens. It's just like the page keeps refreshing all the time. There is no navigation out of the page at this point, it's completely stuck.
    If, at the same time, we connect to the app from a different browser, it will work fine, but the first browser will remain in the faulty state.
    I turned the enableTokenValidation in the pages on and off, but it seems to make no difference. Can anyone provide an idea about what might be going on?
    Thanks,
    Serban

    Hello,
    Any answer on this issue? It seems that ADF is pretty unstable if user clicks repetedly on the same submit button (like a double-click) or on different tabs on the old page, until the next page loads. We are using .jspx pages and combined with SSL access this behaviour is behaving even worser.
    Basically we encounter the following problems:
    1) It seems that users with not so good network access (and accessing ADF app on a SSL OC4J) still have access to the origin page until the target page loads on a submit. If they click a different button or tab on the origin page in this interval (waiting for their previous action to complete), they usually get a JavaScript error that will block the interface until they do a manual refresh (F5)...
    This can be reproduced even on client machines with good network access if you click very fast on the same button twice or on two different submit buttons.
    2) It seems that sometimes the browser keeps showing the loading bar in the status bar even if the new .jspx page is already loaded. Any advice on how to solve this, as the users might be tempted to push application buttons or browser navigation thinking that the page is blocked?
    All the above happen on IE 6, which is the preffered browser.
    Thanks! I can give you more details if needed.

  • Button stops working after a few seconds

    I created a button in Adobe Captivate, which is used to jump
    to an URL. When I run the published swf, the button correctly loads
    the URL, but after a few seconds, the button does not load
    anything, even when the browser window of the URL that was loaded
    initially is closed. In other words, the button can be clicked but
    it does not do anything. This loss of functionality occurs after
    approximately 3 seconds of running the SWF.

    Hi again
    You said you have three buttons on the slide with two of them
    configured for "No action"? Why? What is their purpose if you are
    doing nothing when they are clicked?
    You also said the buttons aren't pausing. If the buttons
    aren't pausing the slide, it is probably simply playing and ending.
    Sounds like you are expecting the slide to pause, so I'm confused
    as to why you removed the pause action from the buttons.
    Cheers... Rick

  • Volume buttons stop working after wake from sleep

    I have a Pavilion dm4-1162us. The volume buttons do not work after the notebook wakes from sleep. It works initially from a normal startup. A restart will also resolve the issue. The quicklaunch buttons are the default buttons, that is it is set so the "fn" button needs to be used to use the function "f1, f2, f3, etc." keys.

    Welcome to Windows. Some devices do not like to be put to sleep in Windows.
    There could be driver updates or hot fixes from MS to fix these.
    A very proven method (though not for battery life) is to instruct the devices not to go to sleep when the system goes to sleep. You can do this via the device manager in the control panel.
    Its not a gracious solution but it will do what you want it to do.

  • Command line option "-save-to-folder" stopped working after last update: Any workaround?

    Running FF on Linux, I was using the -save-to-folder option at CLI to write a copy of the webpage to file with JS content rendered. Worked great until the recent update (to v.27.0.1).
    Typical format was: firefox url -save-to-folder filename
    When things break, the fixes sometimes happen quickly, sometimes not. In the meantime, anyone have a workaround?

    [http://ubuntuforums.org/showthread.php?t=2210953&p=12955762#post12955762]?
    It will depend if your Linux build was compiled by a third party. Typically if a function like that stops working, uninstalling might be a good option, but maybe not in this case.
    The full list are [https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options] is this one custom perhaps?
    There is an add on [https://addons.mozilla.org/en-US/firefox/addon/save-file-to/ Save file to] that adds a dialogue, but you may want to stick to linux. There is a customize shortcuts [https://addons.mozilla.org/en-US/firefox/addon/customizable-shortcuts/ add on]
    -recording-output may be something you can try. Or make a bug! :-)[bugzilla.mozilla.com]

  • In windows 8, web page buttons stop working after a period of time.

    After purchasing a new laptop with Windows 8, I installed Firefox v21. After it runs for a period of time, buttons on web pages seem to quit working and also some drop down menus. Only fix seems to be to clear history cache and cookies and restart Firefox. It will work for a while, then I have to go through this process again.
    Any ideas?

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Top button stopped working after warranty but I am told on models that qualify they will still repair for free

    Hello,
    As it seemingly always works in my life my top button finally got the issue that all iPhones have. The fact it's the well known issue that after approximately a year the top button ceases to work. I was told if your phone qualifies however they would still fix it regardless of warranty expiring for free. They mentioned cracked screens, I don't have a "cracked" screens but there are surely some minor scratches when it would mistakenly be pocketed with my eyes, would this cancel that out? I just want to check as if I can fix it great if not, This is definitely a bothersome issue and I had left google expecting things like this not to occur, I don't know if I could justify staying with a company if I was charged for an issue well known to be due to sub par quality of their top button, I mean if they all break clearly they aren't top quality.

    mvekob wrote:
    Hello,
    As it seemingly always works in my life my top button finally got the issue that all iPhones have. The fact it's the well known issue that after approximately a year the top button ceases to work. I was told if your phone qualifies however they would still fix it regardless of warranty expiring for free. They mentioned cracked screens, I don't have a "cracked" screens but there are surely some minor scratches when it would mistakenly be pocketed with my eyes, would this cancel that out? I just want to check as if I can fix it great if not, This is definitely a bothersome issue and I had left google expecting things like this not to occur, I don't know if I could justify staying with a company if I was charged for an issue well known to be due to sub par quality of their top button, I mean if they all break clearly they aren't top quality.
    Instead of just speculating, ranting, and complaining about what might be take it in and have it checked out for yourself.

  • Special mouse buttons stop working after resume

    Hi, I have logitech RX100 mouse with 8 buttons. I configured it according to arch wiki with evdev driver and it works great but when I suspend with pm-utils and then resume my special buttons don't work.
    My Xorg.conf
    Section "InputDevice"
    Identifier "USBMouse"
    Driver "evdev"
    Option "Name" "Logitech USB Optical Mouse"
    Option "Device" "/dev/input/by-id/usb-Logitech_USB_Optical_Mouse-event-mouse"
    Option "Resolution" "1000"
    EndSection
    X.log
    (**) USBMouse: always reports core events
    (**) USBMouse: Device: "/dev/input/by-id/usb-Logitech_USB_Optical_Mouse-event-mouse"
    (II) USBMouse: Found x and y relative axes
    (II) USBMouse: Found mouse buttons
    (II) USBMouse: Configuring as mouse
    (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
    (II) evaluating device (USBMouse)
    (II) XINPUT: Adding extended input device "USBMouse" (type: MOUSE)
    (II) evaluating device (Trackpoint)
    X.log after resume
    (WW) USBMouse: Grab failed (No such device)
    (EE) Read error: No such device
    (EE) Read error: No such device
    (EE) Read error: No such device
    (EE) Read error: No such device
    (EE) Read error: No such device
    X.log says No such device, but device is same as before suspend and points to same /dev/input/event*. When I restart X everythings is ok again.
    Last edited by qubit (2008-10-05 20:29:44)

    You're not the only one. There's no real solution yet, but you might want to track
    http://bbs.archlinux.org/viewtopic.php?id=88307&p=1
    and
    https://bugs.freedesktop.org/show_bug.cgi?id=26213
    Also, maybe add your weight to the bug report. I don't think we've really been noticed yet.
    Last edited by onety-three (2010-02-13 14:21:23)

  • 20" ACD touch buttons stop working after sleep mode

    I have a new 20"ACD and have had nothing but problems with it. The new thing it is doing is if I leave the computer and it goes into sleep mode, when I awaken the computer, the side touch buttons no longer work. Also, when I go into preferences-displays, there is no longer an option menu which was just there a week ago....where did it go? Please help!
    Dual 2GHz G5   Mac OS X (10.3.9)  

    I have a new 20"ACD and have had nothing but problems with it. The new thing it is doing is if I leave the computer and it goes into sleep mode, when I awaken the computer, the side touch buttons no longer work. Also, when I go into preferences-displays, there is no longer an option menu which was just there a week ago....where did it go? Please help!
    Dual 2GHz G5   Mac OS X (10.3.9)  

Maybe you are looking for

  • After upgrading to iOS 8.3, the keyboard has frozen up  and I can no longer text or access my contacts.  I've re-booted the phone several times, to no avail.

      After upgrading to iOS 8.3, the keyboard has frozen and I can not longer text or access my contacts.  I literally just upgraded to an iPhone 6, but I'm just about ready to can this phone and go with an Android.  Can anyone help or have the same iss

  • Cannot load Design mode flash builder 4 preminum trail version

    Hi I installed flash builder4 premium trail version .After creating project when i click on the design mode . It displays an alert box containg the message like cannot load design mode with title as outof memory . How can slove this problem. Here i 

  • Buttons are moving in widescreen

    I´ve just made a simple menu in iDVD 6. It works perfectly fine until I burn it and play it on a PC. I´ve made two buttons that are just text. One colour first end antother when mouse over. The problem I get when I look at it in the PC is that the mo

  • Audio problem with Captivate 7

    Hello All, I've had an issue in the past that when I create an MP4 file in Captivate 7 using a windows PC, the volume is too low when the published mp4 file is played on a MAC.  I was able to use the Audio Processing setting under the Adjust Volume c

  • Mail in Mountain Lion Missing

    Ok, all was working in Lion.  I installed Mountain Lion, and Mail wouldn't open at all (along with several other apps).  I ran the 10.8.1 updater and now Mail opens, but it is completely empty. I restored my mail folder (in users/my user name/Library