I'm wondering about using the delete function in MX 2004. I can write a delete fuction for an on frame function ie:
but i cant quite figure out how to do it with code on the MC, if I tryCode:_root.myButton.onRelease = function (){ _root.gotoAndPlay("myFrame"); delete _root.myButton.onRelease; }
delete on(release);
I get and error stating there is an unexpected "on"
what is the syntax?
thanks in advance
Mark


Reply With Quote
