playMaker

Author Topic: Highlighting words over time  (Read 3465 times)

marcos

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 199
Highlighting words over time
« on: January 17, 2013, 07:29:51 PM »
Hey,

For a work project I need to be able to highlight pieces of text over time. So for example, a voice is reading a paragraph of text, as they read each word, the word should be highlighted, when the next word is read (and highlighted), the previous word goes back to being the original plain text formatting.

I suppose ideally this would be using GUI text in combination with some HTML formatting


Essentially what I'm after is an action that cleverly finds the next word in the string, and allows me to then use that variable to rebuild the string (I suppose).

It would make more sense to do things this way and just dictate when to move to the next word (using a float variable that changes based on the time it takes to say each word), rather than doing that in addition to writing out the entire string over and over again with the formatting in place.

Many thanks in advance,
Mark

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15594
  • Official Playmaker Support
Re: Highlighting words over time
« Reply #1 on: January 18, 2013, 12:23:53 AM »
Hi,

 Tricky indeed. I did a project several years ago with such requirement, it's never straightforward.

I would also investigate 2d toolkit, they have a lot of formatting options.

bye,

 Jean