home *** CD-ROM | disk | FTP | other *** search
/ PC Player 1999 June / LIB_DAY.BIN / DEMOS / DEMOS.DXR / 00027.ls < prev    next >
Encoding:
Text File  |  1998-02-27  |  720 b   |  31 lines

  1. on exitFrame
  2.   global popupCount, blnd20
  3.   if popupCount < 5 then
  4.     set popupCount to popupCount + 1
  5.     set blnd20 to blnd20 + 20
  6.     set the blend of sprite 20 to blnd20
  7.     sendSprite(21, #CycleState)
  8.     go(the frame)
  9.   else
  10.     if popupCount >= 5 then
  11.       set the member of sprite 21 to "popup1"
  12.       set the visible of sprite 21 to 0
  13.       sendSprite(21, #setstate, 1)
  14.       set the blend of sprite 20 to 100
  15.       set blnd20 to 20
  16.     end if
  17.   end if
  18.   if rollOver(7) then
  19.     sendSprite(5, #CycleState)
  20.   end if
  21.   if rollOver(11) then
  22.     sendSprite(9, #CycleState)
  23.   end if
  24.   if rollOver(15) then
  25.     sendSprite(13, #CycleState)
  26.   end if
  27.   if rollOver(19) then
  28.     sendSprite(17, #CycleState)
  29.   end if
  30. end
  31.