關於外部讀取XML 的htmlText 問題

1 view
Skip to first unread message

oowale

unread,
Feb 3, 2010, 9:52:25 PM2/3/10
to 台灣 Adobe 使用者俱樂部
AS2.0能否在外部XML檔直接輸入HTML格式呢?

目前小弟使用的方法是:
假設price為外部讀取XML的內容
price_txt.html = true;
price_txt.htmlText = "<b>價格:$</>"+price+"<b>NT</b>"

但是這樣很不方便
能否有捨麼方式直接在外部XML輸入的就是html格式呢?

以下為我在外部XML天真的想法

price = "<b>price:</b>700<b>NT</b>";

一一"完全無法讀取

Reply all
Reply to author
Forward
0 new messages