A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: disable clicking-through?

Hybrid View

  1. #1
    Client Software Programmer AS3.0's Avatar
    Join Date
    Apr 2011
    Posts
    1,404
    oh I see exactly what you did there I think. But I think you misread what I was asking I meant when I click my box my character would walk under it so wouldn't it be like:

    game.tile0.onPress = function(){
    }

    or idk im going to try but im not good at reading tonypas part of the code lol at most I only know how to edit his code abit

    And I already had the usehandcursor = false on almost everything it just makes things look better to me lol. Only thing that hand cursor looks good on is like an X button and stuff like that.


    wait ive come up with something, I made a test on another as2 thing and if a button is over another button the button underneath wont be pressed because the top button blocks it, I was trying to do that but than I realized the tiles are dynamically attached so I probably have to give the button the highest depth?

    nope that didnt work either.

    And thanks dude, if this game ever gets far enough to make money you are the first one i'd share it with,
    even if it makes 1 dollar you get 50 cents
    Last edited by AS3.0; 02-06-2012 at 12:52 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center