[osflash] Using LuminicBox Logger with AS3
Richard Leggett
rleggett at gmail.com
Tue Nov 22 16:38:28 EST 2005
Ok I've got the TracePublisher working fine, the ConsolePublisher however
(FlashInspector), is outputting undefined for any values. I've uploaded a
screenshot of the test app being debugged, I'm stepping into the code right
till the end (just before the message gets sent over localconnection to
FlashInspector).
http://www.richardleggett.co.uk/misc/debuggingLuminic.PNG
It appears that the message string "hello" is fine, as is the type,
"string". However when it get's to FlashInspector it is output as
"undefined". So I'm thinking maybe there is an incompatibility between
LocalConnection in <=FP8 and FP8.5, but I need to look into this later
(different AMF format?).
If Pablo gives me the ok to upload the code I'll do that and see if anyone
else wants to dive into that problem - perhaps recompiling FlashInspector
too. Most of the changes were just little time consuming things like strict
typing to remove warnings and replacing if(o instanceof Class) with, if(o is
Class) etc but that's all done.
Will keep you updated,
Richard
-----Original Message-----
From: osflash-bounces at osflash.org [mailto:osflash-bounces at osflash.org] On
Behalf Of Aral Balkan
Sent: 22 November 2005 19:35
To: Open Source Flash Mailing List
Subject: Re: [osflash] Using LuminicBox Logger with AS3
There's no trick to using LuminicBox with *Flex 1.5*.
In fact, download the latest Arp from SVN and it's two lines of code:
Log.initialize();
Log.it ( "hello");
Let me know when your AS3 version is ready Richard -- would love to use it!
:)
Aral
More information about the osflash
mailing list