Before continuing here if you are not familiar with action scripts within the TE you should complete the Introduction to action scripts tutorial.
Flow control is used to restrict a students/tutorial users moment through a tutorial. While it is preferable for a user to be able to completely explore a tutorial freely sometime there are step which must be completed before other steps or action must be completed in order.
Click on the tab 'Understanding tutorial flow' to the right.
The diagram represents the motions which can occur within a tutorial and the action that will occur.
The default flow type is "Free Flow".
Flow types are defined using the tag 'flowRestriction' and can be written in one of three ways, full title, full title no spaces, short form. The full title no spaces (first type demonstrated below) is backwards compatible with older version of the TE.
'FreeFlow' == 'Free Flow' == 'FF'
On a page transition where a 'C - Run and check action of exiting page and the entering page' is designated with the given tutorial flow the tags 'enteryAction' and 'exitAction' with in the 'page' element are used. The 'enteryAction' and exitAction' represent the start of an action script of the leaving and entering pages. If the return value of ether of these two action is 'false' the page transition will not occur (default return of an action script is 'true').
To set the return value of an action script the following task is used:
<setActionReturn value="false"/>
Steps to complete: