[Xerte] Re: Decision icon repeat
Dave Burnett
d_b_burnett at hotmail.com
Mon Dec 3 15:40:31 GMT 2012
Hi Jonathan.Thanks for looking in to that.
The issue is that in Authorware, which Julian based the flow structure of Xerte on, setting a decision icons repeat property meant it would loop through that decision icon and all attached icons that specified number of times.
It would essentially repeat the entire attached sequence of icons x times.
I know I had this issue a couple years back, and the solution was a bit obtuse, but I can't remember it or track it down in the archives.
Dave
Date: Mon, 3 Dec 2012 14:05:23 +0000
From: johnathan.kemp at ntlworld.com
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: Decision icon repeat
Further to my earlier post the Branch property will also affect what happens.
The help file reads
A setting of
'sequence', 'randomUnused', 'randomAny', or 'calculate'.
'sequence' loops through the children of the
decision icon in order.
'randomUnused' loops through the children in a
random order, until all the paths are used, or until the repeat property is
satisfied.
'randomAny' loops through the children until the
repeat property is satisfied, and may visit the same child more than once.
'calculate' allows you to route the flow into a
particular page of the decision icon using the path property, which is zero
based - to flow into the third page, set branch to calculate, and the path
property to 2.
The following models use the decision icon and may give further insight into its use.
annotatedDiagram.rlm
bullets.rlm
buttonSequence.rlm
categories.rlm
columnPage.rlm
connectorMenu.rlm
customHotspots.rlm
dialog.rlm
dragDropLabel.rlm
inventory.rlm
links.rlm
list.rlm
memory.rlm
menu.rlm
perspectives.rlm
quiz.rlm
table.rlm
text.rlm
textMatch.rlm
thumbnailViewer.rlm
timeline.rlm
transcriptReader.rlm
The only one that does not set repeat-"all" in the model code is text.rlm which has repeat="1" and branch="calculate"
I don't know if this will help you to resolve your issue.
Hope it does :-)
Johnathan
On 3 December 2012 13:56, Kemp Johnathan <johnathan.kemp at ntlworld.com> wrote:
I have taken a look at the model files to see which pages use the decision icon.
After finding that the bullets page uses the decision icon I then ran some tests
By default the decision icon in the bullets page is set to
all
This results in the page listing every bullet.
If however you replace the repeat value in the property page with a number e.g.
3
Then only the first three bullets gets listed.
So I guess the answer is you put a number in (without any quotes) and the decision icon will run that many times.
Hope that helps.
You may find that taking a look at the bullets.rlm file in your xerte installs \pages\models\ folder will cast some light on its use.
Kind regards
Johnathan
PS sorry for the delay in replying - very busy on the Connector page documentation at the moment.
On 3 December 2012 11:55, Dave Burnett <d_b_burnett at hotmail.com> wrote:
No takers?
Help says the Repeat property will take All or a number.If I use a number, nothing happens.
From: d_b_burnett at hotmail.com
To: xerte at lists.nottingham.ac.uk
Subject: Decision icon repeat
Date: Sun, 2 Dec 2012 08:08:22 -0500
What goes in the property sheet of a decision icon to have it repeat a set number of times?
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20121203/7a3e61d3/attachment-0001.html>
More information about the Xerte
mailing list