[Xerte] Re: xerte - sound icon - play property - using an array value
Kemp Johnathan
johnathan.kemp at ntlworld.com
Sat Feb 25 16:29:54 GMT 2012
I will be including in the default rlo file for pages project the code to
support narration.
If you include the narration handlers in your projects rlo i.e. have an
entry frame and add the narration handlers to that (with some slight
recoding to accomodate being in the desktop environment you could then
launch your playing of sound by setting narration to the path of your sound
file and then broadcasting the event to trigger the narration.
Kind regards
Johnathan
On 24 February 2012 21:01, KnowledgeWare <knowledgeware at kccsoft.com> wrote:
> The {} don’t seem to work, Eval doesn’t force the value either. Using a
> script in a previous icon I’m sure would work but would mean a lot of
> coding and extra icons.
>
>
>
> Any other creative way come to mind that I might be able to force this
> sound icon ‘play’ property to evaluate to 1 or 0 from afar, globally
> perhaps? Any kind a big hammer that I could try whacking this thing with?
>
>
>
> RonM2
>
>
>
> *From:* xerte-bounces at lists.nottingham.ac.uk [mailto:
> xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Julian Tenney
> *Sent:* Friday, February 24, 2012 12:31 AM
> *To:* Xerte discussion list
> *Subject:* [Xerte] Re: xerte - sound icon - play property - using an
> array value
>
>
>
> Did you try the expression in {}s?
>
>
>
> Otherwise, you can set the value of the attribute using some script: in a
> script immediately before the sound icon do
>
>
>
> If (someCOndition == true){
>
> icon.nextSibling.attributes.play = ‘1’;
>
> } else {
>
> icon.nextSibling.attributes.play = ‘0’;
>
> }
>
>
>
>
>
>
>
> A checkbox on the main menu lets the user set the sound to play on
> entering each page (Play = 1). I’m holding this in the ‘trackingData’
> array, however this seems to be a field that can’t interpret the array
> value.
>
>
>
>
>
> 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/20120225/cc67bef0/attachment.html>
More information about the Xerte
mailing list