I'm not quite sure what your asking.
The trace output is nothing more than strings of text. Its completely
possible to make a class that does the same thing for you but displays it in
the Flash.
On 12/4/08 9:44 AM, Michael Stocke [EMAIL PROTECTED] wrote:
Good morning everyone.
Is
Trace only sends strings to the Flash or Flexbuilder output window, so no.
However, all you have to do is set the variable you want to see to the text
property of the textfield:
myTextField.text = myVariableIdLikeToSee
Jason Merrill
Bank of America Instructional Technology Media ยท
Hi Mike,
I'm working on a similair project, check it out here:
http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/
Right now i'm working on a version that from any swf traces to my air
app, traces to the debug panel in Flex and traces out to FireBug
plugin in Firefox, (will be
In Firefox you can use flashtracer
https://addons.mozilla.org/en-US/firefox/addon/3469so I imagine using a
similar method you could pull trace commands into an Air app.
If you do end up using a textField, make sure to use += and a newline
character \n in each call.
On Thu, Dec 4, 2008 at 10:42
or you can override trace like so:
override public function trace(...args) : void {
super();
textFieldYouWantToTraceIn.appendText(args.toString());
}
This is from the top of my head, so the code could have errors in it.
Test it to see.
Cheers,
Sid
PS. You can ony do this from
function debug(s:String):Void
{
_root.pathToTextField.myText.text += /n+s;
}
then instead of trace(someString);
you use
debug(someString);
a
On Thu, Dec 4, 2008 at 3:42 PM, Merrill, Jason
[EMAIL PROTECTED] wrote:
Trace only sends strings to the Flash or Flexbuilder output window, so no.
this.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of allandt
bik-elliott (thefieldcomic.com)
Sent: Thursday, December 04, 2008 11:04 AM
To: Flash Coders List
Subject: Re: [Flashcoders] display trace() in text field
function debug(s:String):Void
] display trace() in text field
Hi Mike,
I'm working on a similair project, check it out here:
http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/
Right now i'm working on a version that from any swf traces to my air
app, traces to the debug panel in Flex and traces out to FireBug
Michael,
When you override the exsisting trace function, you can do this. Just
include your own functionality in the overwritten trace function.
Its all because you want to have the same function call to trace() i
presume?
Sid
On Dec 4, 2008, at 5:10 PM, Sidney de Koning wrote:
or you
Sent: Thursday, December 04, 2008 11:48 AM
To: Flash Coders List
Subject: Re: [Flashcoders] display trace() in text field
Michael,
When you override the exsisting trace function, you can do this. Just
include your own functionality in the overwritten trace function.
Its all because you want
10 matches
Mail list logo