开发者

All the trace() function calls in ActionScript 3.0 stopped running using Flash Pro CS5?

开发者 https://www.devze.com 2022-12-28 18:09 出处:网络
I follow some sample code which uses trace(\"开发者_运维问答Hello World\"); to print out something in ActionScript 3.0, in Flash Professional CS5.

I follow some sample code which uses

trace("开发者_运维问答Hello World");

to print out something in ActionScript 3.0, in Flash Professional CS5.

But nothing seems to get printed out (in a browser). Is the trace() function deprecated / removed?


if you are using the developer version of the flashplayer then the trace function is output to a log file somewhere on your system (depending on os and flash player) see here for notes otherwise there are programs that output things via javascript, i use thunderbolt to talk to firebug in firefox, but there are others out there that do similar things.


The trace function exists for testing applications when you are creating them in the Flash CS5 IDE. You should be using the Test Movie option to run your movie when you want to have these messages put on screen.


You can see your trace messages in your FLASH CS5 IDE output window, but you can't see it in your swf

0

精彩评论

暂无评论...
验证码 换一张
取 消