I had to make one of these just a few months ago.
What I ended up doing was creating an XML file with the video to play node a level above the nodes of the words that would trigger the video.
Basically:
Then I queried the XML and when I found the word I just had it play the video defined in the parent node. You could switch out videos for frames to go to etc. But that approach worked really well for me.Code:<vid toPlay="vid1"> <word>jump</word> <word>hop</word> <word>skip</word> </vid>




Reply With Quote