[Xerte] Re: Eval string

Julian Tenney Julian.Tenney at nottingham.ac.uk
Thu Jan 27 14:58:11 GMT 2011


expression(string, _level0.engine)

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 27 January 2011 14:55
To: Xerte list
Subject: [Xerte] Eval string


I'm gapping at the moment.

taskData.group[groups.getPageIndex()].sound[0].sound

originally came in as a string to set the node xml:

"Filelocation + 'media\blah.mp3'"

How do I eval that so it works in a direct set of the clip:

common_sound.loadSound(taskData.group[groups.getPageIndex()].sound[0].sound);




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110127/3fbc3006/attachment.html>


More information about the Xerte mailing list