home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World Interactive 1996 October / pcwoct96.zip / pcwoct96 / FRONTEND / VARIABLE / FRONTEND.VAR
Text File  |  1996-01-05  |  7KB  |  157 lines

  1. /* If it is the 1st time through then set frame to presmsg and whois in the order necessary and run them.*/
  2. /* 1st time thorugh on second movie, and skip is pressed or movie completes, then text appears with 2 buttons asking if the user wants to hear more information and Leo's .AVI plays. If not then the panels flip on the right side of the screen to open things up.*/
  3. /* If Leo's .AVI completes then panels flip open on the right side of the screen. */
  4.  
  5. /* audio and ani filenames for the intro */
  6.  
  7. @introaudio
  8. open1.wav|open.wav|door1.wav|door1.wav|door1.wav|door1.wav|door1.wav|door1.wav
  9. @introani
  10. openfde2.ani|openfade.ani|butnpanl.ani|mesgpanl.ani|extpanl.ani|textpanl.ani|movipanl.ani|toppanl.ani
  11.  
  12.  
  13.  
  14. /* Initialize @numtestimonial to 1 */
  15. @numtestimonial
  16. 1
  17.  
  18. /* Initialize @flcareaopen to .F. since the testimonial area hasn't been opened yet. */
  19. @flcareaopen
  20. .F.
  21.  
  22. /* Initialize @hitmesg to .F. and @hitprod to .F. because they havn't been hit yet. */
  23. @hitmesg
  24. .F.
  25. @hitprod
  26. .F.
  27.  
  28. /* movie obj to flip top panel obj name = a */
  29. /* movie obj to flip movie panel obj name = b */
  30. /* movie obj to flip text panel obj name = c */
  31. /* movie obj to flip msg button obj name = d */
  32. /* movie obj to flip middle panel obj name = e */
  33. /* movie obj to flip prod button obj name = f */
  34. /* movie obj to flip msg area obj name = g */
  35. /* movie obj to flip testimonial area obj name = h */
  36. /* The obj name of the movie area movie obj is "moviearea"  */
  37. /* The obj name of the testimonial area device movie object is called "testimmovie"  */
  38. /* The obj name of the yes button to see Leo's AVI is = leo */
  39. /* The obj name of the no button to not see Leo's AVI is = no */
  40. /* The obj name of the mechanical panel graphic is = mechpanel */
  41. /*  The family name of all buttons in the messaging area is "msgareafam"  */
  42. /* The family name of all buttons in testimonial area "testareafam"  */
  43.  
  44. /******************************************************************/
  45.  
  46. /* These two buttons are of the family "flip1". The 1st flick is for flipping the msg area panel if the other button has not been hit and opened the msg panel previously. The 2nd flick is for flipping the msg area panel once it has already been opened because the other button had been hit before.  */
  47.  
  48. @button[messages]
  49. g2_10.flc~g5_10.flc|flip1.wav|presmsg~whois~testimonials|g_messa.bmp
  50. @button[products]
  51. g3_10.flc~g4_10.flc|flip1.wav|whichprod~samples~IA70~CBTX|g_produ.bmp
  52.  
  53. /****************************************************************/
  54.  
  55. /* These buttons that only play an AVI in moviearea w/ skip enabled have object data of "movie1". The third slot in the variable is reserved for potential audio that plays after the AVI is done and the fourth slot is reserved for a potential smart obj page in main.smt to be displayed when the AVI is done. The last two slots are for the unhighlighted and highlighted graphics for when the video is loading and playing, respectively.*/
  56.     
  57. @button[whois]
  58. whois.avi|frame# to jump to if skip pressed|prepare.wav|
  59. @button[presmsg]
  60. andy.avi|frame# to jump to if skip pressed|internt2.wav|leo|andhufn.bmp|andhufh.bmp
  61. @button[proceed]
  62. leo.avi|frame# to jump to if skip is pressed| | |leolucn.bmp|leoluch.bmp
  63.  
  64. /****************************************************************/
  65.  
  66. /* These buttons cause a flip flc to play in the testimonial area and have the object data of "flip2" */
  67.  
  68. @button[testimonials]
  69. h2_10.flc~h4_10.flc|play~stop~back~forward| |testimonials|device_d.bmp
  70. @button[IA70]
  71. h3_10.flc~h5_10.flc|IAshuttle~IAguide| |IA|h_produ.bmp
  72. @button[CBTX]
  73. h3_10.flc~h5_10.flc|CBTXshuttle~CBTXguide| |CBTX|h_produ.bmp
  74.  
  75. /*******************************************************************/
  76.  
  77. /* All of these buttons play a full screen presentation after a video in the movie area and have the object data of "quicktour"  */
  78.  
  79. @button[IAshuttle]
  80. introa.iwm|\intro\iconware
  81. @button[CBTXshuttle]
  82. introx.iwm|\intro\iconware
  83.  
  84. /*********************************************************************/
  85.  
  86. /* All of these buttons run just a full screen presentation and have the object data of "fullscreen"  */
  87.  
  88. /*for testing */@button[whichprod]
  89. /*deleteme.iw|c:\frontend\iconware|deleteme.pth
  90. /*for testing*/@button[IAguide]
  91. /*guidtour.iwm|r:\rootofcd\guidtour\iconware|guidtour.pth
  92.  
  93. @button[whichprod]
  94. which.iwm|\intro\iconware
  95. @button[samples]
  96. mainsamp.iwm|\evalsamp
  97. @button[IAguide]
  98. guidtour.iwm|\guidtour\iconware
  99. @button[CBTXguide]
  100. tutor.iwm|\cbttutor\iconware
  101.  
  102. /********************************************************************/
  103.  
  104. /* These are the buttons for playing and stopping the tesimonial .AVI's. Play contains the actual testimonial AVI's  for faces 1 through 6 on the device. Stop was originally designed to seek to an ending sequence in the AVI so that the stoping of the AVI is not sudden and ugly. Currently that is not being used since none of the AVI's have an ending sequence like static or something closing. */
  105.  
  106. @button[play]
  107. att.avi|mri.avi|midi.avi|itt.avi|electra.avi|britair.avi
  108. @button[stop]
  109. seek frame for face #1|seek frame for face #2| etc.
  110.  
  111. /*********************************************************************/
  112.  
  113. /* the object name of the company name graphic is "company". These are indexed to the face on the device. The first graphic name is for the subdued text that shows up in the text area when the device turns to that face. When play is hit then the second graphic which has highlighted text is displayed in the text area. */
  114.  
  115. @company[1]
  116. att_n1.bmp|att_n2.bmp
  117. @company[2]
  118. mri_n1.bmp|mri_n2.bmp
  119. @company[3]
  120. midi_n1.bmp|midi_n2.bmp
  121. @company[4]
  122. itt_1.bmp|itt_2.bmp
  123. @company[5]
  124. electr_1.bmp|electr_2.bmp
  125. @company[6]
  126. brtair_1.bmp|brtair_2.bmp
  127.  
  128. /*****************************************************************/
  129.  
  130. /* These two buttons control the direction the device seems to play. Since we can't play flc files backwards we seek to a frame that plays the backwards or forwards sequence. The slots correspond to the order the faces appear on the device. The start and end frame numbers are for the currently displayed face for it to go forward or backward*/
  131.  
  132. @button[forward]
  133. 1~11|11~21|21~31|31~41|41~51|51~61
  134. @button[back]
  135. 61~71|71~81|81~91|91~101|101~111|111~121
  136.  
  137. /****************************************************************/
  138.  
  139. /* These indexed variables correspond to the current face that is showing. The first set of numbers is to go forward from that face and the second set of numbers is to go backwards from that face. */
  140.  
  141. @face[1]
  142. 1~11|61~71
  143. @face[2]
  144. 11~21|111~End of Media
  145. @face[3]
  146. 21~31|101~111
  147. @face[4]
  148. 31~41|91~101
  149. @face[5]
  150. 41~51|81~91
  151. @face[6]
  152. 51~61|71~81
  153.  
  154. /* Init first face to 1 */
  155.  
  156. @currentface
  157. 1