My first intention, just to see how things are working i wanted to make a trace output - which says "Hello World". What am i doing wrong? Ive tried to use the ActionScript template and i did a script which just says trace ("Hello World"); I did use the "Install MTASC Support Files" and i did a try without...nothing happens. Can anybody help or does know where i get some information? ==================================
trace() is used by the Flash IDE. The MTASC equivalent is TRACE(), which you can set up on the command line to point to another function. I'm currently using the LuminicBox logger, but everyone has their favorite. Google 'actionscript logger' for more options. Most of them either work over a LocalConnection or an XMLSocket to pass information to the logger. XMLSocket loggers are faster but the ones I've seen are less robusty (Luminic, which is a LC debugger, has a nice tree view for your objects).
Good luck :)
P.S. If you're interested in a more complete workflow, check out my howto on the subject at http://www.unfitforprint.com/articles/2006/01/02/howto-develop-flash- on-mac-osx-with-rake-mtasc-swfmill-and-textmate ___________________ Ben Jackson Diretor de Desenvolvimento
+55 (21) 2256-1022 ben@incomumdesign.com http://www.incomumdesign.com
Sounds quite interesting. ;)
How do i do this?
On 31.12.2006, at 21:59, Benjamin Jackson wrote:
My first intention, just to see how things are working i wanted to make a trace output - which says "Hello World". What am i doing wrong? Ive tried to use the ActionScript template and i did a script which just says trace ("Hello World"); I did use the "Install MTASC Support Files" and i did a try without...nothing happens. Can anybody help or does know where i get some information? ==================================
trace() is used by the Flash IDE. The MTASC equivalent is TRACE(), which you can set up on the command line to point to another function. I'm currently using the LuminicBox logger, but everyone has their favorite. Google 'actionscript logger' for more options. Most of them either work over a LocalConnection or an XMLSocket to pass information to the logger. XMLSocket loggers are faster but the ones I've seen are less robusty (Luminic, which is a LC debugger, has a nice tree view for your objects).
Good luck :)
P.S. If you're interested in a more complete workflow, check out my howto on the subject at http://www.unfitforprint.com/articles/2006/01/02/howto-develop- flash-on-mac-osx-with-rake-mtasc-swfmill-and-textmate ___________________ Ben Jackson Diretor de Desenvolvimento
+55 (21) 2256-1022 ben@incomumdesign.com http://www.incomumdesign.com
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
You're right! I've just built my first HelloWorld with TextMate.
Thanks for your help.
For logging i am using XTrace, because thats built in the ActionScript bundle, or am i wrong? Cant i just use TextMate and build from within it to see my Flash files? Sounds like this way with some external apps it becomes more and more difficult to build.
On 31.12.2006, at 21:59, Benjamin Jackson wrote:
My first intention, just to see how things are working i wanted to make a trace output - which says "Hello World". What am i doing wrong? Ive tried to use the ActionScript template and i did a script which just says trace ("Hello World"); I did use the "Install MTASC Support Files" and i did a try without...nothing happens. Can anybody help or does know where i get some information? ==================================
trace() is used by the Flash IDE. The MTASC equivalent is TRACE(), which you can set up on the command line to point to another function. I'm currently using the LuminicBox logger, but everyone has their favorite. Google 'actionscript logger' for more options. Most of them either work over a LocalConnection or an XMLSocket to pass information to the logger. XMLSocket loggers are faster but the ones I've seen are less robusty (Luminic, which is a LC debugger, has a nice tree view for your objects).
Good luck :)
P.S. If you're interested in a more complete workflow, check out my howto on the subject at http://www.unfitforprint.com/articles/2006/01/02/howto-develop- flash-on-mac-osx-with-rake-mtasc-swfmill-and-textmate ___________________ Ben Jackson Diretor de Desenvolvimento
+55 (21) 2256-1022 ben@incomumdesign.com http://www.incomumdesign.com
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 1/12/07, Zeitler Andreas zettt@macbay.de wrote:
For logging i am using XTrace, because thats built in the ActionScript bundle, or am i wrong? Cant i just use TextMate and build from within it to see my Flash files? Sounds like this way with some external apps it becomes more and more difficult to build.
XTrace is included with the bundle for your convenience, but you can use anything you want for logging.
Open 'mtasc.yaml' and add this line:
trace: com.your.trace.function
and that will be used for tracing.
I find XTrace is a nice system for logging in OSX, but I'm open to suggestions on better alternatives.
All this should be clearer once I finish writing the docs (almost there :)
I'm glad you finally got it all working. Feel free to report your bugs to the list ;)
-- Ale Muñoz http://sofanaranja.com http://bomberstudios.com
Please be sure: I will ;) And when i got some ideas which may help you to improve your bundle i will post it, too!
Ale Muñoz wrote:
I'm glad you finally got it all working. Feel free to report your bugs to the list ;)