Hello,
As the title suggests, I am trying to get text from an XML and display it using typewriter effect.
This is what I've done so far:
Start of Layout ---> Request Intro.xml
AJAX on "Intro" completed ---> Load XML from AJAX.LastData
Set text to xml.StringValue("chapter1/hint—/text()")
Every 0.1 seconds ----> Set text to left(TextObj.Text, len(TextObj) + 1)
On click ------------------> Add 1 to TextProgress
Compare 2 Values:
xml.StringValue("/chapter1/hint—/text()")
Equal to ""----------------> Set text to "continue"
Else --------------------->Set text to "xml.StringValue("/chapter1/hint—/text()")"
But it doesn't work.
Can someone please help me?