On 5 jul 2008, at 23.22, Gaby Vanhegan wrote:
I know, I know, I should really be using flashlog.txt but I despise the Flash Debug Player with a passion.
I've been fighting with a bunch of different flash loggers and so far the only one that I've made work is Xtrace; it connects but then logs:
<policy-file-request/>
And promptly disconnects. The debug output is printed over the flash movie which is better than nothing but hardly usable. I simply can't get it to log anything more, nor can I get it to send back a lax policy that will permit the logging. Zeroi just plain doesn't work with Xtrace, or at least I can't make it work. Xtrace was fantastic while it worked (in older versions of TM) but since it was upgraded a while back (and I am now running Leopard) it refuses to work. Ah, the joy of Flash security issues.
Other than flashlog.txt, what are my other possible options for logging trace() calls when building AS2.0 apps in TextMate? What do you use? How did you make it work?
This isnt excatly what you asked for in regards to trace(), but ive found http://code.google.com/p/flash-thunderbolt/ to work wonders, it exists for both as2 and as3 projects. For as2 projects it requires firebug http://getfirebug.com/ but if youre not using firefox you can also use http://getfirebug.com/lite.html
firebug is great, just decided to use it in haXe. I recommend you also to use haxe instead mtasc, its his succesor.
On Mon, Jul 7, 2008 at 7:37 PM, Mikael Hultgren blomma@fastmail.fm wrote:
On 5 jul 2008, at 23.22, Gaby Vanhegan wrote:
I know, I know, I should really be using flashlog.txt but I despise the Flash Debug Player with a passion.
I've been fighting with a bunch of different flash loggers and so far the only one that I've made work is Xtrace; it connects but then logs:
<policy-file-request/>
And promptly disconnects. The debug output is printed over the flash movie which is better than nothing but hardly usable. I simply can't get it to log anything more, nor can I get it to send back a lax policy that will permit the logging. Zeroi just plain doesn't work with Xtrace, or at least I can't make it work. Xtrace was fantastic while it worked (in older versions of TM) but since it was upgraded a while back (and I am now running Leopard) it refuses to work. Ah, the joy of Flash security issues.
Other than flashlog.txt, what are my other possible options for logging trace() calls when building AS2.0 apps in TextMate? What do you use? How did you make it work?
This isnt excatly what you asked for in regards to trace(), but ive found http://code.google.com/p/flash-thunderbolt/ to work wonders, it exists for both as2 and as3 projects. For as2 projects it requires firebug http://getfirebug.com/ but if youre not using firefox you can also use http://getfirebug.com/lite.html
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
hi gaby.
i wrote my own tool, which effectively does the same as xtrace plus more. most important for your problem, it responds to a crossdomain request. further it supports filters and themes.
you can get it here: http://nesium.com/home/products/Trazzle/latest debug classes here: https://svn.nesium.net/public/flash/actionscript/trazzle/as2/
despite the version it's more a mature beta than an alpha release. i just had hassle with sparkle for the auto-updating.
cheers, marc
2008/7/7 Baluta Cristian cristi.baluta@gmail.com:
firebug is great, just decided to use it in haXe. I recommend you also to use haxe instead mtasc, its his succesor.
On Mon, Jul 7, 2008 at 7:37 PM, Mikael Hultgren blomma@fastmail.fm wrote:
On 5 jul 2008, at 23.22, Gaby Vanhegan wrote:
I know, I know, I should really be using flashlog.txt but I despise the Flash Debug Player with a passion.
I've been fighting with a bunch of different flash loggers and so far the only one that I've made work is Xtrace; it connects but then logs:
<policy-file-request/>
And promptly disconnects. The debug output is printed over the flash movie which is better than nothing but hardly usable. I simply can't get it to log anything more, nor can I get it to send back a lax policy that will permit the logging. Zeroi just plain doesn't work with Xtrace, or at least I can't make it work. Xtrace was fantastic while it worked (in older versions of TM) but since it was upgraded a while back (and I am now running Leopard) it refuses to work. Ah, the joy of Flash security issues.
Other than flashlog.txt, what are my other possible options for logging trace() calls when building AS2.0 apps in TextMate? What do you use? How did you make it work?
This isnt excatly what you asked for in regards to trace(), but ive found http://code.google.com/p/flash-thunderbolt/ to work wonders, it exists for both as2 and as3 projects. For as2 projects it requires firebug http://getfirebug.com/ but if youre not using firefox you can also use http://getfirebug.com/lite.html
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
-- Cristi www.ralcr.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 7 Jul 2008, at 13:12, Marc Bauer wrote:
i wrote my own tool, which effectively does the same as xtrace plus more. most important for your problem, it responds to a crossdomain request. further it supports filters and themes.
you can get it here: http://nesium.com/home/products/Trazzle/latest debug classes here: https://svn.nesium.net/public/flash/actionscript/trazzle/as2/
despite the version it's more a mature beta than an alpha release. i just had hassle with sparkle for the auto-updating.
I had been using this as an excuse to get into xCode and Obj-C. I had gotten hold of the XTrace source and was modifying the source to respond to the CDP request. I had got as far as opening a writable descriptor to the java logging server, detecting the domain policy request and notifying the java server. I was about to start on the java server modifications to send the CDP file when prodded but my brain exploded at that point (xCode, Obj-C and Java in one day, a bit much)
This, however, is perfect, and more importantly actually works! A thousand thanks :)
Now I can share the same AS2 project folder across TextMate on my mac and FlashDevelop on my PC.
G.
-- Junkets for bunterish lickspittles since 1998! http://www.playr.co.uk/
hi gaby.
i'm glad you like the tool. if you'll switch to as3 anytime, it can also display stacktraces. just as a hint.
cheers, marc
2008/7/7 Gaby Vanhegan gaby@vanhegan.net:
On 7 Jul 2008, at 13:12, Marc Bauer wrote:
i wrote my own tool, which effectively does the same as xtrace plus more. most important for your problem, it responds to a crossdomain request. further it supports filters and themes.
you can get it here: http://nesium.com/home/products/Trazzle/latest debug classes here: https://svn.nesium.net/public/flash/actionscript/trazzle/as2/
despite the version it's more a mature beta than an alpha release. i just had hassle with sparkle for the auto-updating.
I had been using this as an excuse to get into xCode and Obj-C. I had gotten hold of the XTrace source and was modifying the source to respond to the CDP request. I had got as far as opening a writable descriptor to the java logging server, detecting the domain policy request and notifying the java server. I was about to start on the java server modifications to send the CDP file when prodded but my brain exploded at that point (xCode, Obj-C and Java in one day, a bit much)
This, however, is perfect, and more importantly actually works! A thousand thanks :)
Now I can share the same AS2 project folder across TextMate on my mac and FlashDevelop on my PC.
G.
--
Junkets for bunterish lickspittles since 1998! http://www.playr.co.uk/
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 7 Jul 2008, at 15:58, Marc Bauer wrote:
i'm glad you like the tool. if you'll switch to as3 anytime, it can also display stacktraces. just as a hint.
I do have AS3 projects as well, it's just that this legacy one is in AS2. Thanks for the heads-up though.
G.
-- Being drunk is feeling sophisticated without being able to say it. http://www.playr.co.uk/