Any 2 buttons work, any 3 don't?

Hi everyone,
I'm finding some unintended results from buttons on my site, and there seems not to be a logic that I can just fix. The site is arcotecture.info if you wouldn't mind taking a look. On pages such as "(r)Evolve" and "undo," there is a vertical sequence of thumbnail buttons on the right that trigger a sliding image viewer to see them larger. Once the viewer is open, it should be possible to click on any of the other thumbnails and go right to the large image without moving the viewer at all. But for some reason, any two combinations work, and any 3 don't. Try viewing a 3rd once the viewer is open, and the slider closes, even though the script would never have told it to do that. The only way to make it close should be the minus sign button (called reverseButton). Also, if you click the same thumbnail again, sometimes (only sometimes?) the slider closes, which is wrong and not in the script.
The script for once the "(r)Evolve" viewer is open looks like this: (and the thumbnail buttons are named revolve1Button to revolve5Button from top to bottom):
stop();
function reverserevolve5 (event:MouseEvent):void
     gotoAndPlay(1221);
reverseButton.addEventListener(MouseEvent.CLICK, reverserevolve5);
function gotorevolve2fromrevolve5 (event:MouseEvent):void
     gotoAndPlay(923);
revolve2Button.addEventListener(MouseEvent.CLICK, gotorevolve2fromrevolve5);
function gotorevolve3fromrevolve5 (event:MouseEvent):void
     gotoAndPlay(1022);
revolve3Button.addEventListener(MouseEvent.CLICK, gotorevolve3fromrevolve5);
function gotorevolve4fromrevolve5 (event:MouseEvent):void
     gotoAndPlay(1121);
revolve4Button.addEventListener(MouseEvent.CLICK, gotorevolve4fromrevolve5);
function gotorevolve1fromrevolve5 (event:MouseEvent):void
     gotoAndPlay(824);
revolve5Button.addEventListener(MouseEvent.CLICK, gotorevolve1fromrevolve5);
function GoToOptionsfromrevolve5(event:MouseEvent):void
    gotoAndPlay(2);
optionsButton.addEventListener(MouseEvent.CLICK, GoToOptionsfromrevolve5);
Is this just too much script and too many frames? It seems easy enough to execute, but I'm new to this. Anyone know what might be causing this unpredictable behavior? Thanks a lot,
Jono

While this may not address each condition of an error, one thing you said may be fixable by using gotoAndStop() rather than gotoAndPlay() in those event handler functions.  If you are stopped at a particular frame and execute a command to gotoAndPlay that same frame, the stop that might have kept it there is already used up, so it plays.
I wish I could understand more about what controls the sliding out bit.  That's something that should be trackable as to what tells it to retract when it isn't supposed to.  If it is a timeline tween that makes it appear and go away, then something is probably telling it to play() when it shouldn't.

Similar Messages

  • How come the volume on my ipod touch is turning up when im not pressing any buttons? any time i turn it down it always goes back up like im pressing the button!

    did something get stuck in the button?

    i think i just need a new ipod. ive tried even turning up the volume and the button isnt responding. something is wrong with the button. there is also some minor damage inside the ipod i think as well, but im pretty sure my warrenty is up because ive had this ipod for so long. will i be able to send my ipod back into apple and get a new one?

  • 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);

  • During a call - End button (or any others) don't work, can't end call

    I've been having this problem for a long time now but finally decided to see if anyone has an answer for me short of buying a new iPhone.
    I have the iPhone 4 and randomly when I go to End a call, the End button doesnt work and if I've gotten a text message during the call both the "close" and "reply" buttons on the text window won't work so I can't even try to end the call - I just have to wait until the person I'm talking to ends the call and then most of the buttons work. This doesn't happen all the time so I have no idea when it's going to strike.
    I have the most up to date iOS, I have restarted the phone many times, I've also done the hard restart and the problem still persists.
    Anyone have any advice??

    Since you've restarted and hard reset, the next step is to restore it.  Make sure you have it backed up via iTunes and then setup as new.

  • My iPad3 has suddenly stopped working, it won't charge up and the screen is blank I have tried to reboot the device by holding the top and home buttons but I don't even get the Apple logo. any advice?

    My iPad3 has suddenly stopped working, it won't charge up and the screen is blank I have tried to reboot the device by holding the top and home buttons but I don't even get the Apple logo. any advice?

    Plug it into the charger/wall socket and let it charge for at least an hour. It just might start charging. If you have already tried charging it for a fair amount of time and it didn't work, try restoring the device with iTunes.
    iOS: Not responding or does not turn on - Apple Support

  • Whenever I open the editor in Photoshop Elements 12 it does not work. When I try to click open in the application it does not do anything. None of the buttons work. When I open a photo using file at the top it opens but I cannot edit it or use any of the

    Whenever I open the editor in Photoshop Elements 12 it does not work. When I try to click open in the application it does not do anything. None of the buttons work. When I open a photo using file at the top it opens but I cannot edit it or use any of the features on the left side.

    Hi Nealeh
    Thanks i think I got it working of a fashion.
    Except the replace colour, does not seem to end up with the colour I picked using the picker tool. Its as though it hads not replaced the colour but blended in the desired colour with the old incorrect colour!
    Buy trial and error picking not the right colour but close - which when mixed with the existing colour is close.
    Sorry I can't post the pictures as the Lingerie Mfg, has me under non disclosure.
    The scenario is:-  say a blonded mainly tanned model a high cut [at the hips] corsette style basque, with an ultra low bra line.
    Our dear model, has just come back from St Barts with a fabulous Tan, and equally striking bold Tan lines!.
    So we have great tanned legs, then the 'porcelain white band' where her swimsuit was.
    Likewise we have a tanned face, and arms, shoulders etc and a great tan on the top of the cleavage, then it stops, white band to the top of the ultralow cut bra line of the basque.
    She must have lived in like the most conservative bikini on the planet [50's style], for 2 weeks!
    Had she had a normal skimpy bikini on, no problem!
    If i don't solve it, she will get fired!
    Not a lack of interest in your post, but I was out, and tried to log in to this site; which I could do, on my iPad Air / 5 [whatever its the new one]. And tried to 'sign in' - but it just hung at the
    "Join Adobe Community" adobe sign in splash screen! with he little whell spinning around continuously!!!
    I have Safari on this iPad. Guess that is all it runs.
    So technology is not my friend today!

  • I transfer my ADF application then don't work any thing !!!?????

    Hi everybody,
    I have an ADF application. it was OK But when I copy my application to another system and run via it's JDeveloper, nothing work correctly, without any error messages !?. I mean navigation button in form don't work , tree is not shown, some tables don't correctly render ... .
    I think when an application is run and deployed in JDeveloper, it create a folder in "...\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs" path contain deployed files that there is not in other systems and also there is some files in Temp folder in windows that is related to my application so I think because of these files my application don't work correctly in other system!! I don't access to my system and my original application so what should I do ???
    I use JDeveloper 11.1.1.0.0.
    please help me.
    with my best regards.

    What exactly do you mean by 'copy'? Did you copy the workspace from pc a to pc b?
    Did you recolpile the app on pc b?
    Did you check if all connections (DB) are reachable?
    Timo

  • The keyboard in my MBA is not responding. The power button works fine and backlight is operating, but nothing else. I have tried SMC and Terminal but nothing helped. Would anyone have any idea what the problem might be? Thank you for your time.

    MBA keyboard not responding. SMC didn't work.

    If the USB keyboard still works after you log in, then the machine needs to be repaired.
    Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.
    Back up all data on the internal drive(s) before you hand over your computer to anyone. There are ways to back up a computer that isn't fully functional—ask if you need guidance.
    If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.
    Keeping your confidential data secure during hardware repair
    Apple also recommends that you deauthorize a device in the iTunes Store before having it serviced.
    *An SSD doesn't need to be zeroed.

  • Hello, the 'Save As' dialog box used to allow the backspace button to go up one level in the directory when the focus is in the folder contents box but it does not work any more, please help.

    Hello, the 'Save As' dialog box used to allow the backspace button to go up one level in the directory when the focus is in the folder contents box but it does not work any more, please help. BTW the same 'Save As' dialog in other applications still allow the backspace button to go up one level in the directory.

    cor-el,
    I kept forgetting and procrastinating about following your instructions, since I have internet access only for limited amounts of time and usually I am busy with important tasks when I am.
    Out of the blue, the problem corrected itself (the Save As box started to open full screen, then shrunk down to a normal size and the edges can now be dragged to a custom size).
    Even the copy and paste problem in the filenaming area seems to have been less troublesome lately even though there have been no updates to Firefox in a few weeks.
    Even though I marked the solution as not helpful, the problem has in fact been resolved. I will save the solution instructions in case the issue returns.

  • I ipod classic 80 gb when I am connected pc connected after that is hanged just showing connected its not working any button

    I ipod classic 80 gb when I am connected pc connected after that is hanged just showing connected its not working any button .

    Try connecting it to another PC, if it is ok, then your PC has some software conflict with iTunes.
    If it hangs other PC also, then your iPod Hardisk, maybe bad.
    Do the disk diagnosticas posted earlier by tt2, to check the health of your Hardisk.
    Have a nice day!

  • My ipod 4 Generation wont start. I have tried the hold lock button and home button but it wont work. any ideas?

    My ipod 4 Generation wont start. I have tried the hold lock button and home button but it wont work. any ideas?

    Try holding the buttons longer--at least a minute or until you see the Apple logo light up.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • I have a first gen iPad, and it will randomly go home from the Internet when I don't press any button.  I have a wireless connection at home.

    I have a first gen iPad, and it will randomly go home from the Internet when I don't press any button.  I have a wireless connection at home.  Is this a known bug?  What can I do?

    You maybe running low on memory since you are using the original iPad with iOS 5.1.1 and the iPad is crashing. This may help and it certainly won't hurt.
    Quit all apps completely and reboot the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the recents tray will appear with all of your recent 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 or anywhere above the task bar.
    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 if it appears on the screen - let go of the buttons. Let the iPad start up.
    Do this before you launch Safari again. Go to Settings>Safari>Clear Cookies and Data. You don't have to clear the history.

  • HT4623 I updated to ios 7.1 on Thursday.  My ipad basically does not work any more.  I am running around in circles on this site and on other "forums" trying to fix.  ???  Don't have time for this.....

    I updated to ios 7.1 on Thursday.  My ipad basically does not work any more.  I am running around in circles on this site and on other "forums" trying to fix.  ???  Don't have time for this.....Any advice appreciated.

    give us more to work with in terms of info then "basically does not work any more"
    it can be from it's on fire to the a key on the onscreen keyboard don't respond

  • Since I have changed from Windows 7 to Windows 8.1, I have not been able to start up Photoshop Elements 9! or Premiere Elements 9! The menu starts up allright, but the programs don't start when I press any buttons. How do I fix this problem?

    Since I have changed from Windows 7 to Windows 8.1, I have not been able to start up Photoshop Elements 9! or Premiere Elements 9! The menu starts up alright, but the programs don't start when I press any buttons. How do I fix this problem?

    If Layers is greyed out it possibly means that you are in Quick Mode. Select 'Expert' and all the options should become available.
    Try permanently associating psd files with C:\Program Files (x86)\Adobe\Photoshop Elements 12\PhotoshopElementsEditor.exe and see if that fixes the issue. Instructions here - http://windows.microsoft.com/en-gb/windows-8/choose-programs-windows-uses-default.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • I don't know what to order. I want PS for photo editing and some composting. I don't do any website work or sharing yet. I have been using elements for a few years and also have Lightroom 5 on my desktop. I don't want to spend $1000s for a bunch of stuff

    I don't know what to order. I want PS for photo editing and some composting. I don't do any website work or sharing yet. I have been using elements for a few years and also have Lightroom 5 on my desktop. I don't want to spend $1000s for a bunch of stuff I don't use. Any advice on what to buy?

    Well, there is a whole world of free or affordable software out there like GIMP, PDPaint and similar. Otherwise if you want to stick with Adobe stuff signing up for the CC photography program would be the most cost-efficient way...
    Mylenium

Maybe you are looking for

  • Slow i7 MacBook Pro startup and battery life issues

    Hi Everyone, My i7 2.66GHz 15" MacBook Pro with 8GB of RAM does a couple of things that worry me 1. The battery life is poor, 127 Charge Cycles, 6 months old. I'm sat on Chrome with one window open and it's reading 3hr 16 min on 83% 2. The startup in

  • Mail not working after upgrading to Lion

    I have recently upgraded to Lion and my Mail program will not open. I get a message that says that "You can't use this version of Mail with this version of Mac OS X. You have Mail 4.5".  I would have thought that Lion would have installed the latest

  • Rename file during archive

    hi all, I am trying to rename my file after load is done , i am writing an expression to get the current date but my client needs the file name in following format(month_date_year example : Nov_06_2014)  ,which i am unable to get it , please help me

  • Event map problem in 10.1.2.0.2

    I'm trying to post two messages with identical structures to an AQ adapter. In iStudio I can select event map to direct the message to the correct event based on the content of one field (Action, 'I' for insert, 'U' for update). The problem is that w

  • Office 365 Outlook Alert Box Notification when an email arrive

    Hi,  I use office 365 Professional and i search if i can have a notification like a window to alert me because an email is coming in Outlook 365. I searched if a plugin for Chrome, Mozilla or Explorer exist to do that but i found nothing to help me.