Transitions and Gestures
48
Modero G4 Touch Panels - Configuration and Programming
Transition Commands
^AFP
Flips to a page with the specified page name using an animated transition. If the page is active, do
not redraw the current page.
Syntax: "'^AFP-<page name>,<animation>,<origin>,<time>'"
Variable:
• page name = 1 - 50 ASCII characters. If the page name is blank, flips to the previous page.
• animation, along with available origin values =
Note: If the animation is blank or invalid, the default is Fade.
Fade Center: available origin value is 1
Slide: available origin values are 2, 3, 4, 5 (default is 5)
SlideBounce: available origin values are 2, 3, 4, 5 (default is 5)
cntrDrFade: available origin values are 2, 3, 4, 5 (default is 5)
doorFade: available origin values are 2, 3, 4, 5 (default is 5)
blkGlass: available origin values are 4, 5 (default is 5)
pgCurl: available origin values are 6, 8, 7, 9 (default is 9)
zoomIn: available origin value is 1
zoomOut: available origin value is 1
implode: available origin value is 1
explode: available origin value is 1
spinIn: available origin value is 1
spinOut: available origin value is 1
waves: available origin value is 1
flipCard: available origin values are 2, 3, 4, 5 (default is 5)
slats: available origin values are 2, 3, 4, 5 (default is 5)
squish: available origin values are 2, 3, 4, 5 (default is 5)
tumble: available origin values are 6, 8, 7, 9 (default is 7)
wipe: available origin values are 2, 3, 4, 5, 6, 7, 8, 9 (default is 5)
• Origin = number representing one of the following values for where the animated transition
originates on the screen:
1 - center
2 - top
3 - bottom
4 - left
5 - right
6 - lower left
7 - lower right
8 - upper left
9 - upper right
If the origin is blank or invalid, the default is 5 (right).
• time = transition time in tenths of a second (from 3 to 30 with 15 being the default)
Time is the transition time in tenths of a second which can vary from 3 (0.3 seconds) to 30 (3.0
seconds). Values above or below these values will be clamped. If the time is blank, then the
default is 1.5 seconds.
Example:
SEND COMMAND Panel,"'^AFP-MAIN,slide,4,5'"
Flips to the page named 'MAIN' using the slide from left animated transition with a time of .5
second.
SEND COMMAND Panel,"'^APF-MAIN,tumble,9,10'"
Flips to the page named 'MAIN' using the tumble from the upper right animated transition with a
time of 1 second.