Tracking page by page views

Ok, here is your solution. You will need 5 actions at the title level shown below as 1, 2, and 3. You will need 2 variables: one for the last page they were on and one for a sum of all page numbers they were on . On each page you have an action that adds the current page number to the total:2. On Show: Action: Modify Variable; Target: TotPages; var(PageInChapter); Modification type: Add to Variable.So far so good if they only go forward. But what if they click the Prev button? Then all you have to do is remove the last page added. So here is what you do.The FIRST actions on the page then must be:1. On Show: Action: Modify Variable; Target: TotPages; var(PageInChapter); Modification type: Subtract from Variable. CONDITIONS: PageInChapter Less Than var(LastPageNum)And since you don't want to have the current page number on there twice, include on 1: Condition: PageInChapter Greater than var(LastPageNum)The last condition needs to save the current page in the LastPageNum.3. On show: Action: Modify Variable: Target: LastPageNum; Value: (PageInChapter); Modification type: SetWhen you want to test for completion, you simple test to see if the value in TotPages = sum of all pages. (Use spreadsheet to calc this total for the condition)You may need to make special provisions to init this for each chapter - or use a different variable.Please post questions.Edited By: bpitman on 2006-5-21 17:30:32

Discussions have been disabled for this post