With the AS3 framework and mx.logging package you can create your "Target" class to control FlashInspector console :)
For the moment I use the mx.logging polymorphism in my AS2 Vegas Framework's version :)
http://live.burrrn.com/browser/projects/VEGAS/AS2/trunk/src/vegas/logging
You can use my LuminicTarget class for example to create your AS3 class :
http://live.burrrn.com/browser/projects/VEGAS/AS2/trunk/src/vegas/logging/targets/LuminicTarget.as
You must use mx.logging AS3 classes ! it's easy.
PS : read the example to use mx.logging package in the Flex2 Language Reference :
http://livedocs.macromedia.com/labs/1/flex20beta3/langref/index.html
Sorry for my english .... ;)
Bye :)
2006/5/18, John Grden <
[EMAIL PROTECTED]>:
Hey Richard, did you ever figure this out? are there any issues with AS3 Localconnection and as2 SWF like this?On 11/22/05, Richard Leggett < [EMAIL PROTECTED]> wrote: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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 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
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org--
John Grden - Blitz
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
