Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-11-2006, 08:05 AM   #1
tiru
Hyderabad
 
Join Date: Mar 2005
Location: India
Posts: 130
Default Different colors for each line in dynamic textfield?

Hi

I have 2 doubts regarding dynamic textField

1)How to set different colors for each line in dynamic textField?I tried

my_txt.textColor = 0xFF0000;

but this changes whole text box color

2)How to display last line in dynamic text field

can anyone help me

Thanks in advance

Last edited by tiru; 02-11-2006 at 08:08 AM.
tiru is offline   Reply With Quote
Old 02-11-2006, 11:20 AM   #2
Sunny13
Senior Member
 
Join Date: Jul 2005
Location: India
Posts: 1,029
Default

Select the Render Text as HTML property or using scripting set
box_txt.html = true;
__________________
SKS

The Tutorial Hub

Last edited by Sunny13; 02-11-2006 at 11:26 AM.
Sunny13 is offline   Reply With Quote
Old 02-11-2006, 11:24 AM   #3
Sunny13
Senior Member
 
Join Date: Jul 2005
Location: India
Posts: 1,029
Default

for the second question use
PHP Code:
text_txt.scroll=text_txt.maxscroll
__________________
SKS

The Tutorial Hub
Sunny13 is offline   Reply With Quote
Old 02-13-2006, 05:50 AM   #4
tiru
Hyderabad
 
Join Date: Mar 2005
Location: India
Posts: 130
Default

Thankyou verymuch sunny !

Now it's working fine!!
tiru 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
HTML in Dynamic Text Line Spacing Jabtech ActionScript 1.0 (and below) 3 10-22-2009 12:43 PM
1 dynamic textfield 2 diffrent fonts, possible? Paul Ferrie ActionScript 1.0 (and below) 4 02-01-2004 08:07 AM
dynamic textfield question floa ActionScript 1.0 (and below) 1 08-07-2002 01:42 PM
Dynamic Line Graph with Plots-trouble aesper1 ActionScript 1.0 (and below) 0 06-14-2002 01:23 PM
Get number of lines in dynamic textfield flash.pro ActionScript 1.0 (and below) 1 09-24-2001 03:15 PM


All times are GMT. The time now is 04:35 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.