我想一個簡單的Hello World程序,但控制檯給我只有這個代碼FlashDevelop中配置錯誤
Running process: C:\Programmi\FlashDevelop\Tools\fdbuild\fdbuild.exe "C:\Documents and Settings\utente\Documenti\Hello world\Hello world.as3proj" -ipc 2f5d48a8-f89e-4dc8-aa99-99e061c45f7f -version "4.6.0; 3.1" -compiler "C:\Programmi\FlashDevelop\Tools\flexsdk" -library "C:\Programmi\FlashDevelop\Library"
Building Hello world
mxmlc -load-config+=obj\HelloworldConfig.xml -debug=true -incremental=true -swf-version=10 -o obj\Helloworld634649421104366338
Starting java as: java.exe
INITIALIZING: Adobe Flex Compiler SHell (fcsh)
Starting new compile.
Loading configuration file C:\Programmi\FlashDevelop\Tools\flexsdk\frameworks\flex-config.xml
Loading configuration file C:\Documents and Settings\utente\Documenti\Hello world\obj\HelloworldConfig.xml
obj\Helloworld634649421104366338 (733 bytes)
(fcsh)Build succeeded
Done(0)
[No debug Flash player connection request]
必須表明我的Hello World!我知道配置存在一些問題,但我不知道該怎麼做。 我下載了最新版本的FlashDevelop的,它採用11.1閃存調試器,以及4.6版本的柔性... 詩的Hello世界級的代碼:
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
}
}
}
主類的代碼:
package
{
import flash.display.Sprite;
public class Main extends Sprite
{
public function Main():void
{
trace("Hello World!");
}
}
}
我沒有注意到!謝謝,我會盡快解決這個愚蠢的錯誤! – 2012-02-15 23:32:39