| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Senior Member
Join Date: Oct 2003
Posts: 162
|
dynamic text help
Hi there, i have this problem at the moment with text boxes, (i don't even know if it can be done. but here goes: can you create a 2 dynamic text box, one with text already in, and the second text box the user fills in, but this adds the entered text into the first filed but in a certain position. example Top bosses at newcastle united were left red-faced last night when manager the bold text been what the user has filled in. cheers if anyone can help. |
|
|
|
|
|
#3 (permalink) | |
|
Notorious?
|
Quote:
okay, well, i can help you start anyway. i know flash mx has a get selection feature (as in, you can tell what words are selected in your dynamic text box.) from there i assume you can get your position, and then use the input text and split the dynamic text string at the selection point (myString.split(blah)), then concatenate the three strings like this: myString[0] + myTextBox.text + myString[1] or something like that. might wanna look up methods and stuff, plus find a way to get the selection dealy. i know there is one. |
|
|
|
|
#5 (permalink) |
|
beauty through chaos
Join Date: Jul 2003
Location: Vancouver, British Columbia
Posts: 768
|
or you could just have your text block then an __________________ and make all the ______________ input text boxes. as gray was trying to _____________ out. audentes fortuna iuvat
Flatcat |
|
|
|
#6 (permalink) |
|
Senior Member
Join Date: Oct 2003
Posts: 162
|
yeah, but what i'm doing is asking questions before. then adding there answers into a story, but its sorted now just got another problem. and it is I'm doing a mock up news paper article over 4 columns in flash mx and the text loads in dynamically. I have 4 dynamic text boxes sitting side by side, can you have it so when the text has got to the end of one text box it then continues over the next text box and so on. Thanks for any suggestions |
|
|
|
#7 (permalink) | |
|
Magazines™
Join Date: Mar 2003
Location: Glasgow..
Posts: 11,264
|
Quote:
try this http://www.flashcomponents.net/compo...m?nav=2&id=178 |
|
|
|
|
#8 (permalink) |
|
Senior Member
Join Date: Oct 2003
Posts: 162
|
cheers, i did try this but you can make the text dynamic. but i found a answer on flashdevils, to see how it works go to http://www.codemasters.co.uk/managers2004/oi.php |
|
![]() |