0
我有一個被稱爲3次的函數,我想爲它指定一個名稱。如何將動態變量名稱分配給影片剪輯或通過名稱或實例名稱引用它們?動態變量名稱
var loadedMovie:MovieClip = new MovieClip();
loadedMovie.name =「mymovie」;
loadedMovie = loadEvent.currentTarget.content; loadedMovie.x = 0; loadedMovie.y = 0;
addChild(loadedMovie);
mymovie.x = 20;