home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1995 July / PCPRO.ISO / motoring / support / tech / workshop.dir / 00041.ls < prev    next >
Encoding:
Text File  |  1995-05-11  |  1.1 KB  |  41 lines

  1. on startMovie
  2.   global gadgetRoll, whichGadget, Engine, Trans, Sus, Electrics, Steer, Body, Brakes, Tyres, whichLabel
  3.   set Engine to the number of cast "Engine"
  4.   set Trans to the number of cast "Transmission"
  5.   set Sus to the number of cast "Suspension"
  6.   set Electrics to the number of cast "Electrics"
  7.   set Steer to the number of cast "Steering"
  8.   set Body to the number of cast "Bodywork"
  9.   set Brakes to the number of cast "Brakes"
  10.   set Tyres to the number of cast "Tyres"
  11.   set whichLabel to 1
  12. end
  13.  
  14. on checkRoll
  15.   global Engine, Trans, Sus, Electrics, Steer, Body, Brakes, Tyres
  16.   if the mouseCast = Engine then
  17.     go(label("Engine"))
  18.   end if
  19.   if the mouseCast = Trans then
  20.     go(label("Trans"))
  21.   end if
  22.   if the mouseCast = Sus then
  23.     go(label("Sus"))
  24.   end if
  25.   if the mouseCast = Electrics then
  26.     go(label("LX"))
  27.   end if
  28.   if the mouseCast = Steer then
  29.     go(label("Steer"))
  30.   end if
  31.   if the mouseCast = Body then
  32.     go(label("Body"))
  33.   end if
  34.   if the mouseCast = Brakes then
  35.     go(label("Brakes"))
  36.   end if
  37.   if the mouseCast = Tyres then
  38.     go(label("Tyres"))
  39.   end if
  40. end
  41.