Thanks for the replies!
My apologies for not checking how the mouseup event is handled.
Coming from many, many years of Director/Lingo work, I simply assumed
mouseup to work in a similar manner.... :)
Cheers,
Dan
On 20 okt 2006, at 17.02, Dave Mennenoh wrote:
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/
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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