I want to clone an mx:Label object. I thought I should be able to use
for (var i: String in label){
trace(i);
}
to test cycling through the properties of my label, but no luck.
There's no compile error, but it also doesn't loop. I've tried this
directly on the label object and inside a
In AS3, the in operator will iterate only through dynamically added properties. Properties/methods that are declared as part of the class are not included, so it will show nothing for the Label.
On 4/4/06, David Moylan [EMAIL PROTECTED] wrote:
I want to clone an mx:Label object.I thought I
2 matches
Mail list logo