Saturday, March 27, 2010

Text Formatting

I am trying to create a user friendly way of formatting my
input/html text box in flash for a website admin section:



I need to be able to select a word or group of words from the
loaded text in the text box and if I click one of the three buttons
located below have it do the following:



Button 1 - puts a {b} beofre the selection and a {/b} after
the selection or word(s)

Button 2 - puts a {I} beofre the selection and a {/I} after
the selection or word(s)

Button 3 - puts a {u} beofre the selection and a {/u} after
the selection or word(s)



Yes the above letters should be placed inside [ ] instead of
{ } but I could not do that on here.



Can someone please create a code that will complete this
action?



Thanks In Advance - BryanText Formatting
Here is one possible solution:
http://www.smithmediafusion.com/blog/?p=234





--



Dan Mode

--%26gt; Adobe Community Expert

*Flash Helps*
http://www.smithmediafusion.com/blog/?cat=11

*THE online Radio*
http://www.tornadostream.com
%26lt;--check this



*Must Read*
http://www.smithmediafusion.com/blog





''bcounts'' %26lt;webforumsuser@macromedia.com%26gt; wrote in
message

news:euq74i$4ui$1@forums.macromedia.com...

%26gt;I am trying to create a user friendly way of formatting
my input/html text

%26gt;box

%26gt; in flash for a website admin section:

%26gt;

%26gt; I need to be able to select a word or group of words
from the loaded text

%26gt; in

%26gt; the text box and if I click one of the three buttons
located below have it

%26gt; do

%26gt; the following:

%26gt;

%26gt; Button 1 - puts a {b} beofre the selection and a {/b}
after the selection

%26gt; or

%26gt; word(s)

%26gt; Button 2 - puts a {I} beofre the selection and a {/I}
after the selection

%26gt; or

%26gt; word(s)

%26gt; Button 3 - puts a {u} beofre the selection and a {/u}
after the selection

%26gt; or

%26gt; word(s)

%26gt;

%26gt; Yes the above letters should be placed inside [ ]
instead of { } but I

%26gt; could

%26gt; not do that on here.

%26gt;

%26gt; Can someone please create a code that will complete this
action?

%26gt;

%26gt; Thanks In Advance - Bryan

%26gt;





Text Formatting
Not Quiet What I Need

No comments:

Post a Comment