■ マスクを設定するには

//ボタンアクション
on (release) {
this.rect_mc.setMask(this.rect_mc.mask_mc);
}

//ボタンアクション
on (release) {
this.rect_mc.setMask(null);
}