Re: [Flashcoders] display trace() in text field

2008-12-04 Thread Gregory Boland
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

RE: [Flashcoders] display trace() in text field

2008-12-04 Thread Merrill, Jason
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 ยท

Re: [Flashcoders] display trace() in text field

2008-12-04 Thread Sidney de Koning
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

Re: [Flashcoders] display trace() in text field

2008-12-04 Thread Joel Stransky
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

Re: [Flashcoders] display trace() in text field

2008-12-04 Thread Sidney de Koning
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

Re: [Flashcoders] display trace() in text field

2008-12-04 Thread allandt bik-elliott (thefieldcomic.com)
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.

RE: [Flashcoders] display trace() in text field

2008-12-04 Thread Michael Stocke
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

RE: [Flashcoders] display trace() in text field

2008-12-04 Thread Michael Stocke
] 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

Re: [Flashcoders] display trace() in text field

2008-12-04 Thread Sidney de Koning
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

RE: [Flashcoders] display trace() in text field

2008-12-04 Thread Michael Stocke
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