Colorful Explosion in AS3

hi
i was using your colorful explosion AS3,
but i face problem
when i add button, cant add any action script,
but when i change the AS3 to AS2
the action script works but the
colorful explosion does not work

how can i solove this problem
Please help

Thanks