logo       

Re: How do I debug actionscript in ming?: msg#00033

web.ming.general

Subject: Re: How do I debug actionscript in ming?


Hi David,

I usually set aside a text area with scroll buttons in my movie - if the text
area has an
associated variable "log" I would add this code
function mytrace(x)
{ log += x + '\n';
log.scroll = log.maxscroll;
}

Now wherever you would use trace(...) in flash, you can simply use
_root.mytrace(...)
The definite advantage - you can do testing in circumstances where even the
flash environment
fails (such as experiencing the multiple domain problem between localhost and
127.0.0.1)
I recall that on one occasion I added a send button to the text area to save
all the debugging
output on the server

Wolfgang



In other words I have a feeling the _setName isn't successful or getting set for
the wrong level/kind of object.

The only real problem I have is I would like to debug the actionscript with ming
on a linux box but it's not evident.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise