1 Reply Latest reply on Aug 19, 2006 9:42 AM by kglad

    onEnterFrame and hitTest

    VaporAction Level 1
      I want the user to be able to drop an element into a glass cylinder filled with water...when the element hits the water it causes the water level to rise...
      I've created a hitTest between the element and an invisible object in the water for this purpose...
      It works fine if you drag the element into the water but if you drop the element into the water it doesn't seem to trigger the hitTest...also, if you drag it into the water, then drag it out and release then drag it back in, it won't trigger the hitTest...
      I'm using the onEnterFrame event handler so shouldn't it be constantly checking the hitTest?
      Here's my code....