07/10/04 17:58:07 lWKPk1u3 BE:158083823-2BP(2450)
外部テキストファイルに書かれた変数を読み込んでASで作成したテキストフィールドに表示したいんですが、
こんなかんじに書いてもNaNと表示されるばかりでテキストファイルの内容はまったく表示されません。
System.useCodepage = true;
_root.loadVariables("テキスト.txt");
var news = Number(main);
my_fmt = new TextFormat();
my_fmt.size = 12;
my_fmt.font = "Arial";
_root.createTextField("new",4,15,30,200,150);
with (_root.new) {
text = news;
setTextFormat(my_fmt);
}
なにか変なとこあるでしょうか…ご指摘お願いします。
ちなみに使用ソフトはparaflaです。