GhostWire TextArea
This Flash component allows you to easily create textfields with (horizontal/vertical) scrollbars attached. In addition, the component allows you to load an external text file and populate the textfield automatically with the file's contents, without writing a single line of code.
Example
The following is an example of the TextArea component (filesize 12KB, approximately 9KB without buttons)
Note that in this example, we have set the 'editable' property to true (default).
Features Flexible
It is easy to configure the component through its Properties panel, resulting in a variety of look and feel (the frame and scrollbar colors, as well as other properties; refer to Configurations):
Note that in this example, we have set the 'editable' property to false.
External Text File
The TextArea component can automatically load an external text file and populate the textfield with the contents. The file can be loaded by specifying the path to the file from the Properties Panel, or during runtime using the GWTextArea.loadText(file) method.
Snap to Pixel
The component snaps to pixel when published, ensuring that it looks crisp and sharp when the movie plays. Usually to achieve this, you need to ensure that you place your movieclips at integer coordinates (no decimal place) during authoring time. This is not necessary with GhostWire components, which will automatically snap to pixel when published. For example, if the component was placed at x coordinate 20.2, when published it will be placed at x coordinate 20.0 instead. In addition, the component also resizes itself to integer widths and heights.
Frame
By default, the TextArea component shows a frame around the textfield. The colors of the frame can be configured for a variety of look. In addition, the frame can be switched off (for example, if you want to design your own border/frame).
Flash Player 7 MouseWheel Scroll
The TextArea is compatible with the mousewheel scroll support in Flash Player 7.