Home > Adobe Flex, Xuland > Flex : Allowing mouse events to “pass through” an overlay

Flex : Allowing mouse events to “pass through” an overlay

I ran into an issue today I didn’t immediately have an answer for.

I added an overlay to the map of my Xuland flex-based social networking tool which resembled a radar (concentric circles, tinted slightly green):

Xuland Radar

Before adding the radar overlay, I could drag the map as normal, however after adding the overlay atop the visible map area, the map no longer responded to mouse drag events.

Before writing a lot of code to catch and re-dispatch mouse events from the overlay to the map, I admit I felt a little silly after discovering a simple property that just needed to get added to my overlay:

	buttonMode="true" useHandCursor="true"

As the API mentions: “Specifies whether this object receives mouse messages. The default value is true, which means that by default any InteractiveObject instance that is on the display list receives mouse events. If mouseEnabled is set to false, the instance does not receive any mouse events. Any children of this instance on the display list are not affected. ”

And it worked perfectly!

Categories: Adobe Flex, Xuland Tags:
  1. December 26th, 2010 at 16:53 | #1

    Thanks for writing this!!

  2. May 23rd, 2014 at 11:33 | #2

    To make sure you have an urge for an alpha or for beta critical for
    Heroes of the Breeze? Appropriately all of your kinda on
    right place as of this moment. Before you decide to
    occur to take a big leap Youtube or possibly Auction web
    sites we could argue acquiring a 2nd digesting anything i’m
    doing this to say this if you read further.
    There is not any Room keys, and a relax. All
    of listings before this revelation on ebay powerful beta or maybe
    just alpha tips for Heroes of the surprise are Not genuine
    and Businesses. A nice trailer for Heroes of the Storm was used as suggested during the establishment, featuring heroes
    from Blizzard franchises that StarCraft, Diablo, and Planet of Warcraft.

    Heroes of the Breeze is an upcoming multiplayer on line have difficulties arena electronic game built
    by Blizzard Night-life for Windows Windows.
    Successful warriors via Azeroth, Dreamland, many times the Koprulu profession, including outside of have been was terrible against the Nexus, a fantastic transdimensional temperatures.

    On their behalf you’ll prefer to head over to your own Overcome.net and also
    keep an beta persona pages is most recent, understanding that you’re came to the conclusion straight into
    Heroes of the Storm tests. Just keep in mind this is the merely tactic to generate read these days, and that you need
    to be extremely careful of all email or even other connection that means certainly you will be
    proven to obtain admittance all the way through some brings.

  3. June 12th, 2014 at 22:47 | #3

    This service provided by Peachtree host also eliminates
    time restriction for user. It provides comprehensive solutions to every accounting problem related to your business.
    Alas, business deductions act as a salve to cool the burning and itching of
    your bank account.

  4. July 22nd, 2014 at 20:12 | #4

    It upgrades accuracy which is a must need of accounting tasks.
    They will allow you to upload and download accounts from anywhere.

    Their main concern is to give owners updated information on current issues that may affect their business operations.

  5. July 25th, 2014 at 13:44 | #5

    Yes, fashion trends are referential and recurring, but at
    the same time new ones pop up, allowing us to visually reflect the
    world around us. This fabric is intended to be loose
    fitting, but wear it too loose and you’ll look fat. Perhaps you are a model who
    wants to expand your portfolio with a range of startling shots that show off your versatility and individual flair.

  6. August 22nd, 2014 at 22:51 | #6

    When you sign up for HCG wholesale, you are registering
    for ultimate satisfaction. For instance products that are now illegal like Ephedra, Growth Hormones (Pharmaceutical HGH,
    HCG and any other related compounds) and Ephedrine.
    B vitamins include B-1, B-2, B-6, B-12, pantothenic acid, niacin, biotin and folic acid.

  7. October 3rd, 2014 at 21:15 | #7

    If you’re a huge business with a massive content creation division, you can get away with posting various instances just about every day.
    The Economist, as an instance, posts as frequently as extra ortimes each day.
    facebook likes buy cheap (art.surfadd.com)

  8. October 8th, 2014 at 16:50 | #8

    HCG weight loss facility is an ideal method of losing weight.

    Was it mixed with alcohol and sprayed it would be devastating, one can imagine to have.

    Kevin Trudeau was the person who popularized the use of HCG for dieting when he
    wrote and published a book on the subject.

  9. October 13th, 2014 at 17:12 | #9

    Wonderful site you have here but I was wanting to know if you
    knew of any user discussion forums that cover the same topics talked about in this article?

    I’d really love to be a part of group where I can get responses from other
    experienced people that share the same interest. If you have any recommendations,
    please let me know. Kudos!

  10. January 19th, 2015 at 17:25 | #10

    My family members all the time say that I am killing my time
    here at web, except I know I am getting knowledge all the time
    by reading such pleasant content.

  11. January 26th, 2015 at 13:22 | #11

    Hey there, You have done an incredible job. I will certainly digg
    it and personally suggest to my friends. I am confident they’ll be benefited from this site.

  12. February 1st, 2015 at 07:01 | #12

    Genuinely no matter if someone doesn’t be aware of after that
    its up to other people that they will help, so here it occurs.

  13. February 1st, 2015 at 07:46 | #13

    Really when someone doesn’t know afterward its up to other users that they will help, so here it occurs.

  14. February 2nd, 2015 at 14:34 | #14

    Right away I am ready to do my breakfast, later than having my breakfast coming yet again to
    read more news.

  15. February 16th, 2015 at 04:36 | #15

    Magnificent site. A lot of useful info here. I’m sending it to some friends ans also
    sharing in delicious. And obviously, thanks to your effort!

  16. February 16th, 2015 at 04:46 | #16

    Nice post. I was checking continuously this blog and I am
    inspired! Extremely helpful information specifically the closing part :
    ) I care for such information a lot. I used to be looking for this particular info for a very lengthy time.
    Thanks and good luck.

  17. March 14th, 2015 at 07:47 | #17

    Pretty! This was an incredibly wonderful article. Many
    thanks for providing this info.

  18. March 15th, 2015 at 14:44 | #18

    It is actually a great and helpful piece of info.
    I am happy that you simply shared this useful information with us.
    Please keep us up to date like this. Thanks for sharing.

  19. April 9th, 2017 at 08:16 | #19

    Yeah you’re probably I’m very reluctant to RAID SSD’s unless I have 4 of Put them in RAID 10 and your data is essentially safe unless both drives of a mirrored pair

  20. April 20th, 2017 at 17:36 | #20

    When some one searches for his essential thing, therefore he/she wants to be
    available that in detail, thus that thing is
    maintained over here.

  21. June 17th, 2020 at 07:01 | #21

    Looking forward to reading more. Great blog.Really thank you! Keep writing.

  22. June 26th, 2020 at 03:25 | #22

    Looking forward to reading more. Great article. Really Great.

  23. July 8th, 2020 at 11:03 | #23

    I usually have a hard time grasping informational articles, but yours is clear. I appreciate how you ave given readers like me easy to read info.

  24. July 19th, 2020 at 12:03 | #24

    Very good article. I will be experiencing many of these issues as well..

  25. July 27th, 2020 at 00:17 | #25

    It seems too complex and very broad for me. I am having a look ahead on your subsequent post, I will try to get the dangle of it!

  26. August 6th, 2020 at 09:49 | #26

    Say, you got a nice post.Really looking forward to read more. Awesome.

  27. September 6th, 2020 at 08:02 | #27

    Very nice info and straight to the point. I don at know if this is actually the best place to ask but do you folks have any ideea where to employ some professional writers? Thanks in advance

  28. September 27th, 2020 at 14:30 | #28

    Really enjoyed this blog post.Much thanks again. Will read on

  29. September 28th, 2020 at 04:17 | #29

    If you are going for best contents like myself, just pay a quick visit this web page daily because it offers feature contents, thanks

  1. No trackbacks yet.