added events parameter to swf_AddButtonLinks