Hi, Carlos ;
try this:
in Actionscript Perspective, in Navigator
select project, right click --> add Logger to Project
then the virtual folder "logger" should appear in your
project.
in Application.as
import Log;
class Application
{
private var _log:Log; // force mtasc to compile Log.as
function Application(createdBy)
{
// Re-assigment of _root to Application instance
createdBy.__proto__ = this.__proto__;
createdBy.__constructor__ = Application;
this = createdBy;
setup();
}
public function setup()
{
TRACE("hello world");
}
public static function main(createdBy:MovieClip)
{
var app = new Application(createdBy);
}
}; // end of class
in your build file
use -trace Log.addMessage
finnaly don't forget to "start logger" green button in your
AS Logger panel.
Hope this help!
Feng Hua
Message: 2
Date: Sun, 7 Aug 2005 11:30:56 +0200
From: Carlos Rovira <[EMAIL PROTECTED]>
Subject: [osflash] New AS Logger panel in ASDT
To: Open Source Flash Mailing List <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
Hi List,
Someone knows how this new feature works?, I start the AS Logger, but
I don't know what's expecting this new panel...
--
::| Carlos Rovira
::| http://www.carlosrovira.com
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org