hi all,
my animation is very simple - a background image and 2 text boxes. one of the textboxes shows a large word, which crossfades to another word, with a total of about 12 words (showing one at a time in different text boxes fading in & out in the same spot).
i need a way to have the text be imported dynamically via xml or json (xml preferred). this article is a good start, but i noticed he's putting all of the text into one box - i need separate strings put into separate boxes from the xml.
Chris Gannon - Loading XML via AJAX into Adobe Edge
he uses
var outputField = $(this.lookupSelector(“xmlOutput”));
for his text box. what would be the best way to revise this code to include all my individual strings to be loaded into my individual text boxes? thinking an array might work, but my js skills are limited.
any other suggestions or tutorials you could point me to would be appreciated.
thanks!!