[Xerte] Re: Script for a tick box to play mp3

Dave Burnett d_b_burnett at hotmail.com
Thu Jul 14 14:42:39 BST 2011



Give the checkbox an rs property, say tickbox.

Under the checkbox add a script:

if (tickbox.checked) {
  debug('set a path or play a sound icon')
} else {
  debug('erase or stop the sound icon')
}

Then you just do what you want based on that value.

Date: Thu, 14 Jul 2011 13:31:27 +0300
From: stepiko14 at inbox.lv
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Script for a tick box to play mp3

Hi all,
Could someone advice s simple script for a tick box in Xerte to make it play imported mp3 file with id and stop playing it, when tickbox is unticked? 
 --
  




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/20110714/245c3c7d/attachment.html>


More information about the Xerte mailing list