[Flashcoders] display trace() in text field

2008-12-04 Thread Michael Stocke
Good morning everyone.

 

Is it possible to display trace actions in a text field? I realize there
are numerous other troubleshooting tools similar to trace, but I
specifically want to display trace actions without any additional coding
required in the target file. I want to create a debugging tool in AIR
that will allow me to display trace actions from currently running
swfs.

 

I suspect this isn't feasible, but any tips or ideas would be
appreciated, Thanks.  

 

Mike Stocke
Interface Engineer

Organic, Inc. | Detroit
2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
t: 248.454.4015  |  f: 248.454.3370

 

Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
Blog: http://Threeminds.Organic.com http://threeminds.organic.com/ 
Website: www.Organic.com http://www.organic.com/ 

 



This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. Dissemination, distribution or copying of this email 
or the information herein by anyone other than the intended recipient, or an 
employee or agent responsible for delivering the message to the intended 
recipient, is prohibited.  If you have received this email in error, please 
immediately notify us by calling our Help Desk at (415) 581-5552 or by 
e-mailing us at [EMAIL PROTECTED]


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 it possible to display trace actions in a text field?

 
Gregory Boland | IconNicholson
Flash Engineer, Technology
[EMAIL PROTECTED]
tel +1 212.981.0563
mobile +1 201.600.6269
295 Lafayette Street, New York, NY 10012
 
www.iconnicholson.com
--
This communication may contain information that is confidential or exempt
from disclosure.  If you are not the intended recipient, please note that
any dissemination, distribution, or copying of this communication is
strictly prohibited. Anyone who receives this message in error should notify
the sender immediately by telephone or by return email and delete it from
his or her computer.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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   ·   GCIB  Staff Support 
LLD

Interested in Flash Platform technologies?  Join the Bank of America Flash 
Platform Developer Community 
Interested in innovative ideas in Learning?  Check out the Innovative Learning 
Blog and subscribe.






-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Stocke
Sent: Thursday, December 04, 2008 9:44 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] display trace() in text field

Good morning everyone.

 

Is it possible to display trace actions in a text field? I realize there
are numerous other troubleshooting tools similar to trace, but I
specifically want to display trace actions without any additional coding
required in the target file. I want to create a debugging tool in AIR
that will allow me to display trace actions from currently running
swfs.

 

I suspect this isn't feasible, but any tips or ideas would be
appreciated, Thanks.  

 

Mike Stocke
Interface Engineer

Organic, Inc. | Detroit
2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
t: 248.454.4015  |  f: 248.454.3370

 

Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
Blog: http://Threeminds.Organic.com http://threeminds.organic.com/ 
Website: www.Organic.com http://www.organic.com/ 

 



This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. Dissemination, distribution or copying of this email 
or the information herein by anyone other than the intended recipient, or an 
employee or agent responsible for delivering the message to the intended 
recipient, is prohibited.  If you have received this email in error, please 
immediately notify us by calling our Help Desk at (415) 581-5552 or by 
e-mailing us at [EMAIL PROTECTED]


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 online after the weekend)


Is this what you are looking for?

Sidney


On Dec 4, 2008, at 3:44 PM, Michael Stocke wrote:


Good morning everyone.



Is it possible to display trace actions in a text field? I realize  
there

are numerous other troubleshooting tools similar to trace, but I
specifically want to display trace actions without any additional  
coding

required in the target file. I want to create a debugging tool in AIR
that will allow me to display trace actions from currently running
swfs.



I suspect this isn't feasible, but any tips or ideas would be
appreciated, Thanks.



Mike Stocke
Interface Engineer

Organic, Inc. | Detroit
2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
t: 248.454.4015  |  f: 248.454.3370



Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
Website: www.Organic.com http://www.organic.com/





This email is intended only for the person or entity to which it is  
addressed and may contain information that is privileged,  
confidential or otherwise protected from disclosure. Dissemination,  
distribution or copying of this email or the information herein by  
anyone other than the intended recipient, or an employee or agent  
responsible for delivering the message to the intended recipient, is  
prohibited.  If you have received this email in error, please  
immediately notify us by calling our Help Desk at (415) 581-5552 or  
by e-mailing us at [EMAIL PROTECTED]



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 AM, Merrill, Jason 
[EMAIL PROTECTED] wrote:

 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   ·   GCIB  Staff
 Support LLD

 Interested in Flash Platform technologies?  Join the Bank of America Flash
 Platform Developer Community
 Interested in innovative ideas in Learning?  Check out the Innovative
 Learning Blog and subscribe.






 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Michael Stocke
 Sent: Thursday, December 04, 2008 9:44 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] display trace() in text field

 Good morning everyone.



 Is it possible to display trace actions in a text field? I realize there
 are numerous other troubleshooting tools similar to trace, but I
 specifically want to display trace actions without any additional coding
 required in the target file. I want to create a debugging tool in AIR
 that will allow me to display trace actions from currently running
 swfs.



 I suspect this isn't feasible, but any tips or ideas would be
 appreciated, Thanks.



 Mike Stocke
 Interface Engineer

 Organic, Inc. | Detroit
 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
 t: 248.454.4015  |  f: 248.454.3370



 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
 Website: www.Organic.com http://www.organic.com/




 
 This email is intended only for the person or entity to which it is
 addressed and may contain information that is privileged, confidential or
 otherwise protected from disclosure. Dissemination, distribution or copying
 of this email or the information herein by anyone other than the intended
 recipient, or an employee or agent responsible for delivering the message to
 the intended recipient, is prohibited.  If you have received this email in
 error, please immediately notify us by calling our Help Desk at (415)
 581-5552 or by e-mailing us at [EMAIL PROTECTED]


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
--Joel Stransky
stranskydesign.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 a class file. I don't think the Flash IDE  
lets you override functions directly.




On Dec 4, 2008, at 5:03 PM, allandt bik-elliott (thefieldcomic.com)  
wrote:



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.
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   ·   GCIB   
Staff

Support LLD

Interested in Flash Platform technologies?  Join the Bank of  
America Flash

Platform Developer Community
Interested in innovative ideas in Learning?  Check out the Innovative
Learning Blog and subscribe.






-Original Message-
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Michael  
Stocke

Sent: Thursday, December 04, 2008 9:44 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] display trace() in text field

Good morning everyone.



Is it possible to display trace actions in a text field? I realize  
there

are numerous other troubleshooting tools similar to trace, but I
specifically want to display trace actions without any additional  
coding

required in the target file. I want to create a debugging tool in AIR
that will allow me to display trace actions from currently running
swfs.



I suspect this isn't feasible, but any tips or ideas would be
appreciated, Thanks.



Mike Stocke
Interface Engineer

Organic, Inc. | Detroit
2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
t: 248.454.4015  |  f: 248.454.3370



Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
Website: www.Organic.com http://www.organic.com/





This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged,  
confidential or
otherwise protected from disclosure. Dissemination, distribution or  
copying
of this email or the information herein by anyone other than the  
intended
recipient, or an employee or agent responsible for delivering the  
message to
the intended recipient, is prohibited.  If you have received this  
email in

error, please immediately notify us by calling our Help Desk at (415)
581-5552 or by e-mailing us at [EMAIL PROTECTED]


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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.
  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   ·   GCIB  Staff
 Support LLD

 Interested in Flash Platform technologies?  Join the Bank of America Flash
 Platform Developer Community
 Interested in innovative ideas in Learning?  Check out the Innovative
 Learning Blog and subscribe.






 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Michael Stocke
 Sent: Thursday, December 04, 2008 9:44 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] display trace() in text field

 Good morning everyone.



 Is it possible to display trace actions in a text field? I realize there
 are numerous other troubleshooting tools similar to trace, but I
 specifically want to display trace actions without any additional coding
 required in the target file. I want to create a debugging tool in AIR
 that will allow me to display trace actions from currently running
 swfs.



 I suspect this isn't feasible, but any tips or ideas would be
 appreciated, Thanks.



 Mike Stocke
 Interface Engineer

 Organic, Inc. | Detroit
 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
 t: 248.454.4015  |  f: 248.454.3370



 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
 Website: www.Organic.com http://www.organic.com/




 
 This email is intended only for the person or entity to which it is
 addressed and may contain information that is privileged, confidential or
 otherwise protected from disclosure. Dissemination, distribution or copying
 of this email or the information herein by anyone other than the intended
 recipient, or an employee or agent responsible for delivering the message to
 the intended recipient, is prohibited.  If you have received this email in
 error, please immediately notify us by calling our Help Desk at (415)
 581-5552 or by e-mailing us at [EMAIL PROTECTED]


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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

2008-12-04 Thread Michael Stocke
Maybe I should have been a little more clear: I already know how to
display text in a text field. I specifically want to use the trace
command. My vision is to create a tool that will display trace commands
from existing .swfs. However, based on Jason's remarks, I guess I can't
do 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
{
_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.
  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   *   GCIB 
Staff
 Support LLD

 Interested in Flash Platform technologies?  Join the Bank of America
Flash
 Platform Developer Community
 Interested in innovative ideas in Learning?  Check out the Innovative
 Learning Blog and subscribe.






 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Michael Stocke
 Sent: Thursday, December 04, 2008 9:44 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] display trace() in text field

 Good morning everyone.



 Is it possible to display trace actions in a text field? I realize
there
 are numerous other troubleshooting tools similar to trace, but I
 specifically want to display trace actions without any additional
coding
 required in the target file. I want to create a debugging tool in AIR
 that will allow me to display trace actions from currently running
 swfs.



 I suspect this isn't feasible, but any tips or ideas would be
 appreciated, Thanks.



 Mike Stocke
 Interface Engineer

 Organic, Inc. | Detroit
 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
 t: 248.454.4015  |  f: 248.454.3370



 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
 Website: www.Organic.com http://www.organic.com/


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. Dissemination, distribution or copying of this email 
or the information herein by anyone other than the intended recipient, or an 
employee or agent responsible for delivering the message to the intended 
recipient, is prohibited.  If you have received this email in error, please 
immediately notify us by calling our Help Desk at (415) 581-5552 or by 
e-mailing us at [EMAIL PROTECTED]



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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

2008-12-04 Thread Michael Stocke
I was really hoping to just use the trace command, but I guess I can't.

Thanks for your response.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: Thursday, December 04, 2008 10:55 AM
To: Flash Coders List
Subject: Re: [Flashcoders] 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  
plugin in Firefox, (will be online after the weekend)

Is this what you are looking for?

Sidney


On Dec 4, 2008, at 3:44 PM, Michael Stocke wrote:

 Good morning everyone.



 Is it possible to display trace actions in a text field? I realize  
 there
 are numerous other troubleshooting tools similar to trace, but I
 specifically want to display trace actions without any additional  
 coding
 required in the target file. I want to create a debugging tool in AIR
 that will allow me to display trace actions from currently running
 swfs.



 I suspect this isn't feasible, but any tips or ideas would be
 appreciated, Thanks.



 Mike Stocke
 Interface Engineer

 Organic, Inc. | Detroit
 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
 t: 248.454.4015  |  f: 248.454.3370



 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
 Website: www.Organic.com http://www.organic.com/


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. Dissemination, distribution or copying of this email 
or the information herein by anyone other than the intended recipient, or an 
employee or agent responsible for delivering the message to the intended 
recipient, is prohibited.  If you have received this email in error, please 
immediately notify us by calling our Help Desk at (415) 581-5552 or by 
e-mailing us at [EMAIL PROTECTED]



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 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 a class file. I don't think the Flash  
IDE lets you override functions directly.




On Dec 4, 2008, at 5:03 PM, allandt bik-elliott (thefieldcomic.com)  
wrote:



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.
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   ·   GCIB   
Staff

Support LLD

Interested in Flash Platform technologies?  Join the Bank of  
America Flash

Platform Developer Community
Interested in innovative ideas in Learning?  Check out the  
Innovative

Learning Blog and subscribe.






-Original Message-
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Michael  
Stocke

Sent: Thursday, December 04, 2008 9:44 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] display trace() in text field

Good morning everyone.



Is it possible to display trace actions in a text field? I realize  
there

are numerous other troubleshooting tools similar to trace, but I
specifically want to display trace actions without any additional  
coding
required in the target file. I want to create a debugging tool in  
AIR

that will allow me to display trace actions from currently running
swfs.



I suspect this isn't feasible, but any tips or ideas would be
appreciated, Thanks.



Mike Stocke
Interface Engineer

Organic, Inc. | Detroit
2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
t: 248.454.4015  |  f: 248.454.3370



Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
Website: www.Organic.com http://www.organic.com/





This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged,  
confidential or
otherwise protected from disclosure. Dissemination, distribution  
or copying
of this email or the information herein by anyone other than the  
intended
recipient, or an employee or agent responsible for delivering the  
message to
the intended recipient, is prohibited.  If you have received this  
email in
error, please immediately notify us by calling our Help Desk at  
(415)

581-5552 or by e-mailing us at [EMAIL PROTECTED]


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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

2008-12-04 Thread Michael Stocke
That is what I'm trying to do. Unfortunately I tried something like this
yesterday and it only worked when I used this.trace, rather than just
trace.

Thank you for the response, though.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
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 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 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 a class file. I don't think the Flash  
 IDE lets you override functions directly.



 On Dec 4, 2008, at 5:03 PM, allandt bik-elliott (thefieldcomic.com)  
 wrote:

 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.
 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   *   GCIB   
 Staff
 Support LLD

 Interested in Flash Platform technologies?  Join the Bank of  
 America Flash
 Platform Developer Community
 Interested in innovative ideas in Learning?  Check out the  
 Innovative
 Learning Blog and subscribe.






 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Michael  
 Stocke
 Sent: Thursday, December 04, 2008 9:44 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] display trace() in text field

 Good morning everyone.



 Is it possible to display trace actions in a text field? I realize  
 there
 are numerous other troubleshooting tools similar to trace, but I
 specifically want to display trace actions without any additional  
 coding
 required in the target file. I want to create a debugging tool in  
 AIR
 that will allow me to display trace actions from currently running
 swfs.



 I suspect this isn't feasible, but any tips or ideas would be
 appreciated, Thanks.



 Mike Stocke
 Interface Engineer

 Organic, Inc. | Detroit
 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
 t: 248.454.4015  |  f: 248.454.3370



 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
 Website: www.Organic.com http://www.organic.com/


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. Dissemination, distribution or copying of this email 
or the information herein by anyone other than the intended recipient, or an 
employee or agent responsible for delivering the message to the intended 
recipient, is prohibited.  If you have received this email in error, please 
immediately notify us by calling our Help Desk at (415) 581-5552 or by 
e-mailing us at [EMAIL PROTECTED]



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders