[Xerte] Re: Decision icon repeat
Dave Burnett
d_b_burnett at hotmail.com
Wed Dec 5 18:29:30 GMT 2012
>build little vibrating swfs and load them?
That's the correct way of course, but I thought there might be way to do it internally.Maybe not, though one would think it.
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Wed, 5 Dec 2012 17:03:11 +0000
Subject: [Xerte] Re: Decision icon repeat
This is where bubbling events would be handy, cos then you could trap them on rootIcon and deal with target. I could add this to the engine, but I think it would be just as easy to build little vibrating swfs and load them? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 05 December 2012 16:55
To: Xerte list
Subject: [Xerte] Re: Decision icon repeat How do I deal with 100 objects?100 event traps? That's what I'm trying to avoid. From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Wed, 5 Dec 2012 15:54:48 +0000
Subject: [Xerte] Re: Decision icon repeatVibrate forever? Randomly, like pick -3 < x < 3 -3 < y < 3 then apply the new random x y offsets to the object? Then you can use the event trap as shown From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 05 December 2012 15:47
To: Xerte list
Subject: [Xerte] Re: Decision icon repeat use internal drawings as objects.Animate objects so that they appear to vibrate. From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Wed, 5 Dec 2012 15:40:22 +0000
Subject: [Xerte] Re: Decision icon repeatWhat are you trying to achieve exactly? Is this Brownian motion, or a marble run? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 04 December 2012 17:34
To: Xerte list
Subject: [Xerte] Re: Decision icon repeat I think we got this far using the event trap.But how about hundreds of objects?
How to get a code gate bouncing back and forth type thing.animate leftanimate right animate left
animate right etcFrom: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Tue, 4 Dec 2012 17:06:46 +0000
Subject: [Xerte] Re: Decision icon repeatI’d do it by holding an array of coordinates, and looping through that using the interaction icon to trap the completes, incrementing your index, and re-animating See attached. From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 04 December 2012 16:47
To: Xerte list
Subject: [Xerte] Re: Decision icon repeat
Trying to solve that posters animation issue. A loop would have been handy.Animate tonext pageAnimate froloop. It's trying to demonstrate say, Brownian motion of atoms.So a couple hundred individual drawn items being animated. So what's the easy way I'm blind to? From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Tue, 4 Dec 2012 16:30:43 +0000
Subject: [Xerte] Re: Decision icon repeatOnly coming through in waves…. From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 04 December 2012 16:02
To: Xerte list
Subject: [Xerte] Re: Decision icon repeat "No, if you have 10 children and repeat is 3, you will loop through three children and then exit, not 10 children three times and then exit," We have a semantic difference.I don't see showing icon 1 then 2 then 3 as "looping"I see passing through the decision icon and repeating the above as looping.At least, that is how AW functioned. I'm sure I did this in the past.But maybe I was in a fever?It's like distant ship's smoke on the horizon. From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Tue, 4 Dec 2012 15:47:14 +0000
Subject: [Xerte] Re: Decision icon repeatNot sure. It works the way it has for the last 5 years though. Maybe the loops were done by creating the children dynamically protoPage style? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 04 December 2012 12:15
To: Xerte list
Subject: [Xerte] Re: Decision icon repeat
So it does differ from AW then?And then RepCount is a different var as well then? I am positive I have had it operate a s a looping structure in the past. From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Tue, 4 Dec 2012 10:32:21 +0000
Subject: [Xerte] Re: Decision icon repeatNo, if you have 10 children and repeat is 3, you will loop through three children and then exit, not 10 children three times and then exit, From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 03 December 2012 15:41
To: Xerte list
Subject: [Xerte] Re: Decision icon repeat 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 repeatFurther 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.rlmbullets.rlmbuttonSequence.rlmcategories.rlmcolumnPage.rlmconnectorMenu.rlmcustomHotspots.rlmdialog.rlmdragDropLabel.rlminventory.rlmlinks.rlmlist.rlmmemory.rlmmenu.rlmperspectives.rlmquiz.rlmtable.rlmtext.rlmtextMatch.rlmthumbnailViewer.rlmtimeline.rlmtranscriptReader.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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________
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/20121205/f129cae8/attachment-0001.html>
More information about the Xerte
mailing list