現在ステージ上にあるFlashのTextAreaコンポーネントのフォントサイズをAS3で変更したいです。
インスタンス名で TextFormat オブジェクトを TextAera にリンクしようとしましたが、次のエラーが発生します。
Scene 1, Layer 'actions', Frame 1, Line 44 1061: Call to a possibly undefined method setTextFormat through a reference with static type fl.controls:TextArea.
AS3 コードは次のとおりです。
var myTextFormat:TextFormat = new TextFormat();
myTextFormat.font = "Arial";
myTextFormat.size = 10;
myTextFormat.color = 0xffffff;
my_textArea.setTextFormat(myTextFormat)