Button overlapping & nested button issues

Hi ppl
First up, here's my tiny sample project that i'm having issues with.
Issue #1: i plan to have an entire wall of the symbols that i created, so users can click on our mugshots to enlarge the image and see some contact details. Is there a way to always make the active(clicked) symbol appear on top of the rest? Right now it's locked in the default layer order in Edge.
Issue #2: Each symbol has its own mailto button nested in it which toggles on/off when its parent symbol is clicked. It works, BUT I cannot find a way to click that mailto button without activating the parent symbol's click event too.
Spaghetti code aside (i'm not a developer), i'd really appreciate any help with the above!
(Man it seems like i've been working on this forever *hysterical laughter*)

Hi,
Fix for Issue#1:
     a. Add sym.setVariable("count", 200); to compositionReady event handler.
     b. Then add the below code for click event handler for each symbol:
          var count = sym.getVariable("count");
          //console.log(count);
          sym.getSymbol("btn1").getSymbolElement().css({"z-index":count});   //use btn1 or btn2 accordingly for respective symbol
          sym.setVariable("count", count+1);
Fix for Issue#2:
     Add e.stopPropagation(); to click event handler for both symbol mailTo buttons which will prevent the event propagation from mailTo btn to its parent.
hope that helps,
Vivekuma

Similar Messages

  • Lack of Previous/Nest buttons on individual topic pages

    I reall miss the above. Any chance they could be returned? It's much more time consuming to have to go back to discussion page each time.

    Thanks, It would really cut the back and forth time.
    From:
    adobe-admin <[email protected]>
    To:
    "Larry G. Schneider" <email address deleted by host]>
    Date:
    09/19/2011 10:54 AM
    Subject:
    Re: Lack of Previous/Nest buttons on individual topic pages Lack of Previous/Nest buttons on individual topic pages
    Adobe Forums
    Re: Lack of Previous/Nest buttons on individual topic pages
    created by adobe-admin in Forum comments - View the full discussion
    I?ve been told no, it was removed from the core platform a while ago due
    to performance issues. But I will bring it up again.
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either
    reply to this email or visit the message page: [
    http://forums.adobe.com/message/3925276#3925276]
    To unsubscribe from this thread, please visit the message page at [
    http://forums.adobe.com/message/3925276#3925276]. In the Actions box on
    the right, click the Stop Email Notifications link.
    Start a new discussion in Forum comments by email or at Adobe Forums

  • Nested Buttons

    Hi guys,
    i am a fresher in actionscript... i have a problem with my
    flash file
    i have a problem with a nested button... i have a main button
    But_main and which has 2 buttons in it.
    the problem i am facing is:
    before telling u the problem i will give u a brief about my
    flash file....
    - my file has a button and the button by default has a mouse
    over effect where it scales up but 25%.
    - It also has 2 text nested in it which is also are buttons.
    my problem:
    when i am on the main button it scales up but once it comes
    across the text button it scales down automatically.
    i knw y it happens.... thats because it goes over another
    button so its out off the main button and on the text button.
    but can any one tell me the solution how can both my button
    work simultaniosly
    i hope i am abel to explain my problem properly...
    pls help...

    Takeing a guess here but i think i know what hes trying to
    say....
    he has a button say called Dave_BUT in this button he has a
    text like a label. now i could be wrong but what i think he is
    saying is that when he trys to scale the buttons text from 1 point
    to another it goes wrong as it pases over another button..
    Answer i belive is really basic flash Treat the button as a
    scene in it self create symbol "button" then you got ya 3 states
    and your 4th being hit area. Select which state you wish to change
    ie if its ya over state then use the 1st frame and then insert key
    frame. after inserting youre key frame you should be able to insert
    a simbol, say youre text... then open that as a symbol and if i got
    this right you shoudl be able to insert frames thus creating an
    animation inside the buttons state...once you have done that youl
    end up with Dave_BUT that you can drag n drop into youre
    scene....mental note here you should also be able to insert action
    script for the button also....in case this sounds like gobledy
    ****** check this tutorial out which i came across explains it
    better than i
    ps the info im trying to forward to you is at the end of this
    tutorial btu to be honest the guy rocks so watch whole movie he
    makes it so simple...
    http://tutorials.learnflash.com/videos/freebeginCreatingButtons.html
    hope it helps

  • EXIT BUTTON - PAGE NOT FOUND issue for Address

    After customization of home page, we are getting page not found error for the Exit button in Address and in some other applications, it is opening a new window and in some other applications, the screen is getting struck and the backend user id is getting locked.
    Could some one suggest me ? I feel we make the exit button invisible so that end user will not click on that totally. Is this a good idea?

    You can of course hide the exit buttin via personalisation
    read the sap note 951257 for the issue you are having
    The solution is to go and make the necessary  entries.
           -   Go to  V_T7XSSSERARBC view.
           -   Select the Area for which the exit button is not working.
           -   Enter 'Area Link Type' if not entered already.
           -   Enter 'Link Resource' if not entered already.
           -   Save the changes made.
    With regard to the WorkProtect Mode, Ifollow the note #734861 -
    "WorkProtect Mode - Global Settings".
    also check the steps here
    While creating an iView instance there are two option
    -paste
    -paste as delta link
    You should choose paste as delta link option.
    Please check the link for more information-
    http://help.sap.com/saphelp_NW04s/helpdata/en/f5/eb515d0e6a11d7b84900047
    582c9f7/frameset.htm
    We checked the attachments, it seems that when you run the application
    from preview mode you will not see 'exit' button. If you run the
    application directly you will not see 'exit'button.
    'Exit' button feature comes into picture when you consider that
    application should use home page customizing feature.

  • HT201412 my ipod 4G power button and volume button not working after updated to ios6. i also experience wifi issue. so deppresing!

    my ipod 4G power button and volume button not working after updated to ios6.
    i also experience wifi issue. my ipod can't detect any wifi signal.
    so deppresing!
    what should i do?
    i can't put my ipod to sleep, can't adjust volume, can't shut off.
    should i update to ios 6.1?
    HELP

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:       
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    -  Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar
    When iOS 6.1 comes out I would update.

  • Events and nested movieclips issue

    Hi,
    I am having the following issue with this navigation I am building. I am trying to build a 3 tear drop down navigation, where each buttons sub menu is placed inside that button. My buttons are actually just movieclips, so I have nested movieclips structured something like this:
    Button_1
        -> Button_1_1
        -> Button_1_2
               --> Button_1_2_1
               --> Button_1_2_2
        -> Button_1_3
    Button_2
    Button_3
    Each one of the buttons has their own class with it's event listenerens inside it. What happens now, is that when I click for example Button_1_2_1, I get it's event, but also, the event for Button_1_2 and Button_1. Initially, I fixed this, by attaching the events to a hitArea inside that movieclip, but now I am running into other issues and was wondering if there was a way to turn this off, so if movieclip for Button_1_2_1 is clicked, I only get the event for that one, not it's parents?
    Thanks a lot for any help!

    you're welcome.
    p.s.  in the future, please mark helpful/correct answers.

  • My back button and refresh button and my yahoo tool bar are dimmed a lot when I open up firefox. So as a result, I cannot use the back button nor my refresh button AND my yahoo toolbar disappears a lot. I have tried to get on your chat session but it is a

    <blockquote>Locked by Moderator as a duplicate/re-post.
    Please continue the discussion in this thread: [/forum/1/688252]
    Thanks - c</blockquote>
    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    My back button and refresh button and my yahoo tool bar are dimmed a lot when I open up firefox. So as a result, I cannot use the back button nor my refresh button AND my yahoo toolbar disappears a lot. I have tried to get on your chat session but it is always closed. I need one on one help. Please reply with resolution.
    == This happened
    ==
    Every time Firefox opened
    == two or three months ago
    ==
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 (BT-canvas) Firefox/3.6.3 GTB7.0 (.NET CLR 3.5.30729)
    == Plugins installed
    ==
    *-npdnu
    *npdnupdater2
    *Coupons, Inc. Coupon Printer DLL
    *Coupons, Inc. Coupon Printer Plugin
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *6.0.12.448
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *RealJukebox Netscape Plugin
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *BrowserPlus -- Improve your browser! -- http://browserplus.yahoo.com/
    *Shockwave Flash 10.0 r45
    *Yahoo Application State Plugin version 1.0.0.7
    *3.0.50106.0
    *My Web Search Plugin Stub for 32-bit Windows
    *Google Updater pluginhttp://pack.google.com/
    *Google Update
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *Npdsplay dll

    * If the menu bar is hidden then press and hold the Alt key down, that should make the Menu bar appear (Firefox 3.6 on Windows) (see [[Menu bar is missing]]).
    * Make sure that you have the ''Navigation Toolbar'' and other toolbars visible: View > Toolbars .
    * If items are missing then see if you can find them in the View > Toolbars > Customize window.
    * If you see the item in the Customize window then drag it back from the Customize window to the Navigation toolbar.
    * If you do not see that item then click the Restore Default Set button in the View > Toolbars > Customize window.
    See also [[Back and forward or other toolbar buttons are missing]] and [[Navigation Toolbar items]]
    See http://kb.mozillazine.org/Toolbar_customization

  • I can not get the phone to turn back on. My email had been blinking off so I tried turning it off. After holding down top button and bottom button it the apple sign came up then went out as it has before when I have approached it this way. But now no go.

    My phone is dead it will not turn back on after taking a step I have used in the past when I have had issues with the phone. In the past I haeld the top button and the button on the face down and it will turn black then the apple sign comes up then off. I can then turn it back on and it seems to be reset and all is good not so today. It will not turn back on.

    1. Plug phone into AC adaptor and charge for at least 30 minutes
    2. If not on, reset phone: press both home and power buttons for at least 10 seconds, releasing when the Apple logo appears.
    If no reponse to above, there is hardware damage and you need to take it to Apple or whoever provides iPhone service in your country.

  • Volume buttons and mute button don't function in Windows 8 64-bit

    Almost funny, I also have installed Windows 8 64-bit on my ThionkPad SL500 (clean install). I have read other people complaining about "Volume buttons and mute button don't function". This is exactly the same problem I have. I have found no exact procedure about what software to install to make this work. Instead people refer to other threads that often end in some desert... So, does anyone (Lenovo?) have a clear answer on what software to install (and links to those drivers please...) :-? And, yes, I have tried installing different software packages by following threads, but nothing has worked just yet... So, clear instructions / links, please :-)
    Thanks,
    Niels

    I recently found this information on the micorsoft troubleshooting website and thought of your post, not sure if you had found a solution but hopefully it is helpful.
    My keyboard volume controls suddenly stopped working
    If the volume controls on your keyboard stops working, check the Human Interface Device Access service on your computer to make sure it is set to Automatic.
    In the Start menu, type View local services.
    From the Search Results list, select View local services.
    In the Services dialog box, locate Human Interface Device Access. Make sure the status is set to “Started.”  If it is not started, click Start the service.
    Right-click Human Interface Device Access and select Properties.
    On the General tab, in the Startup type, select Automatic, and then click OK.
    Thank you for being a part of the Lenovo Family,
    Catie
    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.
    Donate KUDOS and Click "Accepted Solution"

  • My phone turns off and does not turn on, even i tries holding power button n home button for few min.... its shows nothing. i connect it to the computer n it doesnt show in itunes.  plz repl wats the prblm wid it

    my phone turns off and does not turn on, even i tries holding power button n home button for few min.... its shows nothing. i connect it to the computer n it doesnt show in itunes.  plz reply wats the prblm wid it

    Hi kamalkumar,
    I'm sorry to hear you are having issues with your iPhone. 
    The article below will provide some troubleshooting steps for this issue:
    iPhone: Hardware troubleshooting
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIs and corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 15 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged. Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    I hope this information helps ....
    Have a great day!
    - Judy

  • My Sony CDX-GT540UI only turns on with the eject button, no other buttons operate and/or work

    trying to find a fix for my CDX-GT540UI, see Subject for my problem
    Solved!
    Go to Solution.

    If you are not able to get any of the buttons on the front panel of the car stereo receiver to function or respond, follow these steps to try to resolve this issue:
    IMPORTANT: If model-specific information is needed to complete these steps, refer to the operating instructions supplied with the product. 
    If the car stereo has a detachable faceplate, clean the metal contacts with a cotton swab lightly dipped, not saturated, with rubbing alcohol.
    WARNING: There is a risk of personal injury. For safety, before cleaning the connectors, turn off the engine and remove the key from the ignition switch.
    Reset the car stereo by pressing the RESET button.
    If the issue is still unresolved, service may be required. 
    If my post answers your question, please mark it as "Accept as Solution"

  • HT201412 My ipad does not turn off...i tried pressing the Sleep/Wake button and Home button for 10 secs but no response. Also, the screen is not rotating on portrait or landscape view...any suggestions?

    My ipad does not turn off...i tried pressing the slep/wake button and home button for more than 10 secs but nothing hapened. Also, the screen is not rotating on portrait and landscape views...

    While this could potentially be a hardwar issue:
    Try a rest: Simultaneously hold down the Home and On buttons until the iPad shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the iPad back on using the On button. In some cases it also helps to double click the Home button and close all apps from the tray before doing the reset.
    If the reset doesn't work, you may need to consider restoring the iPad to factory settings

  • IPhone 5s intermittently powers off.  I have to do a hard restart (simultaneously hold down power button and home button).  Is there a cause and a fix for this?

    iPhone 5s intermittently powers off.  I have to do a hard restart (simultaneously hold down power button and home button).  Is there a cause and a fix for this?

    Hello TJLapplesupportcom,
    Thanks for using Apple Support Communities.
    Please follow the troubleshooting steps below to resolve this issue you're having with your iPhone.
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIsand corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    My issue is still not resolved. What do I do next?
    Contact Apple Support.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Take care,
    Alex H.

  • Power Button and Attention button are blinking fast

    Power Button and Attention button are blinking fast simultaneously. I have tried turning it on and off many times, opened closed all doors, but the blinking seems to be returning everytime. It wouldnt even scan. In the Scan applicacation it says "Problem Scanning - Can't find the scanner. Make sure it's turned on and connected to your PC."
    I have recently taken it to Shraf DG from where I bought it. They told that they have replaced the printer assembly. However, the printer is not working and now the warranty also got elapsed.
    Please assist

    Hello,
    Please click HERE to access the steps that should resolve the issue .
    Regards,
    Jabzi
    Give Kudos to say "thanks" by clicking on the "thumps Up icon" .
    Click "Accept as Solution" if it solved your problem, so others can find it.
    Although I am an HP employee, I am speaking for myself and not for HP.

  • If I don't have apple care, and I bought my iPhone off somebody else, would Apple still replace my iPhone 5? my lock button and home button have been glitching

    my phone has been working fabulously and I bought it off somebody else in next to new condition. however, lately the phone button and lock button haven't been working properly. the phone also heats up and gets quite hot when it's charging sometimes. would Apple replace my phone for free ?

    If it is still under warranty and the issue is the result of manufacturer defect, Apple will replace it at no cost.
    If the device is not under warranty or the issue is the result of damage, Apple will offer and Out of Warranty Replacement.
    Warranty has nothing to do with the person presenting the device, it is entirely determined by the device.  Warranty is 1 year from the date of original sale.

Maybe you are looking for

  • Can't send email when not on my home wifi

    I use roadrunner as my email.  I also have my own domain that I forward my email to my roadrunner email address.  I have configured my email using the settings at http://help.rr.com/hmsfaqs/e_rrmail_emailSettings_iphone.aspx.  I have double check it.

  • How to count number of vowels in the String?

    Write a program that calculates the total number of vowels contained in the String" Event Handlers is dedicated to making your event a most memorable one." Please help!

  • BAPI/FM for creation of CONTACT RECORD for the contract account

    Hi All, I need to create a contact record for the a contract account. The contact record details will be maintained in the table BCONT. Let me know if there is a function module/BAPI/any othere way to create a contact record. Regards Shiva

  • TypeKit Fonts Not Displaying When Published to Web

    Hello everyone.  After noodling around the forums, I found the method for using non-Edge fonts from TypeKit in a Muse site.  For some reason, however, it doesn't seem to work.  My workflow if below.  Is there something I'm missing?  Is there a specif

  • How can i get my sound to work?

    When I get a phone call or message or talk to someone, I cant hear anything. Also none of the sound in my Apps work, but when I put someone on loud speaker i can hear them?