As3 textField vs. tags vs. textArea

What is the difference between TextField, Label and TextArea in flash memory. I am trying to find the easiest class to display text, because I will do a lot of them. Any ideas would be helpful. Thank.

+3
source share
2 answers

The difference is that TextField is the basic display object that Flash uses to display text, and Label and TextArea are UIComponents that support things like skinning and styling. If TextField does everything you need, usually this is what you should probably use. (And if you are doing a lot of them, you might consider including cacheAsBitmap to limit the frequency of text display.)

+4
source

TextField is a lower-level text component provided by the player himself.

Label is a shell that introduces the functionality provided by the Flash environment and provides a read-only text component.

TextArea - , , Flash, .

TextField , - , . Label TextArea , . , TextField.

+2

Source: https://habr.com/ru/post/1759355/


All Articles