【AS3】FlashDevelop【フリー】 (601レス)
上
下
前
次
1-
新
574
: 2012/09/12(水)06:08
ID:/jNB9YMr(1/2)
AA×
外部リンク[html]:actionsc.web.fc2.com
[240|
320
|
480
|
600
|
100%
|
JPG
|
べ
|
レス栞
|
レス消
]
574: [sage] 2012/09/12(水) 06:08:24.15 ID:/jNB9YMr http://actionsc.web.fc2.com/pro_kiso03.html ここにある足し算をやりたいだけなのに、 C:\xampp\htdocs\flash_test\src\Main.as(23): col: 11 Error: Type was not found or was not a compile-time constant: textField. C:\xampp\htdocs\flash_test\src\Main.as(23): col: 27 Error: Call to a possibly undefined method textField. このようなエラーがでてコンパイルできません・・・。 SDKが原因かと思い調べましたが4.6が設定されていました。 FlashDevelopのバージョンは4.04です。 こちらが書いたソースです。アドバイスをお願いします…。 package { import flash.display.Sprite; import flash.events.Event; public class Main extends Sprite { public function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); // entry point var tf:textField = new textField(); tf.text = "10 * 50"; this.addChild(tf); } } } http://mevius.5ch.net/test/read.cgi/swf/1216151218/574
ここにある足し算をやりたいだけなのに このようなエラーがでてコンパイルできません が原因かと思い調べましたがが設定されていました のバージョンはです こちらが書いたソースですアドバイスをお願いします
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 27 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
ぬこの手
ぬこTOP
0.028s