Hello,
I found that doesn't make sense to me that empty string label length is 1.
- clearconsole();
- treenode obj = Model.find("Shape17");
- string a;
- string b = "";
- obj.alabel = a;
- print("a:" + a.length);
- print("b:" + b.length);
- print("alabel:" + obj.alabel.length);// length of empty string equal to 1 doesn't make sense in FlexScript
- print("a=b:" + (a == b));
- print("a=alabel:" + (a == obj.alabel)