| Welcome to Brackenwood. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| textfield question | |
|---|---|
| Tweet Topic Started: Jan 13 2006, 10:13 PM (186 Views) | |
| Krob | Jan 13 2006, 10:13 PM Post #1 |
|
Brackenwood Lightweight
|
quick, stupid, little question..
is it possible when you have a textfield, to underline or give a certain piece in it a different color? and maybe add a rollover to that specific piece..
|
![]() |
|
| Mr. Jiggmin | Jan 15 2006, 03:56 AM Post #2 |
|
made of tulips
|
You can do just like you would with html. http://www.scriptsearch.com/cgi-bin/jump.cgi?ID=1674 |
![]() |
|
| Krob | Jan 15 2006, 04:03 AM Post #3 |
|
Brackenwood Lightweight
|
i guess its not possible to add an action (onRelease or something) to words in the Textfield then? thanks for this solution though its also very handy
|
![]() |
|
| smoscar_01 | Jan 15 2006, 04:26 AM Post #4 |
|
Mid-Level ActionScripter
|
quick, stupid, little answer..
Create two Dynamic textfields one with the name "TextBox" and the other with the name "TextBox_changed" and paste this code into the first frame
Note: In order to add a rollover to just an specific part of the text you need a new Textfield so in this example you could add the onRollOver action to TextBox_changed. In this case you are changing the first word's color and thats why space=0
|
![]() |
|
| Krob | Jan 15 2006, 04:31 AM Post #5 |
|
Brackenwood Lightweight
|
*edit* ah like that..:P thanks
|
![]() |
|
| smoscar_01 | Jan 15 2006, 04:35 AM Post #6 |
|
Mid-Level ActionScripter
|
you are welcome feel free to post any other doubt
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Actionscript · Next Topic » |



is it possible when you have a textfield, to underline or give a certain piece in it a different color? and maybe add a rollover to that specific piece..



5:11 AM Jul 12