A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Returning All objects under a mouseDown

  1. #1
    Junior Member
    Join Date
    Jul 2008
    Posts
    14

    Returning All objects under a mouseDown

    Lingo as something like all models under mouse, which sends back an Array.

    Does Flash have a way to provide an Array of all objects under a mouseEvent such as a mouseDown.

    target and currentTarget work well but I would like to get at an MC under the target.

    I figured one way might be to write a loop using hittest but then it would run through 60 or 70 MCs on every mouseDown. Not the most efficient method.

  2. #2
    Flactionscrish Baby Minion's Avatar
    Join Date
    Nov 2005
    Location
    Planet Earth
    Posts
    312
    http://help.adobe.com/en_US/AS3LCR/F...Container.html


    Look for the public method called
    getObjectsUnderPoint()
    ktu[k-two]
    he who hesitates is lost; so i guess i'll wander intently

    Are you sure this is real?
    Life is Love, Love is Blind, Blind we go through Life.
    Life isn't hard, dealing with your self is.

    The concept of life in a human brain is weakening day after day. Live every day like its your last. Take the chances, and opportunities, and never let authority push you around for fun.


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