Question
Recognise word in text block and then change it's colour
Hey there helpful people.
Got another doozy for you.
If i have a block of text how can i get flash to recognise a word in that block of text (when it's clicked) and then change colour?
Will it need to recognise how many characters along the text block, before it executes a change in colour?
Does this code help or is it a bit of a run-around to the problem ( http://www.senocular.com/flash/actionscript.php?file=ActionScript_1.0/Prototypes/TextField/wordSelect.as)
Got another doozy for you.
If i have a block of text how can i get flash to recognise a word in that block of text (when it's clicked) and then change colour?
Will it need to recognise how many characters along the text block, before it executes a change in colour?
Does this code help or is it a bit of a run-around to the problem ( http://www.senocular.com/flash/actionscript.php?file=ActionScript_1.0/Prototypes/TextField/wordSelect.as)