it seems you are mixing two approaches.
approach 1)
this.mcButton.onRelease = Delegate.create(this, this.onClick)
approach 2)
this.mcButton.objRef = this;
this.mcButton.onRelease = function ()
{
this.objRef.onClick();
}
yep, certainly was!
thanks, option 2 it was, as I need to set some vars in the class
many thanks!
jon
--
jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
_______________________________________________
[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