Buttons dont react when add mask listener...

in the loop of the xml i added all the necessary buttons from the nodes and i drew, added and applied a mask to each container.
the buttons has eventlisteners.
all those working correctly..all working except 1 tiny but essential thing...
for my mask -is a must it has a mouse_out eventlistener or some kind of event, so i can make a function to set a boolean.
myMask.buttonMode = true;
myMask.addEventListener(MouseEvent.MOUSE_OUT, mouseOutMask);
function mouseOutMask (e:Event):void {
trace("masking out");
now when i added this, all my other buttons seems not to work anymore... i get the trace, but my actual buttons is not responding.
the logical why, i can think off is that this myMask movieclip is on top all those buttons if it become to be a listener it act as a whole and overlap all the buttons...
something like that i guess. or i just did something wrong
but is there some kind or any way to make out of the mask a Listener when my mouse is out thati can enable the function i want
without that my buttons below not working anymore??
tnx

Yes, the mask will block mouse access to anything under it as soon as you apply mouse code to it.  Without knowing the true intentions of your wanting to do when you're over that area it's hard to offer a solution, but one way would be to have something under the buttons that has mouse code instead of something over it.  Another possible approach is to keep track of the mouse position using a MOUSE_MOVE listener to trigger a check on where you are on the stage.

Similar Messages

  • Which buttons dont work when you run windows xp

    the keyboard for a mac and a pc are kinda different. are there ne buttons that dont work when you run xp with bootcamp?

    Only one I can think of (if you're using the latest version of Boot Camp) is the "delete" key won't act as "delete" (such as in ctrl + alt + delete) under Windows. Other than that, every other key should function correctly. (The Apple/CMD key will work as the "Windows key." And the "option" key will be "alt."

  • ECourse radio buttons dont work when published as a HTML file

    Hi Guys
    We are creating some eCourse's in Captivate 7 but when they are published in to HTML format the radio buttons don't work - they wont let you click them. (Have tried IE, Chrome and Firefox)
    However is you publish the course as swf it works fine - unfortunately the web provider we upload to doesn't support swf so they NEED to be HTML
    Any ideas on a fix? We did a chat session to a support guy and he said as a workaround copy all slides to a blank project and publish that which we have done today and the same issue has is there.
    Thanks
    Adam (Georgiou Group PTY)

    Noni,
    I am assuming you have Windows 7 and you have SP1 installed
    As a testing, please follow these steps :
    1) Close Adobe Captivate 7
    2) Go to this location : C:\Users\user_name\AppData\Local\Adobe
    3) Rename "Captivate 7.0" folder to "1234"
    4) Launch Adobe Captivate 7
    5) Open any of your projects and then republish it.
    If issue still occurs, share one of your project with me ([email protected])
    Let me know if your project is > 50 MB
    Thanks,
    Vikram Gaur

  • Can't add mailboxes to gmail but when I try the same procedure with Bell mail I don't get an edit button so can't add any mailboxes.

    I have 2 email accounts Gmail and Bell mail. I can add mailboxes to gmail but when I try the same procedure with Bell mail I don't get an edit button so can't add any mailboxes.

    Mailboxes can be added only to IMAP accounts. Is Bell setup as IMPAP or POP?

  • Hello, well the other day i bought Angry birds with an Add " mighty eagle", and i had to reset my iphone and when i re-install the app Angry birds i dont have the add and i dont know how to get it back some1 can help me!?

    Hello, well the other day i bought Angry birds with an Add " mighty eagle", and i had to reset my iphone and when i re-install the app Angry birds i dont have the add and i dont know how to get it back some1 can help me!?

    Se if this helps:
    iTunes Store: About In-App Purchases
    Do you have a backup to restore from that would have included that in-app purchase?

  • Multiplayer buttons of keyboard dont work when i minimize the itunes

    Multiplayer buttons of keyboard dont work when i minimize the itunes,I really need help and this makes me freaking mad.

    Hi,
    Please see the various suggestions given to a similar question here: [https://support.mozilla.org/en-US/questions/857405]
    Let me know if none of those work.
    --Edward

  • My number buttons on my laptop dont work when I use firefox, but they work on internet explorer. what can i do to fix this?

    I downloaded the newest version of firefox. now my number buttons dont work, but they do work on explorer. How do I fix this?

    Hi,
    Please see the various suggestions given to a similar question here: [https://support.mozilla.org/en-US/questions/857405]
    Let me know if none of those work.
    --Edward

  • Flash buttons dont work in Dreamweaver Preview

    I have made a intro using flash catalyst.  I can preview in internet explorer using flash catalyst and everything works great including all button actions taking you to a different url. I then publish to my website: I added ALL the exported webfiles into a folder in dreamweaver.  I than placed the main.swf on a  blank page.  It views perfect in Internet Explorer, Chrome, and Firefox.  The up and over state of all buttons works, but when you click the buttons that are supposed to take you to another URL nothing happens.   The buttons that change state do work completely however? I also opened the html file included from flash catalyst and it views fine as well, with the same result the url action buttons dont function.
    Thanks for any information I am new to dreamweaver.
    Andy

    Hi toodoo, What version of the flash plugin are you using and can you please provide an example url where this does not work?
    To make sure it is not an add on preventing the button from working you can also try safe mode.

  • Volume button dont work correctly

    Hello,
    I have iPhone 4S on 5.1.1 which I bought in September last year.
    Yesterday when I listen to music with my iPhone I found out the the MINUS volume button dont work correctly.
    It's need to push him hard to decrease the volume. however the PLUS volume button work correctly.
    In addition there is no "click" sound when I press the minus volume button.
    what should I do?
    I live in ISRAEL and there isn't Apple Store here so the only solution for me is to contact the carrier which I bought the iPhone from them but they probably will require payment for the repair.

    sorry but i actually need to use the volume buttons Jujusoccer11
    i've tried resetting already and restoring from back up already but still has the same problem lllaass,
    i'll try restoring to factory defaults now, i hope  it works

  • How to know which leaf node i click and how to add a listener to each node?

    hi! hello to all members, i have a problem i know how to create a listener, but i dont know how to add a listener to each leaf node. here is the scenario i want to do, i have a JTree where theres a topic that you can select on each leaf node, so when the user click the specific topic it will open another JFrame,which i dont know how to do it also, that its! the next problem will be how do i know which leaf node i select, so that i can open a right topic before the JFrame will open?please, i am very need this to solve quickly as possible. thanks again to all members.

    What you have to do is to add a mouse listener on your JTree. Try something like this:
    tree.addMouseListener(new java.awt.event.MouseAdapter() {
             public void mouseReleased(MouseEvent e) {
                tree_mouseReleased(e);
    private void tree_mouseReleased(MouseEvent e) {
          TreePath selPath = tree.getSelectionPath();
          // Check If the click is the Right Click
          if (e.isPopupTrigger() == true) {
          // This is your right Click
           else {
                     // This is your Left Click
    }Your other problem: Set the userObject on nodes and on left click compare it with your object, if it matches, display the appropriate file. Alternatively, if your nodes are unique, you can match the names to open the file.
    Hope this Helps
    Regard
    Raheel

  • How to add event listener?

    i want to add event listener when i click on a button in mxml, the event listener should be added in the action script file, how to do this?
    can anyone help? urgent!!!

    Hi Lakshmi,
    You can do this just put all the script in the mxml block in seperate AS file as shown below... Observe that I have included an AS file named Script.as and removed the script block form mxml and moved to this Script.as file. Place the Script.as file in your src folder ....
    // Main mxml file....
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="onCreationComplete()">
        <mx:Script source="Script.as"/>
    <mx:TextArea id="textArea" width="300" height="100" />
    <mx:Button id="myButton" label="Click ME"/>
    </mx:Application>
    //Script.as file
    import mx.controls.Alert;
                private function onCreationComplete():void
                 myButton.addEventListener(MouseEvent.CLICK, onButtonClick);
                private function onButtonClick(event:MouseEvent):void
                 Alert.show("Button is Clicked");
    Thanks,
    Bhasker

  • Hp dv7-1245dx media smart button dont work

    hi, i have a hp pavilion dv7-1245dx, i format de drive c and install the windows vista 64 in spanish because im in argentina, but before search and install all drivers,my media smart quik lunch button dont't work, I intall all drivers from the hp web, then the media smart button work bad because y install the dvd play and when I push the buttom sound like i push 2 twise and open the dvd play no the mediasmart menu, then i unistall the dvd play, the media samart work good from the computer icon but to the button dont work, sound like two twise again but dont open nothing, y don't know what to do? I unistall and install again all quik lunch buttons and finger print drivers.help me plase, and another thin. when i format i lost the webcam software i would like someone help me to recober it .  
    thanks
    PD: sorry for the write erros I from argentina I dont speek english very well.
    Message Edited by nachodv7-1245dx on 07-25-2009 10:44 AM

    I have the exact same problem.  I noticed this started after some windows update just prior to upgrading to Windows 7.  And then it got worse after the upgrade. 
    I'm having to go into the task manager and end the smartmenu.exe application just to stop the nagging volume bar across the middle of the screen and just to use the computer, but the Volume still jumps around rapidly.
    Please, HP read this and help.
    Robert S. Rodriguez Jr.
    Robert S. Rodriguez Jr.

  • I can't connect my iPod classic to iTunes, it just doesn't react when I put the USB into the PC

    hey, I have an iPod classic and it can't connect to iTunes.
    I put the USB into my computer trying to add music, but it doesn't seems to react.
    It DOESN'T say that it can't recognize the Ipod..
    - Itunes just simpely doesn't react when I put the USB-cabel into my computer.
    - when i go to the task manager the "apple device mobile" and "ipod service" is acitve in the processes
    - I've tried to restart my computer (windows XP)
    - update iTunes
    - reinstall iTunes
    - restart my apple devices mobile manager
    what I think is the problem (which I can't solve) is that iTunes doen't even react to the USB
    plz hlp me!
    - ps it really should be able to add music to my iPod without getting help from a expert.

    Hello qz0rz213,
    It would seem that iTunes has encountered or developed an issue in the process of trying to sync photos to your device. The best place to start would be removing the iPod Photo Cache (thus allowing for a new version to be created).
    Note: Deleting this folder will not remove the original images from your library.
    iTunes: Understanding the iPod Photo Cache folder
    http://support.apple.com/kb/TS1314
    If the issue is not resolved by removing the iPod Photo Cache, the following article goes into further steps that can both help you determine the source of this trouble and eliminate it.
    Symptoms
    In certain situations, iTunes may display an alert or may be unable to sync photos to an iPod or iOS device. Examples include:
    After updating iOS, iTunes displays an alert that there is not enough room to sync photos
    This error appears: "The iPhone/iPod touch '[device name]' cannot be synced. The required file cannot be found."
    This article outlines steps to resolve these issues.
    iTunes: Unable to sync photos
    http://support.apple.com/kb/TS3697
    Cheers,
    Allen

  • When add a people picker (user column) in Word document (Template) and try to add a name it stuck!

    When add a people picker (user column) in Word document (un the document Template) and try to add a name it stuck!
    Is it a known issue?
    keren tsur

    Hi,
    According to your description, I have tested in my environment and I  have the same behavior.
    Only if you type the wrong name in the first time, then you click the phone book to search the right name and save, it will stuck. It means if you do other operation(e.g. type the wrong name then click “resolve” button, then search in the phone book) and
    repeat the operation above, it won’t stuck.
    It is appreciate that you can submit a feedback to Microsoft:
    https://connect.microsoft.com/
    Thanks,
    Dean Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to make a button stay down when I click on it in  CSS nav bar.

    So I have created a horizontal navigation bar, I use the CSS
    Sprites/Pixy method to get the hover working with the same image as
    the link/in active stage of the buttons.
    Now how do I make the button stay down when someone click on
    them?
    These are the codes for the nav bar.
    #nav{
    width: 780px;
    list-style: none;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    padding: 0;
    height: 40px;
    #nav li{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    float: left;
    padding: 0;
    #nav a{
    width: 125px;
    display: block;
    color: #000000;
    text-decoration: none;
    text-align: center;
    background-image: url(ZITTO_IMAGES/button_set1a.jpg);
    background-repeat: no-repeat;
    background-position: center 2px;
    padding-top: 14px;
    padding-bottom: 10px;
    background-color: #000000;
    #link2,#link3,#link4,#link5,#link5,#link6 { margin-left:
    6px;}
    #nav a:hover{
    background-image: url(ZITTO_IMAGES/button_set1a.jpg);
    background-repeat: no-repeat;
    background-position: center -36px;
    color: #FFFFFF;
    width: 125px;
    padding-top: 14px;
    padding-bottom: 10px;
    background-color: #000000;
    Everything works so far, the hover works when you roll the
    mouse but when you click the button goes right back.
    How can I make it stay down and then go back to normal when
    you click on another link/button?
    Thanks very much.
    Patrick

    Read my suggestion again. You are missing a critical point. I
    show you
    exactly where to put the stylesheet. And it doesn't matter
    how many
    stylesheets you have on a page.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Webethics" <[email protected]> wrote in
    message
    news:[email protected]...
    >
    quote:
    Originally posted by:
    Newsgroup User
    > Change this -
    >
    > #nav a{
    > width: 125px;
    > display: block;
    > color: #000000;
    > text-decoration: none;
    > text-align: center;
    > background-image: url(ZITTO_IMAGES/button_set1a.jpg);
    > background-repeat: no-repeat;
    > background-position: center 2px;
    > padding-top: 14px;
    > padding-bottom: 10px;
    > background-color: #000000;
    > }
    >
    > #link2,#link3,#link4,#link5,#link5,#link6 { margin-left:
    6px;}
    >
    >
    > #nav a:hover{
    > background-image: url(ZITTO_IMAGES/button_set1a.jpg);
    > background-repeat: no-repeat;
    > background-position: center -36px;
    > color: #FFFFFF;
    > width: 125px;
    > padding-top: 14px;
    > padding-bottom: 10px;
    > background-color: #000000;
    > }
    >
    > to this -
    >
    > #nav a{
    > width: 125px;
    > display: block;
    > color: #000000;
    > text-decoration: none;
    > text-align: center;
    > background-image: url(ZITTO_IMAGES/button_set1a.jpg);
    > background-repeat: no-repeat;
    > background-position: center 2px;
    > padding-top: 14px;
    > padding-bottom: 10px;
    > background-color: #000000;
    > }
    >
    > #link2,#link3,#link4,#link5,#link5,#link6 { margin-left:
    6px;}
    >
    >
    > #nav a:hover{
    > background-position: center -36px;
    > color: #FFFFFF;
    > }
    >
    > Then on each individual page, change this -
    >
    > </head>
    >
    > to this -
    >
    > <style type="text/css">
    > #nav a#link4 {
    > background-position:center - 36px;
    > }
    > </style>
    > </head>
    >
    > (for link4, for example)
    >
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    > ==================
    >
    >
    > "Webethics" <[email protected]> wrote
    in message
    > news:[email protected]...
    > >
    quote:
    Originally posted by:
    Newsgroup User
    > > When they click on a button, do they go to another
    page? And is each
    > > button
    > > uniquely identified?
    > >
    > > If so, then put a little stylesheet on each such
    page that sets the
    > > particular button to the down sprite settings,
    e.g.,
    > >
    > > a#link6 { downspritevalues }
    > >
    > > --
    > > Murray --- ICQ 71997575
    > > Adobe Community Expert
    > >
    > >
    > > This is the link to the page.
    > >
    http://www.patrickjudson.com/zitto_web1d.html
    > > What state do I use to get this effect? The active
    or the visited?
    > >
    > > I want the buttons to remain down when click or
    even better, how do I
    > > get
    > > the
    > > welcome button to appear down when a person visits
    the page to show them
    > > they
    > > are at the home page.
    > >
    > > Thanks so much. Patrick
    > >
    > >
    > >
    >
    >
    >
    > Hey! Murray, thanks very much for the efforts. However
    I'm still confused
    > as
    > to where to insert the individual styles on each page.
    >
    > The pages already have a style sheet, in fact they all
    share the same
    > style
    > sheet. The following codes below is what you instructed
    but I'm confused
    > as to
    > where to insert them since the page already has a head
    opening and closing
    > as
    > well as a style opening and closing tags. Can you please
    add the codes you
    > instructed so I can see where they go and how to
    implement them?
    >
    > Thanks - Patrick
    >
    >
    > Then on each individual page, change this -
    >
    > </head>
    >
    > to this -
    >
    > <style type="text/css">
    > #nav a#link4 {
    > background-position:center - 36px;
    > }
    > </style>
    > </head>
    >
    > (for link4, for example)
    >
    >
    >
    >

Maybe you are looking for

  • Currency Translation over several periodes

    Hi, I have a query on cube 0figl_VC1, on rows 0glaccext and one column with 0balance currency translation type: from source curr. to EUR, with our own exchange rate type and variable time ref beginning of periode (0FISCPER) exchange rates are updated

  • Wwf turns on my apple tv 3

    When I put my ATV 3 in sleep mode and play words with friends HD on my Ipad, the video commercials turn on my ATV and it says "playing on your Apple TV". I have mirroring turned off. How do I stop this?

  • Urgent help  pls: SSL

    Hi Experts, I am new this concept of SSL. I have a ejb sitting in a weblogic. I dont have user based authentication. But only from certain hosts, my ejb should be accessible. I read lot of theoires about certificate, keystore, CA etc. But can any one

  • How can I find out if I am eligible for the free upgrade?

    I have a current model MB Air, bought in January this year. How can I find out if I am entitled to the free Lion upgrade? I had a runt around the Lion app store page but couldn't find anything. Thanks in advance SR

  • My text editor has stopped working

    I can't be sure if my document saved or not as the text editor stopped working during/after i was saving the document. If i restart will i loose my work if it hasn't saved?