home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1998 December / WPCDEC98.ISO / dxrs / Getstart.dxr / Internal_34_hotspots.ls < prev    next >
Encoding:
Text File  |  1998-10-12  |  472 b   |  13 lines

  1. on mouseDown
  2.   set col to the foreColor of word the mouseWord of member the mouseMember
  3.   set mname to the name of member the mouseMember
  4.   set mChars to the number of chars in mname
  5.   delete char mChars - 4 to mChars of mname
  6.   if col <> 255 then
  7.     set mWord to word the mouseWord of the text of member the mouseMember
  8.     set newM to mname & "/" & mWord
  9.     set the member of sprite 21 to member newM
  10.     set the member of sprite 23 to member "blank dot"
  11.   end if
  12. end
  13.