home *** CD-ROM | disk | FTP | other *** search
/ MASPC 1 / MASPC_1.iso / CursoWordI / AFICHAS.DXR / 00036.ls < prev    next >
Encoding:
Text File  |  1998-07-20  |  776 b   |  35 lines

  1. on exitFrame
  2.   go(the frame)
  3. end
  4.  
  5. on idle
  6.   global MyCur, y_linum, y_textlines
  7.   jdoscUP(12, 21)
  8.   jdoscDOWN(13, 21)
  9.   jDoRollover(5, 10, 11, 12)
  10. end
  11.  
  12. on jdoscUP p_ilup, p_sprt
  13.   global y_textlines, y_linum
  14.   set txcastname to the name of cast the castNum of sprite p_sprt
  15.   if the scrollTop of member txcastname <> 0 then
  16.     jdocursor(p_ilup)
  17.     jDoRollover(p_ilup)
  18.   else
  19.     set y_linum to y_textlines
  20.     jdocursor(p_ilup * -1)
  21.   end if
  22. end
  23.  
  24. on jdoscDOWN p_ilup, p_sprt
  25.   global y_textlines, y_linum
  26.   set txcastname to the name of cast the castNum of sprite p_sprt
  27.   if y_linum < the lineCount of member txcastname then
  28.     jdocursor(p_ilup)
  29.     jDoRollover(p_ilup)
  30.   else
  31.     set y_linum to the lineCount of member "txbodymask"
  32.     jdocursor(p_ilup * -1)
  33.   end if
  34. end
  35.