public function setTextFormat(format:TextFormat, beginIndex:int= -1, endIndex:int= -1):void my_textField.setTextFormat(textFormat:TextFormat) 將 textFormat 的屬性套用到文字欄位中的所有文字。 my_textField.setTextFormat(beginIndex:Number, textFormat:TextFormat) 將 textFormat 的屬性套用到位於 beginIndex 位置的字元。 my_textField.setTextFormat(beginIndex:Number, endIndex:Number, textFormat:TextFormat) 將 textFormat 參數的屬性套用到從 beginIndex 位置到 endIndex 位置的文字 -------------------------------------------------------------------------------------------------------------------------------- 英文版 my_textField.setTextFormat(textFormat:TextFormat) Applies the properties of textFormat to all text in the text field. my_textField.setTextFormat(beginIndex:Number, textFormat:TextFormat) Applies the properties of textFormat to the character at the beginIndex position. my_textField.setTextFormat(beginIndex:Number, endIndex:Number, textFormat:TextFormat) Applies the properties of th...