|
Re: How do I debug actionscript in ming?: msg#00035web.ming.general
As an extension to Wolfgang's method, I like to make debugging output conditional on the server url or port. This means you can use exactly the same code in development and production. DEBUG = (_url == testServer); //or similar if(DEBUG){ createTextField('log');//etc } function mytrace(x){ if (DEBUG){ log += x + '\n'; log.scroll = log.maxscroll; } } function mytrace(x) douglas |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: How do I debug actionscript in ming?: 00035, gaz b |
|---|---|
| Next by Date: | ming simply doesnt work...: 00035, zextra |
| Previous by Thread: | Re: How do I debug actionscript in ming?i: 00035, Wolfgang Hamann |
| Next by Thread: | Re: How do I debug actionscript in ming?: 00035, gaz b |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |