[問題] TextField.htmlText 和 TextField.appendText

看板Flash作者 (兔子)時間14年前 (2011/06/15 12:12), 編輯推噓1(102)
留言3則, 2人參與, 最新討論串1/1
這兩個功能可以同時實現嗎? 就是直接新增一段html文字這樣 不然就一定得用+=了 聽說+=比appendText慢很多... -- ◤ __ \__◢◤◢◤ ψhirabbitt ◤ ◢███◣ ◢███◣ http://ppt.cc/H~k, █████ █████ #1DttPzLe(Little-Games) ██ ███ 為妳而做的遊戲 ██╱╲ ◥█████◣● ...(手殘中)╱╱ ◥████ ˇ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 163.13.127.91

06/15 14:17, , 1F
先用TextField.htmlText再用appendText不是一樣?
06/15 14:17, 1F

06/15 16:05, , 2F
用array.push(str);
06/15 16:05, 2F

06/15 16:05, , 3F
TextField.htmlText = array.join("");
06/15 16:05, 3F
文章代碼(AID): #1D-34Gf3 (Flash)
文章代碼(AID): #1D-34Gf3 (Flash)