Re: [問題]loadMovie()函式 路徑問題
: 我在A.swf載入 一個B.swf檔
: 我在B.swf寫入程式
: 但是_root. 指的是A.swf 的路徑
: 不知道 要寫B.swf 路徑是什麼
: ________________
: | A.swf |
: | |
: | _________ |
: | | B.swf| |
: | | | |
: | _________ |
: | |
: ________________
我在B.swf中加入了 this._lockroot=true;
_root. 成功指向B.swf
但是我B.swf 中的動畫 m1
stop();
m1.loadVariables("123.txt");
_root.m1.field.html = true;
_root.m1.field.condenseWhite = true;
m1.onData = function() {
_root.m1.field.htmlText = inner;
};
以上是 在m1動畫中顯示文字
----------------------------------------------------------------
原本是這樣
stop();
this.loadVariables("123.txt");
field.html = true;
field.condenseWhite = true;
this.onData = function() {
field.htmlText = inner;
};
我試過很多方式
加入this._lockroot=true;
以上就沒反應了 冏
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.39.5.184
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):