What are the differences between “field.appendText” and “field.htmltext =”
-
22-06-2021 - |
문제
Ihave been looking it for a day but I couldnt find any answer. What are the differences between the following 2 codes. (Performance,operation etc..)
First Code
tField.appendText("<font color='#7f7f7f'>" + TahminTxt.text + "\n</font>");
tField.htmlText=tField.Text;
Second Code
tField.htmlText+="<font color='#7f7f7f'>" + TahminTxt.text + "\n</font>";
해결책
In terms of operation I believe the end result is equivalent however appendText is much faster seen in the docs, on others forums, and in my own testing: http://help.adobe.com/en_US/as3/mobile/WS4bebcd66a74275c3a0f5f19124318fc87b-7ffc.html
제휴하지 않습니다 StackOverflow