You don't need to use hitTest - you can just assign a function to the
onRelease event within the constructor:
class com.blurredistinction.Mtest extends MovieClip {
function Mtest(){
this.onRelease = function(){
trace(this);
}
}
}
Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com