getTooltip(id).settings.text( "string" )
(since beta 0.3)
Resets the text of the tooltip.
[js highlight=”12″ try=”true”]newAudio(“sentence”, “test.mp3”)
.settings.log()
.print()
,
newTooltip(“instructions”, “Use this interface to play and replay the audio as many times as you want”)
.print( getAudio(“sentence”) )
,
getAudio(“sentence”)
.wait()
,
getTooltip(“instructions”)
.settings.text(“Feel free to replay if you want”)
[/js]
Shows an interface to play the audio test.mp3 and attaches a tooltip at its bottom-right corner. The text will be updated after the audio has played, if the tooltip has not been validated, and therefore has not disappeared from the screen in the meantime.