Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 09-25-2007, 08:43 AM   #1
trytestabc
Try Test
 
Join Date: Sep 2007
Posts: 1
Exclamation 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?
trytestabc is offline   Reply With Quote
Old 09-25-2007, 09:01 AM   #2
flastar
Registered User
 
Join Date: Aug 2007
Location: Belarus, Grodno
Posts: 16
Send a message via ICQ to flastar Send a message via Skype™ to flastar
Default

setTextFormat(startindex, endindex, textformat);


if not work, use help(F1)
flastar is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
working with selected text davydany ActionScript 2.0 1 12-06-2007 11:10 PM
dynamic text box width marsJ ActionScript 2.0 2 05-23-2007 09:33 AM
Transferring Values from one Dynamic Text box to another bx095 Components 2 05-14-2007 12:52 AM
Dynamic Text: Not working in 2nd. swf called. Need HelP Please! meesh ActionScript 2.0 0 06-13-2005 04:14 PM
Working with large blocks of text in code for dynamic text Ray Laurencelle ActionScript 1.0 (and below) 7 05-28-2003 10:50 PM


All times are GMT. The time now is 04:21 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.