作者:徐大总统_584 | 来源:互联网 | 2023-07-06 17:10
篇首语:本文由编程笔记#小编为大家整理,主要介绍了actionscript-对象自省相关的知识,希望对你有一定的参考价值。thiswillloopthrough
篇首语:本文由编程笔记#小编为大家整理,主要介绍了actionscript-对象自省相关的知识,希望对你有一定的参考价值。
this will loop through an object and get all its properties
//this will loop through an object and get all its properties
for &#40;var p in <object name>&#41;
&#123;
trace&#40;p+":"+<object name>&#91;p&#93;+"
"&#41;;
&#125;