看板 Flash 關於我們 聯絡資訊
請問AS3裡TextArea的文字相關設定要怎麼設阿?(像顏色字型大小那些) 好像沒有辦法用setStyle(不會出現錯誤但是沒反應) 和TextFormat耶(他會說沒這個屬性) 請問要要用哪一個函式才可以設定TextArea相關文字的屬性阿~ 謝謝囉~ 喔對了請問一下高手 TextArea和TextField比較下好像TEXTAREA比較方便但是可以使用的函式相對 好像少很多耶,有說哪一個比較好用嘛?(我因為要用到捲軸所以直接就用 TextArea了@@") -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.116.39.77
cjcat2266:請看F1的TextFormat,有實際的使用說明 07/19 22:31
cjcat2266:會用到TextField.setTextFormat() 07/19 22:32
cjcat2266:噢,你是說TextArea呀,剛剛看錯,sorry 07/19 22:32
cjcat2266:TextArea.textField是組件內部使用的TextField參考 07/19 22:33
hanosaga:請問意思是xxxx.textField.color="顏色"這樣嘛? 07/19 23:00
hanosaga:我還是弄不出來耶>"< 可以再行細一點說明嘛~謝謝你囉 07/19 23:01
cjcat2266:TextField.setTextFormat()搭配TextFormat物件使用 07/19 23:46
cjcat2266:TextFormat可以設定文字的哪些外觀,F1裡面有表列 07/19 23:47
inthehope:textArea相當難用 07/19 23:57
inthehope:有些BUG 07/19 23:57
hanosaga:喔喔!謝謝樓上們!感謝啦~馬上來試試 07/20 08:12
chengchieh:setStyle的屬性名稱key錯吧... 07/22 13:16