PDA

View Full Version : onMouseDown return what's hit?



Uli
November 30th, 2004, 06:47 PM
Hi,
Is there a way to return what's hit when the user clicks?
Like if what's hit is a movieClip or a button and so om...

TiA :)

Blackspirit
November 30th, 2004, 11:11 PM
hmm,

In thing you want "hit" couldn't you have



on(release)
{
imHit(this);
}


and then in your frame scripting, have


function imHit(whatWa****)
{
do some stuff.....
}