hi!
i was all the time looking 4 such a print_r function in
flash. actually i found your project than.
but in flash mx 2004 pro i get errors:
i include the lib:
#include "printr_mx.as"
and during compiling i get these message (sorry its
german):
**Fehler** Szene=Szene 1, Ebene=AS, Bild=1:Zeile 56:
Keine Eigenschaft mit dem Namen 'NaN' vorhanden.
**Fehler** Szene=Szene 1, Ebene=AS, Bild=1:Zeile 84:
Keine Eigenschaft mit dem Namen 'NaN' vorhanden.
**Fehler** Szene=Szene 1, Ebene=AS, Bild=1:Zeile 88:
Keine Eigenschaft mit dem Namen 'NaN' vorhanden.
**Fehler** Szene=Szene 1, Ebene=AS, Bild=1:Zeile
113: Keine Eigenschaft mit dem Namen 'NaN' vorhanden.
>> no property with the name "NaN" found
is that a problem of mx 2004 pro ??? (actionscript 2.0)
Logged In: NO
My script is copied from the home page:
#include "printr_mx.as"
var a = new Array("Hello","World","!");
printr(a);
And I get the same error (except in english):
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 56:
There is no property with the name 'NaN'.
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 84:
There is no property with the name 'NaN'.
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 88:
There is no property with the name 'NaN'.
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 113:
There is no property with the name 'NaN'.
Total ActionScript Errors: 4 Reported Errors: 4
Logged In: NO
This doesnt work on AS 2.0!!!!!