Selected text formation is not working in dynamic text box.
I have 2 textbox in my .fla.
First textbox is input textbox, where user can write text.
The other one is dynamic text box.
In dynamic text box the text comes from input text box.
i.e.:
When user will write text in input text box, this text will also appear in dynamic text box.
Everything is working fine till here.
Now, I need to add text formation buttons which will work on user selected text.
Means:
When user writes text: "This is my text", the text will appear in dynamic text box.
And when user will select text by mouse in dynamic text box and will click ”Bold” button, the selected text must be formatted.
i.e.: Suppose user has selected only "my text" words from dynamic text box and pressed the mouse button, only "my text" words must be bold.
Any one has any Idea?
|