Why does this create movie clip work?

This works when not in the fuction. But when I put in a button release function it does not work.

two_btn.onRelease = function() {
this.createEmptyMovieClip(“triangle_mc”, 1);
triangle_mc.beginFill(0x0000FF, 90);
triangle_mc.lineStyle(5, 0x0000FF, 10);
triangle_mc.moveTo(200, 200);
triangle_mc.lineTo(300, 300);
triangle_mc.lineTo(100, 300);
triangle_mc.lineTo(200, 200);
triangle_mc.endFill();
};