Why do the mouseout/mouseouthandler() and mouseOver not work correctly when you use a dynamic textfield?

Hello

I made a movieclip with instance name: cs_btn

Inside of that movieclip, I have two layers. Bottom and top button dynamic textfield.
In this scenario, I have a 'more' 'out' 'down' and 'up' labels image.

It works fine, but when I use a dynamic textfield, the passage of the mouse and the MouseDown event are triggered
also when you hover over the textfield object. Even when I turned the selectable property.

Any idea of what is the cause?

In the main timeline, I made this script:

function cs_buttonEvent(event:MouseEvent):void {}

trace (Event.type);

Switch (event.type) {}
case "mouseDown":
event.currentTarget.gotoAndPlay ("down");
break;
case "mouseUp":
event.currentTarget.gotoAndPlay ("up");
break;
case 'mouseOver ':
event.currentTarget.gotoAndPlay ("over");
break;
case 'mouseout/mouseouthandler() ':
event.currentTarget.gotoAndPlay ("out");
break;
by default:
trace ("mouse five event");
break;
}

}

cs_btn.addEventListener (MouseEvent.MOUSE_DOWN, cs_buttonEvent);
cs_btn.addEventListener (MouseEvent.MOUSE_UP, cs_buttonEvent);
cs_btn.addEventListener (MouseEvent.MOUSE_OVER, cs_buttonEvent);
cs_btn.addEventListener (MouseEvent.MOUSE_OUT, cs_buttonEvent);

You can assign the check fake gold button mouseChildren property the
target in the event handler.

function cs_buttonEvent(event:MouseEvent):void {}

If (event.target! = cs_btn) return; bug out

trace (Event.type);

Switch (event.type) {}
case "mouseDown":
event.currentTarget.gotoAndPlay ("down");
break;
case "mouseUp":
event.currentTarget.gotoAndPlay ("up");
break;
case 'mouseOver ':
event.currentTarget.gotoAndPlay ("over");
break;
case 'mouseout/mouseouthandler() ':
event.currentTarget.gotoAndPlay ("out");
break;
by default:
trace ("mouse five event");
break;
}

}

Tags: Adobe Animate

Similar Questions

  • Problems to show the driver IVI and property loader error messages when you use a type of operator interface

    I use UI operator (programmed in ICB, with asynchronous timer) in the folder OP1 in attached zip file. This operator interface does not have the error message from the driver of the IVI, properts, charger etc. on the screen (messages as in the photo attached error.jpg in zip file attached). Due to stability problems, I use this operator interface, but I need these error message. One other operator interface is OP2 in attached zip file. This operator interface puts the error message from the driver of the IVI, charger properts... on the screen (messages as in the photo attached error.jpg in zip file attached). Now, I want to have this feature with OP1 for reasons of stability I use OP1. How can I implement this in OP1? I tried and tried a lot of time, but I have not found a method to implement this. can someone help me? Thank you kind regards Samuel

    Hello, Johann,.

    I'm not sure you understood my problem. My problems are not the IVI and loader drivers error messages property! But my problem is, that errors of the IVI drivers and property loader operator interface does not bring on the screen. So to test this situation, cause an error of the driver of the IVI or shipper of property, then you can see that with a PC, you have an error message and with another IO no error message takes place and the test of stocks without a message. Do you know why this OI does not show the error messages and how showing the error message can be implemented in this operator interface

    concerning

    Samuel

  • "Could not perform this operation because the default mail client is not properly installed" when you use Windows Mail

    Original title: loss of entrance of Protocol in the list of saved files

    I use an old Toshiba laptop of two year with Vista as an operating system. It came with a trial version of Microsoft Office already installed. I had no use for it then after the trial expires I uninstalled. This seems to have created a minor problem with the e-mail program. When I visit a Web site and click on 'Contact us' I get an error message as follows "cannot perform this operation because the default mail client is not properly installed." I suspect strongly as during the uninstallation of office he removed a protocol in the list entry, similarly, the bottom of the list of the saved files. A check with other similar computers with Vista installed seems to confirm this. If someone at - it a quick fix to this problem? I don't want to resort to installing a whole new email software to fix this minor problem if I can avoid it.

    Hello Karena R, yesterday, I downloaded and installed Windows Live Mail, and I must say that I prefer Windows Mail Live Mail program. After making sure that Live Mail is the deafult for all messaging functions and that the entry "Mail Protocol" was now back to the list of saved files, I checked the problem mentioned in my original post. He is not fixed! Another small problem is fixed now if. In my "drafts" mailbox I have some e-mails stored there and when I click on one of them upwards now comes an email with the appropriate address inserted in the address line. Who could not before. I used to get this error message, which is now the new title of my post. So why the difference when I click on email address that I find on Web sites? Now, I also find that by Michael following the instructions (below), I do not see an entry "mailto" but his suggestion to step d. type in "URL Protocol" is not appropriate because it is already there. The installation of an entirely new email software should have my computer all the necessary entries for the new program to function properly in all respects. So what's happening? It begins to look as if uninstalling the program Office has pulled something real Vista operating system.

    It's a good thing, I thought of the research on other boards for my missing post.

    HKEY_LOCAL_MACHINE\Software\Classes\mailto

    c. in the Edit menu, select new, then clickstring goodwill.

    d. type of Protocol of URL as the name of the new string value

    e. exit the registry editor

  • Match pattern does not work correctly when you are looking for a null character

    I use the match pattern to retrieve a string NULL completed a response, I'm getting a device on a serial port. The VI is attached and here is a screenshot of the block diagram.

    It works very well with the index value 0, 1, or 2. When index is 3, I get the result below.

    Why model matching is not finding the null character?

    Thank you!

    I'm Datura, need to remove the cable from the shift control for the control of the match pattern.

    DUH!

  • e-mails do not print correctly when you use MS Outlook

    I was forced by msn.com to accept an 'upgrade' of MS Outlook Hotmail vice for my msn account. With Firefox Outlook of 19 cars loaded and I can read my email, but I don't get the Outlook buttons for printing, etc. If I try and print a mail with Firefox (click on file, then print), the output is not email, but rather a 'view' print, that is, the entire email will print not so long, and all the elements of print screen as well. I am at a loss in trying to solve this problem and have spent a lot of time trying to find answers online. I use Windows 7. Any help would be greatly appreciated.

    On mine, there is a menu «...» "where I have the command to bring up a version in the printing of the message format. You will find that, and made the opening of pop-up windows? If it is blocked, you may need to create an exception in the blocker for live.com.

  • Print templates do not work correctly when you change the orientation - prints come out with no dye if I closed and reopened LR

    I have two main models I use, their use for just the month without problem on a mac, you have a PC and installed CC in Lightroom, but he has decided that she wants to be stupid. This product only when I move a model oriented portrait in a landscape oriented one or vice versa. Sometimes I can fix it by exchanging between many different models and more and all of a sudden he finds himself again and I'm good to go. I * could * close and reopen Lightroom but it mucks up to printing, the model goes back to normal, but the next draw will be missing a color completely. Its a big waste of ink when a set of my inks costs $500. I'm on a PC and have the latest installed version of LR. I have attached the screencaps. Some would like TO help on this issue.both.jpg

    To anyone who has this problem, Adobe fixed it for me. When and only when the model is displayed correctly (usually on start-up LR) then right-click on this model and choose "Update with current settings". As the models were created on my mac for a reason any PC did not want to make them work properly. They will be working always once start LR so this should be an opportunity for you to correct!

  • Key board does not work correctly when you type. Can not get the system restore to work properly, either

    Tried to run the system restore, but it will not restore.

    Hey AnnEdelstein,

    Because you can't get the system restore to work, perform a clean boot on your Windows XP system. The guide to that is here. Which follow, and then try again to Outlook. If it works to the minimum, then boot in the boot, analyse the whole system with your Antivirus and other security you have.
    Also make sure you have the drivers for the keyboard. Search for the manufacturing of the keyboard, and they should have the drivers on their support site. I hope this has been helpful!
  • Blue contours appeared and I can't control my iphone 5 s. I can't go to settings. I triple click on the button "home" and gives a message to go into settings and enter the password but I can't get to the settings. What does not work? Thank you

    Blue contours appeared and I can't control my iphone 5 s. I can't go to settings. I triple click on the button "home" and gives a message to go into settings and enter the password but I can't get to the settings. What does not work? Thank you

    The blue plan is switch control.

    s http://gettecla.com/blogs/News/15538916-what-is-switch-control-mode-in-apples-IO

    Triple click to get rid of him.

    "Siri to the rescue.  I said turn off the control switch. »

    Re: How to disable the switch control

    I don't get a request for an access code.  What is a school system?

    switch control

    Settings > general > accessibility > switching control

    R

  • "Non-rectangular objects will not display correctly when you export with the help of CSS."

    I use Ind CC 2014 export a document to an epub recomposable.  The document contains a picture .ai.  The image export correctly in some parts of the the.epub, but not others, when it is deformed. There is a warning on export: "Non-rectangular objects will not display correctly when you export using CSS."  Any suggestion is appreciated.

    Hello

    For these objects, the best option is to 'rasterize container"to preserve appearance of the page layout setting in the Options of the Export Object dialog box and then export to EPUB recomposable.

    Kind regards

    POOJA

  • Satellite M30-113 does not work well when I use FreeBSD 6.2

    Hello

    My M30-113 does not work well when I use FreeBSD 6, 2-RELEASE http://www.FreeBSD.Org/

    I was told that Toshiba has release a new bios to correct the problem of cooling, because it does not allow me to fan passive cooling in FreeBSD.

    So could we have a new bios to solve this issue?

    Arabian salvation

    I am sure that mobile industry is focused on Windows operating system and hardware architecture together and preinstalled software are adapted and also configured to run well and stable.

    This operating system is supported and if something should be better portable manufacturers offer different updates to the BIOS. Of course, you can preinstall what you want but you can not expect support for everything you can find on the market and because of this I n t believe that you won't find any update especially for FreeBSD 6.2 - RELEASE BIOS.

  • Application does not work correctly when I press a CommanButton

    Hi all, I'm having a problem with weblogic 10.3.5.

    It turns out that an application created with JDeveloper 11.1.5, I have test and all is well in that the JDeveloper integrated Weblogic.

    But when to deploy on a stand-alone 10.3.5 weblogic server, the application does not work correctly when I press a CommanButton to go to another search page (the 'action' property is properly set), but nothing happens, remains in the same home page. Similarly when a link of commanButton to run a workflow, it does not work, however in the integrated JDeveloper to Weblogic it works correctly.

    How can I solve these problems?
    Thank you.

    One thing you shouldn't do is add '.jspx' to your URL. This shows the page, but does not start the life cycle of faces that show not work button not working navigation.
    Use

     http://:7001/myApp/faces/index
    

    And it should work.

    Timo

  • Built in mic on my Aspire 5738ZG do not work properly when I use Skype. I'm on windows xp.

    Built in mic on my Aspire 5738ZG do not work properly when I use Skype. I'm on windows xp, 32 bit. I installed the drivers Audio Realtek Acer official website but the microphone is still very low. Other people have said that they hear me very bad when talking on Skype, for example. What can I do?

    You must check the Panel realtek on Mic Boost.

    I don't know what version you have, but you can find some practical information to search on youtube on "realtek mic boost.

  • I have an Apple computer, use the browsers Firefox and Safari, use Comcast for my email. Lately, when the Firefox, my email does not work correctly. Why?

    I have an Apple computer, use the browsers Safari and Firefox. I use Apple mail and Comcast to my email. Lately, in the case of Firefox, my email does not work correctly. I get a message "your server license has expired. While usually, I can access my emails, I can't delete the unwanted emails. This problem will not occur when I use Safari and Apple mail. Is this a problem of Firefox or Comcast? Do you know what license is expired?

    Hello

    Many issues of the site can be caused by corrupted cookies or cache. To try to solve these problems, the first step is to clear cookies and cache.
    Note: This will be you temporarily disconnect all sites, you're connected to.
    To clear the cache and cookies to do the following:

    1. Go to Firefox > history > clear recent history or (if no Firefox button is displayed) go to tools > clear recent history.
    2. Under "Time range to clear", select "all".
    3. Now, click the arrow next to details to toggle the active details list.
    4. In the list of details, see the Cache and Cookies and uncheck everything.
    5. Now click the clear now button.

    More information can be found in article to clear your cache, history, and other personal information in Firefox .

    This solve your problems? Please report to us!

    Thank you.

  • I get the message "files for the recovery diskette could not be created" when you use the backup utility. Why?

    I was using the Backup Wizard, backup all info on the computer to an external hard drive and insert a diskette in the drive.

    Hello

    · What is the edition of windows that you have installed?

    · What is the service pack installed?

    Try the steps listed in the link below: year Error Message is displayed when you try to use the Automated System Recovery Wizard: http://support.microsoft.com/kb/302700

  • Unable to run email of announcement of Craigslist with Firefox web browser. The link works fine when you use Internet Explorer. Don't know why this problem?

    When I click on send to a Craigslist of announcements of sale, e-mail software does not run. When I used the same craigslist Web page with Internet Explorer, the e-mail program runs without any problem. Not sure why this problem?

    If you change your preference of mail helper in Firefox for 'other use '.... "you are presented with a command prompt to select an application click 'Browse... '. "and browse your computer for the program of choice. Even if you're already shown two e-mail programs, try to re - select the one you want to use via the method go and then try again to open a mailto link.

    If this does not work, open your profile button in folder

         Help > Troubleshooting Information
    

    and the release of Firefox. With Firefox closed, remove the file "mimeTypes.rdf" of your profile folder, and then restart Firefox and Firefox will re - build the helper, file applications and you can try again to send someone from a link.

Maybe you are looking for

  • Tecra M9 - where can I get the drivers for Windows 7?

    Hello I want to install on my computer laptop windows 7.Before I made it there's a lot of DRIVERS / suitable for downloading applications? Thank youKobi

  • X 220 output selection?

    I just got some nice speakers and the instructions say to connect it to the line output, no helmet. Is there a way to make the X 220 output signal ouput instead of headphones? I don't find such an option in controls Audio Smart or Windows 7. In the p

  • the update failed

    failure of the update of the KB2431831 646 error code

  • HP OfficeJet Pro 8620: Why do I need to install the color when I never use color?

    I just ran black ink. I replaced the black cartridge with a new one one XL.  Now it tell me I need to replace one of the color cartridges to print just in black.  I never use the color and do not want to buy color cartridges. Is there away around him

  • How to close a dialog box?

    Hello I displays a dialog with a Yes and no UiApplication.getUiApplication().invokeAndWait( new Runnable() { public void run() { int response = Dialog.ask( Dialog.D_YES_NO, "Do you want to continue?" ); // waits here for user interaction if ( respons