Skip navigation

Apparently, hitTest doesnt work on buttons within flash, only movie clips… thanks Adobe,  you could’ve put that in your documentation! Would’ve been ace -.-‘

in any case:


//as2 - mouse cursor clip between 2 movie clips

onClipEvent(mouseMove) {

if(this.hitTest(_root.MC_SP1)) {
 _root.D_text.text="HITTEST!";
 spellB1();
 }
}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: