RE: [flexcoders] Call to a possibly undefined method trace

2007-01-03 Thread Peter Farland
When I type flash.utils.t, trace(rest:Array):void is displayed. So, I assumed it was still defined there but just included/imported by default. This is a mistake, sorry about that. So, is there a way to specify that I want the global trace function rather than my class-defined trace

RE: [flexcoders] Call to a possibly undefined method trace

2007-01-03 Thread Peter Farland
Sorry, that is, a public wrapper function: package { public function global_trace(...rest:Array):void { trace(rest); } }

Re: [flexcoders] Call to a possibly undefined method trace

2007-01-03 Thread Derek Vadneau
Thank you Peter. On 1/3/07, Peter Farland [EMAIL PROTECTED] wrote: Sorry, that is, a public wrapper function: package { public function global_trace(...rest:Array):void { trace(rest); } } -- Derek Vadneau

RE: [flexcoders] Call to a possibly undefined method trace

2007-01-02 Thread Sascha
Why would it be dumb to use trace? It's a neat way of doing a quick debug. The debugger is not always the best choice. Not sure why the trace will not work when called with the whole package name, probably because it's build in globally. Why not just simply use trace()? Sascha _

RE: [flexcoders] Call to a possibly undefined method trace

2007-01-02 Thread Peter Farland
] Call to a possibly undefined method trace Why would it be dumb to use trace? It's a neat way of doing a quick debug. The debugger is not always the best choice. Not sure why the trace will not work when called with the whole package name, probably because it's build in globally. Why not just

Re: [flexcoders] Call to a possibly undefined method trace

2007-01-02 Thread Derek Vadneau
Of *Sascha *Sent:* Tuesday, January 02, 2007 11:28 AM *To:* flexcoders@yahoogroups.com *Subject:* RE: [flexcoders] Call to a possibly undefined method trace Why would it be dumb to use trace? It's a neat way of doing a quick debug. The debugger is not always the best choice. Not sure why