Skip navigation
maxus phinus
Currently Being Moderated

drop target under a movieclip

Feb 27, 2012 3:58 PM

Tags: #as2 #drag #movie_clip

I have some drop targets that work, but I also have a movie clip that can be turn on over the main timeline. All this clip is, is some low alpha colors for a viewing effect. Since it's above the drop target though it doesn't want to work. Is there a way to make it associate with the droptarget underneath, or a way to make the  above movieclip unable to be interacted with so that it is ignored?

 
Replies
  • kglad
    72,228 posts
    Jul 21, 2002
    Currently Being Moderated
    Feb 27, 2012 5:19 PM   in reply to maxus phinus

    you're checking the _droptarget of some movieclip.  that is returning this movieclip that's in a layer above the movieclip you want to see reported as the _droptarget?

     
    |
    Mark as:
  • kglad
    72,228 posts
    Jul 21, 2002
    Currently Being Moderated
    Feb 27, 2012 6:51 PM   in reply to maxus phinus

    use the hitTestObject() method instead of dropTarget property.

     
    |
    Mark as:
  • kglad
    72,228 posts
    Jul 21, 2002
    Currently Being Moderated
    Feb 27, 2012 9:52 PM   in reply to maxus phinus

    oops, this is as2.  use the movieclip method hitTest().  hitTestObject() is an as3 method.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points