home *** CD-ROM | disk | FTP | other *** search
/ SKIP - The Laundry Guide / LEVER_CD.iso / lever / ccit.dir / 00144_PopupFrameScript.ls < prev    next >
Encoding:
Text File  |  1997-02-21  |  1.2 KB  |  38 lines

  1. on exitFrame
  2.   global gHighlightColor, gLowlightColor, gOldLine, languagechosen
  3.   if rollOver(48) then
  4.     if the visible of sprite 48 = 1 then
  5.       set currentline to the mouseLine
  6.       if currentline <> gOldLine then
  7.         case gOldLine of
  8.           1, 2, 12, 13, 14, 18:
  9.             set the foreColor of line gOldLine of member "popuptext" of castLib languagechosen to 0
  10.           otherwise:
  11.             set the foreColor of line gOldLine of member "popuptext" of castLib languagechosen to gLowlightColor
  12.         end case
  13.         set the foreColor of line currentline of member "popuptext" of castLib languagechosen to gHighlightColor
  14.         set gOldLine to currentline
  15.       end if
  16.     end if
  17.   else
  18.     if the visible of sprite 48 = 0 then
  19.       if rollOver(44) then
  20.         set the blend of sprite 41 to 75
  21.       else
  22.         set the blend of sprite 41 to 25
  23.       end if
  24.       if rollOver(45) then
  25.         set the blend of sprite 42 to 75
  26.       else
  27.         set the blend of sprite 42 to 25
  28.       end if
  29.       if rollOver(46) then
  30.         set the blend of sprite 43 to 75
  31.       else
  32.         set the blend of sprite 43 to 25
  33.       end if
  34.     end if
  35.   end if
  36.   go(the frame)
  37. end
  38.