home *** CD-ROM | disk | FTP | other *** search
/ The VPRO Digital Guide 1994 / vpro.iso / vpro1 / ps.dir / 00020.ls < prev    next >
Encoding:
Text File  |  1994-08-28  |  542 b   |  23 lines

  1. on enterFrame
  2.   global gGettingMarker, ProductStatus
  3.   if ProductStatus = "hidden" then
  4.     HideRandoms()
  5.   end if
  6.   set the backColor of sprite 31 to 76
  7.   if gGettingMarker <> 1 then
  8.     CheckProduct()
  9.     set the soundEnabled to 1
  10.     set the volume of sound 1 to 255
  11.   end if
  12. end
  13.  
  14. on exitFrame
  15.   global ProductCat, theProduct, gWasAt, gComingFrom, gGoingTo, gClock, gClockLong
  16.   set holder to the frameLabel
  17.   repeat with i = 1 to 4
  18.     if char 3 of holder = i then
  19.       set theProduct to item i of ProductCat
  20.     end if
  21.   end repeat
  22. end
  23.