look into setMask. Make a movie clip to be used as the mask and then use

isMaskMc.setMask("maskedMc");