|
|
|||
After installing the component, open Flash and locate the FlashTextEditor or FTELight component in the components panel:

Note: The FTELight component does not include all of the features shown below.
1. Create an empty input textfield on the stage, give it an instance name of 'myText' and set its properties as in the image below.
Note: The textfield must be set to be multiline.

2. Drag the FlashTextEditor component from the Components panel and drop it on top of the 'myText' textfield. 
Note that the targetTextField property in the FlashTextEditor's property panel should automatically be set to be 'myText'. Whenever this component is dropped on top of a textfield, the targetTextField property will automatically take the instance name value of the textfield.
3. Give the FlashTextEditor an instance name of 'fte'.
4. Position the component above the textfield and set its properties as you wish.
Note: The component properties panel shows the main properties only. The full list of properties can be accessed through the Component Inspector panel. Click here for an explanation of each property.
5. Export your swf and the FlashTextEditor should be fully functional.
Note: As this is a V2 Flash component, SWF's containing the FlashTextEditor must be published for ActionScript 2.0. Images are not supported when publishing for Flash Player 6.
Please refer to the ActionScript reference for sample code and advanced options.