Is this a bug? come in to see the code please

I am using Flex Builder 3 code name "Moxie".
The basic idea is having a linkedbutton on a panel, then if
you click on the linkedbutton, both the linkedbutton and the panel
underneath catch the mouse click event. Is this a bug? I am
expecting only the linkedbutton is able to capture the mouse click
event. Or is there anything wrong with the codes? Thanks in advance
for help.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" >
<mx:Script>
<![CDATA[
import mx.controls.Alert;
public function dpMouseDown(e:MouseEvent):void
Alert.show("Mouse caught by PANEL");
public function lkMouseDown(e:MouseEvent):void
Alert.show("Mouse caught by LINKBUTTON");
]]>
</mx:Script>
<mx:Panel id="dPanel"
height="100%" width="100%"
borderStyle="none"
backgroundColor="cyan"
horizontalScrollPolicy = "off"
verticalScrollPolicy = "off"
click="dpMouseDown(event)"
>
<mx:LinkButton id="linkButton"
label="HHHHHHHHHHHHHHHHHHHHHHHH"
width="200" height="200" x="100" y="100"
click="lkMouseDown(event)"/>
</mx:Panel>
</mx:Application>

no its not a bug its the "bubbling" feature ( use the search
to get more infos about the event handling)...
If you replace the code in the function, you can stop the
bubbling:
public function lkMouseDown(e:MouseEvent):void
Alert.show("Mouse caught by LINKBUTTON");
e.stopImmediatePropagation();
best regards,
kcell

Similar Messages

  • HT201365 Can I turn off this update.  I can't see the new lighter colors.

    Can I uninstall this new update?  I cannot see the new lighter colors.

    Hi Hazel,
    From what I have read here it is not possible to downgrade - I wish it was!!!
    Some replies say that people should have researched what iOS7 would look like before upgrading but to be honest I just did not believe that it could be as bad as it turned out to be.
    I have sent feedback to Apple here and would encourage you to do the same - they need to know how difficult it is now the visual contrasts are so poor:
    http://www.apple.com/feedback/iphone.html
    If you go to Settings -> General -> "Accessibility" it helps a little to do this:
    Larger type: ON
    Bold text: ON
    Increase Contrast: ON
    I found that the "Invert Colors" option did not help as it made many controls even more difficult to see!
    I have never had to use the Accessibility settings before - the design of iOS7 is a wonderful if unwelcome illustration of the Social Model of Disability in action!  Apple used to excel at accessible design.  The difference between iOS7 and all previous versions illustrates perfectly that bad design is disabling!

  • Is this a bug or am I using the wrong flags in userChrome.css

    I'd like to have my Bookmark Toolbar automatically hide until I move my mouse over the location. I found some code a while ago to do this, but I never really tried it until now with FF4. When I put in the code and move the bookmark toolbar into the self-hiding panel, it works fine until I open a new window or exit/restart the browser.
    <br />
    <pre>#PersonalToolbar {display: none;}
    #navigator-toolbox:hover > #PersonalToolbar {display: -moz-box;}
    </pre>
    The auto-hide until hover works fine with the box, but the Bookmark Toolbar comes up completely empty. No arrow, just empty space. Every time I comment out the line in userChrome.css, the buttons reappear. When I move the bookmark toolbar out and then re-enable the line and restart, the buttons are fine when I move them back in until the next exit.
    I've tried this on three machines (all Windows 7 though, both 32-bit and 64-bit) and the behavior is the same. I've also tried disabling all add-ons and extensions with no change in the results.
    Is this a bug or am I using the wrong flags (-moz-box)? Thanks for any ideas/help provided.

    cor-el:
    Thanks for the suggestion. I already tried rebuilding that file as well and it didn't help. Also, all the changes I make are retained from session to session in terms of placement and what's shown/hidden, it's just the contents of the bookmark toolbar that disappear. The toolbar is still there and I can drag things to it, but again, they disappear after restarting the browser.
    edit (clarification):
    When I say the items disappear, I mean they are no longer visible or clickable. They are still there in the sense that they appear in the Bookmark menu and if I move the Bookmark Toolbar from its own toolbar into the space next to the Menu Toolbar, they are then shown.

  • HT201322 How come i cant see the hide buttom in my iphone?

    How come i cant see the hide buttom in my iphone?
    i swipe the item again and again, but nothing comes out, just cant see the hide button......the instuction works in itunes, but in iphone

    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.
    - Unsync all music and resync
    - 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.

  • The Apple Mail group my sent and received similar messages in my inbox, how can i disable this? I just want to see the messages i received, not the ones i sent!

    The Apple Mail group my sent and received similar messages in my inbox, how can i disable this? I just want to see the messages i received, not the ones i sent!

    Mail/Preferences/Composing. Do you have the CC myself box checked?

  • How see the code of the application

    I would like to know how to see the code generated by APEX since I need to stamp(print) it.
    Thank you

    Hello,
    In FireFox : Right Mouse Click + View Page Source
    In IE: Right Mouse Click + View Source
    (might be a lot of pages though)
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • //remove this line if you want to edit the code by hand? um which line?

    Several of my pages are locking up and I don't know why. As I work through the code, I remembered that I altered some text in a SendEmail by directly altering the page rather than using the Server Behavior. Don't understand why that would matter but whatever...
    Now as I ponder if that is causing the problem, I ran across this commented line in the code:
    //remove this line if you want to edit the code by hand
    But are they talking about the line just after that line of //remove or do they mean the actual comment line of
    //remove this line if you want to edit the code by hand?
    Thanks for your help

    Trigger and $tNG look suspiciously like ADDT code to me. Ask the guys in the ADDT forum (http://forums.adobe.com/community/dreamweaver/addt). There are a couple of them in there who know the code intimately. I haven't touched ADDT for ages.

  • Can we see the code of GUI UDF functions

    Hi All,
    Can we see the code of GUI UDF functions?
    Which language it has been written?
    Cheers!
    Samarjit

    Hi,
    Have a look at this blog.
    Is this what you are looking for?
    <a href="/people/venkataramanan.parameswaran/blog/2007/02/06/is-there-a-possibility-to-access-xi-standard-functions-in-user-defined-functions-yes there a possibility to access XI standard functions in User defined Functions?" Yes!</a>
    Regards
    Bhavesh

  • Problem making jar..pls see the code.

    i have some class files in a folder.
    i created a batch file for making jar.
    and when i copy this jar file somewhere and write another batch file to run my java application its showing noclassfound error?.
    pls see the code below and tell me where did i go wrong?
    batch file making jar. 1
    jar cvf SpectrobesUploadSimulator.jar *.class
    pausebatch file to run the application 2
    java SpectrobesSimulator
    pausethe batch file 2 will run if i have the classes in the same directory but when i remove the classes and put the jar its not working.

    i gave the classpaths also
    set CLASSPATH=$CLASSPATH:.:Spectrobes.jar
    java SpectrobesSimulator
    pause

  • What can i do if I scratch the itunes card and I can´t see the code?

    what can i do if I scratch the itunes card and I can´t see the code?

    Follow these instructions;  iTunes Store:  Invalid, Inactive, or Illegible codes, http://support.apple.com/kb/TS1292

  • I had a big problem i scrape the gift card hard and i cant see the code what should i do??, i had a big problem i scrape the gift card hard and i cant see the code what should i do??

    i have a problem i scrape the gift card hard and i cant see the code what should i do??

    iTunes Store: Invalid, inactive, or illegible codes

  • HT1937 the SIM card that you currently have installed in this iPhone is form a carrier that is not supported under the activation policy that is currently assigned by the activation server.this is not a hardware issue with the iphon. please insert another

    the SIM card that you currently have installed in this iPhone is form a carrier that is not supported under the activation policy that is currently assigned by the activation server.this is not a hardware issue with the iphon. please insert another SIM card from supported carrier or request that this iPhone be unlocked by your carrier.

    Similar issue
    here is the description
    I have similar message but for me the Verizon guys said they unlocked it and when I actually connected to iTunes using Verizon sim card and then did the restore as new iphone then everything worked well and at the end i saw the message "Congrats, your iphone is now unlocked" and then I did the set up as new iphone for my kid.
    Once new apple ID was set up, then I removed the verizon SIM and then inserted prepaid t-mobile sim card and after the phone booted up then I got the same message like  above...."not supported"
    What do i do now? I think the phone is unlocked right?
    Also do I need to insert Verizon SIM card and do restore as NEW and this time do not set up the iphone but change the SIM card and then set up or ?
    I am confused and other threads were talking that if you get congrats message then u shd be good to use other SIM cards....please help!!!

  • HT1414 The Sim card that you currently have installed in this iphone is from a carrier that is not supprotedunder the activation policy that is currently assigned by the activation server. this is not a hardware issue with the iphone. please insert anothe

    The Sim card that you currently have installed in this iphone is from a carrier that is not supprotedunder the activation policy that is currently assigned by the activation server. this is not a hardware issue with the iphone. please insert another sim card from a supported carrier or request that this iphone be unlocked by your carrier.please contact apple for more information.

    I have similar message but for me the Verizon guys said they unlocked it and when I actually connected to iTunes using Verizon sim card and then did the restore as new iphone then everything worked well and at the end i saw the message "Congrats, your iphone is now unlocked" and then I did the set up as new iphone for my kid.
    Once new apple ID was set up, then I removed the verizon SIM and then inserted prepaid t-mobile sim card and after the phone booted up then I got the same message like  above...."not supported"
    What do i do now? I think the phone is unlocked right?
    Also do I need to insert Verizon SIM card and do restore as NEW and this time do not set up the iphone but change the SIM card and then set up or ?
    I am confused and other threads were talking that if you get congrats message then u shd be good to use other SIM cards....please help!!!

  • Updated to Mavericks and I get the upper left quarter of the screen blacked out on Time Machine. This means that I can't see the files. Any suggestions for getting rid of the black square?

    Ive tried disconnecting and reconnecting the Time Machine. And I've tried rebooting the iMac, but I still get the top left hand quarted of the screeen blacked out. I can scroll back through the back-ups but the back square means that I can't see the details of any file.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • HT1203 I have done everything on this list.  How do I see the shared music in iTunes?

    I have done everything on the list "to share your music with multiple user accounts on one computer" on Windows.  Now, how do I see the shared music?

    Tones is the new name for Ringtones. If the entry is missing in the left-hand column of iTunes then enable it from Edit > Preferences > General tab.
    If your existing tones are not syncing properly to your iOS device then uncheck the option to Sync Tones from the Tones tab when the device is connected, sync the device,check the option and sync again.
    A properly constituted .m4r file (<30secs AAC at 128k) thrown into the Automatically add to iTunes folder should end up getting added to the correct section of the library.
    tt2

Maybe you are looking for

  • Problem with flash components in director  tollbox

    1- I have 2 buttons named "makeQst1BT" in frame 1 and  "chkQst1BT" in frame 2,  which both are draged from toolbox. First the user gets a random question in frame 2 andhas to answer it, When the user clicks "chkQst1BT" its visible is to disappear aft

  • Function returning query takes more time to run in Apex4.0

    Hi All, I created a report using function returning query. The function returns query based the parameters which returns dynamic columns. When I run the query in sql developer the query generates and returns the result in 3mins. But in apex it takes

  • Looking for WebLogic 10.3.5 install media with Eclipse for 64-bit

    Hi, I need to install OSB on 64-bit for 11.1.1.5 suite. I have downloaded ofm_osb_generic_11.1.1.5.0_disk1_1of1.zip The instllation process asks for Eclipse location which should be installed with the WebLogic. The file I used to install the web logi

  • Events have me stumped

    I'm a flex noob and have been stuck on this one problem for hours and still haven't found a solution - any suggestions? My application includes a custom component (canvas container with 10 comboboxes). I populate each of the comboboxes with data I co

  • Exporting using quicktime only gives me stills

    Hi, I'm using FCP 4.5, and have been using it for a couple of years. This afternoon I was batch exporting a bunch of short videos, and when I viewed the results, they were all the correct length, but only a still image. When I did the same operation