GVJ
03-18-2003, 08:07 AM
There may be a very simple answer to this question and I'd be really grateful for an answer from you guys.....
Can you search through the contents of a dynamic text field to find specific strings which have their own specific function attached?
The user is only allowed to input one letter at a time, each entry will be shown in the dynamic text field as the letter is entered to show the user's "path" so to speak, so the dynamic text field will not have any specific words or phrases, only a line of letters.
For specific actions I want the AS to search through this line of letter (string), to check which event should be happening. (Hope this makes sense)
Would the indexOf() function do the trick here, or am I way off.
Please help
Can you search through the contents of a dynamic text field to find specific strings which have their own specific function attached?
The user is only allowed to input one letter at a time, each entry will be shown in the dynamic text field as the letter is entered to show the user's "path" so to speak, so the dynamic text field will not have any specific words or phrases, only a line of letters.
For specific actions I want the AS to search through this line of letter (string), to check which event should be happening. (Hope this makes sense)
Would the indexOf() function do the trick here, or am I way off.
Please help