fl.getDocumentDOM().selectAll();

var theSelectionArray = fl.getDocumentDOM().selection;
length = theSelectionArray.length;
for( i=0;i<length;i++){
if (theSelectionArray[i].symbolType == "movie clip"||theSelectionArray[i].symbolType == "graphic"){
element = theSelectionArray[i];
break;
}
}

posted on 2020-03-09 10:45  我是cdt  阅读(90)  评论(0编辑  收藏  举报