[Xerte] Re: Eval string

Dave Burnett d_b_burnett at hotmail.com
Thu Jan 27 16:22:50 GMT 2011



If you're going in there, can we bump the hint somewhere else.

For me, every time I type 'debug(' up it comes right over the caret, and stays there until I hit return.
I'm not a good typist and need to see all my mistakes.
:-)

From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Thu, 27 Jan 2011 16:05:42 +0000
Subject: [Xerte] Re: Eval string



I shall update the hints. Its generally used internally. It’s big brother is  script(str, this) which is what executes script icons, so you can create and execute your own code if you want to… 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 15:56
To: Xerte list
Subject: [Xerte] Re: Eval string Hadn't used it before, and the code hint that comes up for expression( is Math.exp(number)  From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Thu, 27 Jan 2011 15:38:31 +0000
Subject: [Xerte] Re: Eval stringstr = 'FileLocation';debug(expression(str,this)); //this == _level0.engineFrom: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 27 January 2011 15:20
To: Xerte list
Subject: [Xerte] Re: Eval string Daa.
Was leaving out the _level0.engine.

Cheers.


From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Thu, 27 Jan 2011 14:58:11 +0000
Subject: [Xerte] Re: Eval stringexpression(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);



This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. 
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. 

_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. 
_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. 
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110127/a6107fec/attachment-0001.html>


More information about the Xerte mailing list