开发者

system.out.println equivalent in flash

Is there an equivalent method to print stuff out in flash cs3? Im used to using System.out.prin开发者_运维技巧tln() in java

Thanks


You can use the trace() function which will trace to the debug console if you're using the debug player (right-click on the SWF - if you see an option named "Debugger" you're using the debug version - otherwise go here: http://www.adobe.com/support/flashplayer/downloads.html).

Where it comes out depends on the IDE; the console window in Eclipse/FlashBuilder and the Output panel in Flash/FlashDevelop.

If you're looking for something more along the lines of printf, then you can check out this project: http://code.google.com/p/printf-as3/ which gives you the same result.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜