RE: [Flashcoders] Complex Hittest

2008-09-04 Thread Merrill, Jason
ideas and technologies? Check out our internal Innovative Learning Blog subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sebastian Sent: Wednesday, September 03, 2008 8:43 PM To: Flash Coders List Subject: Re: [Flashcoders] Complex Hittest

[Flashcoders] Complex Hittest

2008-09-03 Thread Merrill, Jason
I have two display object I want to check overlapping on - one of the object will be very odd shaped, so I need to take advantage of the ShapeFlag of the hitTestPoint method to be sure the object's shape is taken into account. The problem is, each display object is nested inside other many

Re: [Flashcoders] Complex Hittest

2008-09-03 Thread sebastian
hi Merrill, Doing hit tests of nested objects is simply a question of referencing the right child within the hierarchy instead of the parent MC, who's x and y are potentially different. You can prove this to yourself by doing hit tests on a test stage with MC's in different MC trees and