GUI - how to block the execution of the parent event handler

Hello

IM learning flex, I did my first http://www.narutogis.appspot.com/ app and have some problems with the events of the controls.

my application is composed of canvas (as a parent) + 4 buttons + image (svg) and now:

  • When I click on one of the 4 buttons as their 'click on' events are triggered, but after that it also runs 'click' event of the canvas parent. I don't want this feature can I block sort of parent controls event handlers. SImple click on the button must execute only the button ' click on ' event, nothing more
  • When I click on the image it won't run "click event" canvas parent (reverse situation to that at the top) by clicking on the Image cntrol must execute the 'click' event Image and also parent canvas 'click' event

You probably need stopImmediatePropagation()

http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=events_08.html

If this post answers your question or assistance, please mark it as such.

Greg Lafrance
www.ChikaraDev.com

Flex development, training and Support Services

Tags: Flex

Similar Questions

  • Rank Selector - how to set the onclick event handler?

    I have a set of master-detail forms and would like to respond to the onclick event of the line selector. When I go on the line selector column attributes I don't see anywhere to set the onclick event.

    The other elements of tabular presentation have a field 'Attributes of the element' that I use usually, but not line selector. I just missing something?

    I'm open to alternatives as well. The reality is, however, I do not need anything either complicated or sophisticated. When the user clicks on the box I collect data from the current row and initiate an AJAX call. I have to submit the page, etc.

    Thank you

    Brent

    I think the only way to do this is to use the package apex_item like this:

    http://HTMLDB.Oracle.com/pls/OTN/f?p=31517:170

    Standard line selector is not an option to fix the JavaScript to it.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • How to block the site from the db with Mozilla?

    How to block the site from the db with Mozilla?
    I noticed this file is blocked by some customers of Mozilla. Is this possible to Mozilla software and security settings?

    On another machine it works but the other cannot be connected to the database. This puts inside Mozilla technical possible?

    See:

  • How to block the registration of files with a windows xp-specific extension

    How to block the registration of files in windows xp with a specific extension, example the user cannot save a file with the extension exe or mp3 or another, as management on the filtering of files, windows 2003 server, I can't find the steps for the blocking process I mean in windows xp prof

    Windows cannot do natively.  A file name is simply a file name and you can not prevent the registration of a file based on its extension.

    You can change file associations, such as a double click on a file with a particular extension will not automatically launch an application given, however, but that's not what you asked.
    You may also schedule a program to run from time to time which will erase all files with a given as well.  but until this program is executed, such a file might exist on your disk.

    HTH,
    JW

  • need to know how to block the ophcrack from running, my child uses this to get my password and in the parental controls in vista

    you want to know how to block the ophcrack from running, my child uses this to get my password and in the parental controls in vista. I have 3 accounts going 2 for children and one for the parents/administrator. I found ophcrack in several places on the computer. any help would be greatly appreciated

    The only question the idea of Malkeleah, that is when you put a password on BIOS, all you need to do is pop the battery from the motherboard and the password is gone. Faronics has in some programs such as anti-executable and a few other programs that may block the name or ID of a process and prevent it from running (some antiviruses have that option, such as Avast, but usually is a pain in the ass to configure)

  • How to block the automatic Flash updates?

    How to block the automatic Flash updates?  Blocking possible updates in the registry? If Yes, then how?

    These questions are in reference to a work environment where Flash updates will be deployed by SCCM.

    Please see the section 'Update' chapter 4 'Administration' in our administrator's guide - http://www.adobe.com/devnet/flashplayer/articles/flash_player_admin_guide.html

  • How to rehabilitate the Parental control?

    During the installation process of Windows 7, I made a mistake: I chose the domain Mode (when should I choose the user Home Mode) there are three butterflies.

    When I try to run games with side as an adult, I have can´t access.  It appears messages like 'Parental controls blocked this game' or 'you don't have permission to run the game.  Check the Parental control in the game Explorer window.

    I have no Parental controls in Control Panel.  How to rehabilitate the Parental control?  or how to rehabilitate the Home user in Windows 7 with Parental Control Mode?

    Note: I am the rights owner and the administrator of my computer.

    TododeAzul,
    Click Start > computer (right click) > properties > change
    This will give you the ability to change from a domain to a workgroup.  After that, change is effective, it should open the Parental controls for you. Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to clear the administrative events - Event Viewer log

    Hello:

    Anyone know how to clear the administrative events log listed under custom in the event viewer views?

    All the logs listed in Windows logs do not have options to clear, but the back above.

    Thank you

    ColTom2

    Hey Colonel,

    It is because this isn't 'really' a newspaper, in itself.
    This is a Search of the newspaper (and there is MUCH more that most people know), filtered to show all events in administrative type.
    The source column shows you which newspaper it came from originally.

    To get rid of them, you will need to erase all records.

    If you want to get an idea:
    Go down to the Applications and Services logs, and expand.
    Microsoft, expand it.
    Then Windows.

    Nice list?
    You need to open and delete all. To really delete it.
    VP Tech Services

  • The onDeactivate event handler does not work in InDesign CC. Why?

    Hi guys.

    I'm working on a script in Javascript for InDesign CC.

    The big problem is that the onDeactivate event handler does not work.

    Here is an example that works in InDesign CSx, but not in InDesign CC:

    #target indesign
    var w = new Window ("dialog", "Test onDeactivate");
    var et_1 = w.add("edittext", [undefined, undefined, 300, 30], "Lorem ipsum");
    var et_2 = w.add("edittext", [undefined, undefined, 300, 30], "Dolor sit amet");
    var st = w.add("statictext", [undefined, undefined, 300, 30], "CONSOLE:\r\r", {multiline: true});
    et_1.onDeactivate = et_2.onDeactivate = function(){
         st.text = "CONSOLE: I left the field with this text:\r\t«" + this.text +"»"; }
    var b_ok = w.add("button", undefined, "OK");
    w.show();
    

    The script displays a dialog with text edit fields window 2: when a field loses focus (by clicking on the other), the "CONSOLE" shows the text of the old domain.

    Adobe, please, solve this problem as soon as possible.

    Thank you.

    Giorgio

    This is a bug, and it has been reported. Please report it to yourself, more the better reports. It's no good Adobe invite you in this forum to fix something.

    Peter

  • How to block the popup "you are the lucky visitor" each time I open Firefox. I can't find any information in the box add on lists et al. thank you!

    Recently, my v25.0 of Firefox is faced with a problem of popup. A popup message saying ' you're visotor of luck today, please click Ok to opportunities. " I have to click Ok then I can continue to use the browser. What is a popular problem? Please tell us how to block this popup. Thank you!

    Hello

    First of all apologize for suggesting tools of Windows malware. I have noticed that you are using a Mac. Thanks to Cor - El for this note.

    On your machine, you have the following extensions. Is it possible to uninstall / disable these extensions and then try if the popup appears

    1. PIN button 1.1
    2. ShareThis Toolbar 1.300.436
    3. Shop.com Community Toolbar 3.20.0.4
    4. ShopBuddy 1.0.24
    5. Convenience store 1.1

    You can follow the below mentioned instructions [1] uninstall/disable extensions.

    In regards to Safe Mode, removing bookmarks, without this can't. That said, it is always advisable to make a backup of your bookmarks (and your profile in general) [2] so that you are able to restore from backup.

    1. Disable or remove modules
    2. Backup and restore Firefox profiles information
  • How to block the pop-up at the bottom of the screen

    I have block pop-up and most is blocked. However, I can't figure out how to block pop ups that appear horizontally at the bottom of the screen

    Hi Deansdream,

    You can try using an addon like AdBlock Plus or No Script. To install an addon you must have to tools-> Add-ons-> get modules and searching for it.


    For more information about the modules look at this article:

    Use extensions to add features to Firefox

    Please report to us.

  • How to block the URL of some Web sites on my network

    Dear Sir.

    I want to block some website in my network. I have 35 clients and Server 2008. How we can block the URL using Group Policy management.

    Please advise me to block the URL

    Thank you

    Forward your support more lovable.

    Faris

    Domain/server/business questions are best addressed @ Technet.  Answers is more connected consumer.

    http://social.technet.Microsoft.com/forums/en-us/categories/

  • How to block the cell damage such as mobile?

    I need emergency aid...

    I want to block all storage devices in Windows 7.

    I've already blocked usb storage devices by changing the value of registry USBTOR.

    But the connections of portable devices as shown in my computer as mobile phones are connecting always.

    That could be very vulnerable to data loss.

    Pls help me by blocking the connection of portable devices also.

    Thanks in advance

    Hello Lucia,.

    Thanks for posting your query in Microsoft Community.

    I understand you have questions related to any storage device blocking, you are trying to connect to the computer.

    But I would like to know some more information on this issue to help you better.

    (1) are you trying to block all Bluetooth devices as well?

    (2) do not have issues using the storage device, so that you are trying to block?

    In the meantime, you can see the article mentioned below to do the same thing.

    How to disable the active USB mass storage devices?

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/25ae92d8-a2c0-46A2-A2E3-c1a831582163/how-to-disable-USB-enabled-mass-storage-devices?Forum=winserverGP

    I hope this helps. Otherwise, feel free to write us again and we will be happy to help you.

    Thank you

  • How to block the sniffer of packets on the STROKE

    Hi Cisco supports,

    How can we block Wireshark.exe or other packages using STROKE sniffer applications? or what category in place?

    Thank you and best looks!

    If you want to block the file download itself, you must use file strategy that can block certain extension directly.

    There is no specific way to block the software unless it communicates online by STROKE. STROKE detects and blocks the application based on the movement of its communication.

    Rate if helps.

    Yogesh

  • How to block the bootloader on RAZR HD (xt925)

    Is it possible to block the bootstrapper on this unit? Trying to get rid of the warning at startup message.

    The usual 'fastboot oem lock' command does not work.

    Unlike a Nexus device, this device is NOT intended to be hacked or modified, unless you have a developer edition, in which case if you did unlock, you cancelled your warranty.

    There is no way to completely block the bootloader.

    The warning message comes from a fuse broke on the phone so that you can not ask for warranty repair or replacement in case of problems.

    I'm sorry, I just couldn't offer the best news for you. There are ways to return to the image of 'stock', but you will always have the message during startup.

    Here is a link to the instructions:

    https://Motorola-global-portal.custhelp.com/app/standalone/ROM-images

Maybe you are looking for