[問題] 想請問取出影格標籤的方法
想請教各位前輩一個問題
在a影格中 想要取得當前影格標籤當作變數
然後在b影格讀出變數.jpg圖片
於是輸入AS碼
在a影格;
var currentLabel = movie.TCurrentLabel(/MovieClip);
//傳回影格標籤
在b 影格:
this.createEmptyMovieClip("tester_mc", 1);
var mclListener:Object = new Object();
mclListener.onLoadInit = function(target_mc:MovieClip)
{
target_mc._width = 350
target_mc._height = 200
}
var image_mcl:MovieClipLoader = new MovieClipLoader();
image_mcl.addListener(mclListener);
image_mcl.loadClip(變數+".jpg", tester_mc);
想請問 這個變數要輸入什麼樣的數值呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.124.97.227
※ 編輯: mars02abcd 來自: 122.124.97.227 (05/26 21:17)
推
05/29 12:52, , 1F
05/29 12:52, 1F
→
05/29 12:54, , 2F
05/29 12:54, 2F
Flash 近期熱門文章
PTT數位生活區 即時熱門文章
13
34
30
49