
Welcome Guest
|
#1
|
|||
|
|||
|
???Dynamic Text - change text box variable on click
Help.
I need to have a text box display text from a txt file based on which item is clicked. One text box but multiple strings in the txt file (same text box with a changing VARIABLE based on a click.) How do I set the variable on the Dynamic Text instance so it displays the correct string from the text file. Or is there a totally better way to do this? (heres an example) Code:
names.txt
&firstname1=bob
&firstname2=Fred
&firstname3=joe
loadVariablesNum("names.txt", 0);
on (release, releaseOutside) {i = 2;}
User clicks box 2 and some how I set my Dynamic Text var to firstname1 (i.e. firstname+i) Result: Hi my name is Fred(also seems like the same question) Quote:
__________________
Ken S |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| dynamic text box appearing before called and not fading in | 47rickym | Flash CS3 / Flash 9 |
3 | 02-01-2009 02:21 PM |
| Get the text from a dynamic text box | redneon | Actionscript 2.0 |
1 | 10-31-2006 06:21 PM |
| Dynamic text rendering vs. static text | nullptr | General Flash | 2 | 03-10-2005 06:07 PM |
| Creting input textfield | denizci2000 | Flash MX |
5 | 12-15-2004 08:58 PM |
| can't load external text file into dynamic text box | Darkware | Flash MX ActionScript |
4 | 04-11-2004 01:47 AM |




