I'm trying to list the all variables in AS3 with the value. I want to do this because my code is getting some random number somewhere. Really, all I want to see is when the code gets the random number and I think listing it with the value at random points will help me find out what's messing it up.
I know you can do this in AS2 using:
for(var i in MovieClip){
trace(i+":"+this[i]);
}
How can you do the same thing with AS3?