Page 1 of 1

Random page flow

Posted: Fri Aug 09, 2013 6:39 am
by sam5863015

I am building a quiz app and would like each page to be randomised, is there any way of doing this?


Random page flow

Posted: Fri Aug 09, 2013 9:04 am
by Kateryna Grynko

Hi Sam,

The more pages in your application, the larger the project, which means the application takes up more memory for both storage and operational during the work. The only solution is to have a screen to display the quiz tasks and to store tasks as resources. For example you can store them as JS-objects.

Here's a solution for individual pages.
http://stackoverflow.com/questions/62... here you will find the shuffle function that shuffles the array of the screens names. Then you're just in a standard way in turn to choose the screens names from a shuffled array.