MouseClick trough a vector shape not working when there is a bitmap below it?

Hello, I got something strange going on.
I have one class called Person that extends a Sprite.
First i have a bitmap that i add to the sprite class:
This bitmap is a transparent PNG.
addChild(_imageBitmap);
then i did some drawing in Flash that has the shape of this person and extended this to
the SimpleButton. This way, only the edge or the inner shape is clickable.
then i add this shape to this Person class too.
addChild(_personShape);
This way, the shape is on top of the bitmap.
Now i have an clickable item behind this person. This item is visible because it  is in the
transparent area of the bitmap and shape.
This clickable item does not respond on the mouse click! Only when i disabel the imageBitmap
(I tried uncomment the line addChild(_imageBitmap) and then it works just fine!
This means that the bitmap is causing the problem to get a click trough.
Is there a propertie for a bitmap like MouseChildren = false? or something else to make use
of a click trough within a shape?
Regards,
Chris.

Hello Ned,
Thanks for the advise, but i already tried the mouseChildren properties.
The bitmap has no property mouseChildren, so i created a new Container (sprite) and added
this bitmap to it and set the mouseChildren property to it. and the MouseEnabled too, but nothing happend differently.
The strange thing of this, is the fact that the rollOver and the RollOut item behind the bitmap image works just fine.
It has probably something to do with the fact that the clickable item is an displayObject3D (Papervision)
But what i also don't understand is when i don't use this bitmap, and only the vector shape it works just fine.
So i did a little trick, i did a break apart from he image and cut out the shape of the person with the lasso tool.
And i replaced this with the image shape and now it works.
Regards,
Chris.

Similar Messages

  • CFIMAGE not working when there is a . in the file path?

    I’m trying to use CFIMAGE for the first time and running into an issue. I am guess it is because my path has a period in it but I am not sure and I am not sure how to get around it if that is indeed the problem.
    I’m using ExpandPath to get the directory path but I have tried it other way with the same result. The path is
    C:\Websites\mywebsite.com\www\images
    I’m just trying to take a file in the C:\Websites\mywebsite.com\www\images\temp directory and resize it then rename it to the memberid with 300 on the end and save it to this directory C:\Websites\mywebsite.com\www\images\members
            <cfimage
            action = "resize"
            height = ""
            source = "#ExpandPath("..\images")#\temp\#TempFileName#"
            width = "300"
            optional
            destination = "#ExpandPath("..\images")#\members\"
            name = "#ARGUMENTS.MemberID#300"
            format = "jpg"
            overwrite = "yes">
    I keep getting the folowing error.
    The com\www\images\members\ image format is not supported on this operating system.
    Any ideas?

    was the fact that I ahd both destination and name being used
    at the same time.
    Using both "destination" and "name" works fine for me on windows. Though as I said, it is usually more common to use one or the other (not both).
    all I did was copy and paste
    from Adobe's example.
    Given the fact that your code contained the word "optional", you may have inadvertently copied a usage/syntax description rather an actual code example. Most of the descriptions contain the word "optional" to separate the mandatory and optional attributes. They are just descriptions not working code. Look for the actual code examples further down in the page (usually in a mono-font like courier).

  • Why are some of my keys not working when I put a bit of pressure on it?

    Hi there, since 4 months ago I've noticed that my a, q, 1, backspace, and volume buttons do not work when theres a little bit of pressure on or under it. It kind of bothers me because I cant lay in bed and do my things, I have to put it on a table. So my question is, why is this and how can I fix this?
    5 or more weeks ago, I can't remember, my keys did suddenly work when there was a bit of pressure on / under it, but I don't know how..
    I'm running OS X Mavericks 10.9.4
    Processor: 1.3 GHz Intel Core i5
    Memore: 4 GB 1600 MHz DDR3

    What is your operating system?  Reader version?  How do you convert to PDF?
    You write that "some" of the links don't open; what's the difference with links that do open?

  • Hello. I appreciate your help. I am in FCP7 and trying to do Boris Vector Shape effect. When I try to pull the  vector shape square from the view window to the Superimpose, I get the message: insufficient content for edit. Why?

    Hello. I appreciate your help. I am in FCP7 and trying to do Boris Vector Shape effect. When I try to pull the  vector shape square from the view window to the Superimpose, I get the message: insufficient content for edit. Why? I did this effect before and everything worked well. Thank you for your help.

    Make sure that you have no active I/O markers on the Timeline (use Option X keys to clear them).

  • I bought my iphone 5s a week before and now its volume "up" button is not working when pressed.Does anybody know what to do to make it work?I have a one year warranty.Should i give it to apple retail shop or is there any way to solve this problem?

    I bought my iphone 5s a week before and now its volume "up" button is not working when pressed.Does anybody know what to do to make it work?I have a one year warranty.Should i give it to apple retail shop or is there any way to solve this problem?

    IF it is a manufacturing defect and you bought the device from Apple or an authorized Apple retailer, then take it into Apple.

  • Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    what email service - Yahoo mail have been acting up lately
    you can try setting Mail as your email client - it resolves this pfoblem for some people
    LN

  • Partner function not working when creating PO with ref to PReq

    Partner function is not working when creating a Purchase Order with ref to a Purchase Requistion, Partner functions maintained in the vendor master are VN, OA & PI.
    But OA & PI are not appearing in the PO header partner tab when created with ref to PR.
    however it works when i create the PO directly ( without the PR ref )
    I am using the same material & Plant for both manual PO & PR to PO.
    Any idea what could be wrong .
    I have maintained the settings for schema groups for vendor master & purchasing doc in the partner determination.
    Thanks
    Dkmurthy

    Hi,
    I have also an issue that seems similar to one you are discussing.
    When we use ME59N and create a PO with ref. from a PR (created from a sales order), the message determination works well, it reads the condition set in MN04 (condition records for messages), and creates a message (with output type for EDI , medium: 6, and partner function LS: Logical system). Message is created and idoc is sent.
    When we try with ME21N, ME21 and we create the PO with ref. to the same PR, either by entering manually the PR in the document overview of ME21N or by selecting the PR (without entering the PR number), i.e with date, the message is not created in the PO.
    Company code is assigned to purchase organization, and so is purchase organization to plant.
    Any idea why there is no automatic message determination in the case of the transaction: ME21N
    Note: If I try ME21N, and enter the output type and partner, manually, I receive a warning message
    VN006 (Partner XXXX does not exist for partner function LS). If I accept this warning message, then message is saved- idoc is sent. However I can not overcome the warning message, if it plays any role, because I can not assign partner function LS to the vendor.Then I receive message CZ 327 (Can not use this partner role).
    Any input is wellcome.

  • The built-in dictionary on my iPad only works with certain sites.  What do I need to do so that I can it all the time. (For example, it does not work when I read e-newspaper.)

    What do I need to do so that I can use the built-in dictionary all the time? My iPad 2's dictionary functions on Japanese e-newspapers but not on the Arizona Republic or other e-newspapers.

    Rikirannu wrote:
    My iPad 2's dictionary functions on Japanese e-newspapers but not on the Arizona Republic or other e-newspapers.
    Are you talking about the English dictionary?  Mine seems to work ok on the AZ republic web page.  Does yours not work on all webpages?  Does it not work when you type an English word in Notes and then do select and define?

  • I have i phone 4s i there is problem of wifi my wifi is not working when i go to the wifi there is no working on off when i update it as a 6.1 ios on that time again it was good but after 2 days again the same problem i am too tired

    I have i phone 4s i there is problem of wifi my wifi is not working when i go to the wifi there is no working on off when i update it as a 6.1 ios on that time again it was good but after 2 days again the same problem i am too tired and i also reset network setting but nothing gonna be worked

    Sounds like the device was dropped at some point and damaged as a result.
    Take it to Apple for evaluation and a replacement.

  • I tunes is not working. when i go to update apps nothing happens go to itunes page is blank

    itunes not working. when i go to update apps nothing happens. if i go to itunes store page is blank and does not go to the store

    http://support.apple.com/kb/ts1567

  • HT5622 my apple id is not working when i sign in from my laptop it works but when i sign in from my iphone4 then its not working it gives the message of "your aapleid or password is incorrect"? how can i solve this problem please help

    my apple id is not working when i sign in from my laptop it works but when i sign in from my iphone4 then its not working it gives the message of "your aapleid or password is incorrect"? how can i solve this problem please help

    Hey nocillado,
    Thanks for using Apple Support Communities.
    It sounds like you have 2 things you want to address. These articles can help you use iCloud with your existing Apple ID.
    Get help activating your iPhone
    http://support.apple.com/kb/ts3424
    Using your Apple ID for Apple services
    http://support.apple.com/kb/ht4895
    Using the same Apple ID for Store purchases and iCloud (recommended)
    Have a nice day,
    Mario

  • A few months back I Dropped my iPhone 4 and I cracked my screen and now i cant unlock my phone due to touchscreen not working plus there are blured lines across the screen and I can't see anything that it displays. Now when I try too connect my iPhone 4 t

    A few months back I Dropped my iPhone 4 and I cracked my screen and now i cant unlock my phone due to touch screen not working plus there are blurred lines across the screen and I can't see anything that it displays.
    Now when I try too connect my iPhone 4 to iTunes on my computer at home an error message comes up saying that I have to unlock my iPhone 4 for it to communicate to my device.
    But the problem is that I can't unlock my iPhone 4 because I'm unable to see the key pad and my touch screen no longer responds when I touch it.
    I just want to reset my iPhone 4 back to its Factory Settings & start all over from the beginning.
    How can I unlock my iPhone 4 with iTunes on my computer or any other option you suggest me trying.
    Thank you in advance,
    SiHero

    If you have had a "local guy "repair your iphone you will not get any support from Apple for warranty OR post warranty
    If Verizon return it to Apple it wil not be handled by Apple
    If Verizon also use unauthorised repairers you may be lucky
    (Apple do not sell parts to local guys or anyone else )

  • The touch screen is not working when I am in the Music app of my iPod Touch.  How do I get it to begin working?  It just stopped today.

    The touch screen is not working when I am in the Music app of my iPod Touch.  How do I get it to begin working?  It just stopped today.
    Does anyone know what I can do?  I am unable to switch screens, and I can not see the track that is playing.  The only was I can switch between songs is to use the controls on my headphones.

    Try the stamdard fixes to rule out a software problem:
    - Reset. Nothing will be lost
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory defaults/new iPod.

  • My volume is not working when on the ringer what do I do

    My iPhone volume is not working when I have the volume set on. It will work with the headphones but other then that nothing. What's going on with it?

    supposedly from what I have read it is a software issue. I actually am also having this problem it worked after I performed a full reset,  but now it has started again tomorrow I am going to the apple store to find out what I can do as I bought my 4s right before the 5 was released.

  • Authorization Object is not working when report is modified.

    Hi BW Guru's
    We have Company Code as Authorization Object .and we have 3 company Codes (xxxx,yyyy,zzzz).where the users under Company code xxxx are not supposed to view company code yyyy,zzzz data etc.
    I modified an existing Report and transported to production.But the Authorization Object is not working for that report.The Report is defaultly displaying all the company codes data(xxxx,yyyy) for all the users.But for the other reports its(company code ) is working fine.
    What could be the problem?Is theproblem in transporting the objects.But i transported all the objects inluding auhorization object.
    Please send me the solution as it is very much urgent.
    The solution will be def. awarded with full points.
    Regards
    Sanjay

    hi Sanjay,
    please don't post the same question again, check and response back from your previous thread
    Re: Authorization Object is not working when report is Modified.
    hope this helps.
    would be nice if you reward for helpful answers to all of your previous postings, e.g
    docs related to RRI

Maybe you are looking for

  • Problem while generating Encrypted PDF in batch

    Hi PPl I am generating encrypted PDF in batch. I have one requirement to generate about 1 lakh PDFs. But when i start my batch initially it works fine but after generating round about 25 PDF my program get stuck at Document.copyToFile method and afte

  • Iphone's not recongnised either on my iMac or my PC

    Hello, When i plug my iphone into both my Vaio and my iMac it's not regonised by iTunes now!! It charged well but no interacts what so ever with the computers. I try with several cable and on another iMac also. Can anybody help me please!! Thank you!

  • SC Manager for x86 ?

    hi all is there an SC manager from OS, on x86 systems ? like scadm on Sparc ? thanks

  • Table at bottom of page (not the same as similiar issues)

    I already know about headers/footers, counting rows, etc. However none of those solutions seem to work for the following issue. For our PO, each page has a footer message on it. In addition, after the end of all of the PO lines, they want the total t

  • Clone production db, & convert it to read write mode

    Hi Guys., I'm having dba1 & dba2 server's , At dba1 there is my production database , Using this production database I want to create a new 'test' database "WITHOUT taking the BACKUP of MY production database." Note: I want to convert 'test' database