Headphone Demonstrator
Your One-Stop Design Partner For In-Store Advertising Media Player
3
Play Control Script:
Page & MAD:
The play control script is in file with extension .mad. This script describes the interaction on each page while the page
is the user interface of the demonstration.
This MAD file system button simulation works like folders, it supports muti-files in virtual folders 0/1/2/3/4/5/6/7/8.
Note of MAD file [page] name: F1001.MAD means the first file in folder 1.
F100FINAL.MAD means the page for the
last file in folder 1, in our example, we define it as a picture (end.jpg) reminding the customer it is the end of this
folder;
All pages will get back to STARTUP when current page timeout(end of video);
Add Fx00x.MAD to join more pages (join more files in virtual folder).
[Page]
ID=F1001
Name=F1001
Mediafile=F1001.AVI ;1.mpg
( it supports avi, mpg,mp3, wma, wav, ogg )
Duration=-1
Value=1
Transition =0
X =0
Y =0
Width =10000
Height =10000
Prev =
Next =STARTUP.MAD
Home =STARTUP.MAD
ControlNum =9
Control & Button:
Our play control syntax simulates the push buttons as the virtual touch spots on each page. That’s to say, there are
up to 8 touch spots on each page(interface). The following example shows the script to each button in terms of
[Control_xx], note the value of coordinates is programmable, like X00 means button X (x=1,2,3,4,5,6,7,8); “;” means
remarks.
[Control_00]
Name=Control_00
Type=Button
Value=1; Means No.2 of the 8 buttons;
X =600 ; Means button 6, 200 for button 2, 300 for button 3, etc, ...
Y =0
; fixed for all buttons
Width =100 ;
fixed for all buttons
Height =9999
; fixed for all buttons Action =playpage
Action =playpage
ActionPara0 =A.MAD
; Go to Page A.
In case there are fewer buttons than 8, the scripts for the extra controls (buttons) will be idle as customer can not trigger the extra