Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

system.out.println equivalent in flash

Tags:

flash

Is there an equivalent method to print stuff out in flash cs3? Im used to using System.out.println() in java

Thanks

like image 662
user560571 Avatar asked May 02 '26 21:05

user560571


1 Answers

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.

like image 173
divillysausages Avatar answered May 06 '26 00:05

divillysausages



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!