home *** CD-ROM | disk | FTP | other *** search
/ Comic Book Maker: The Smurfs / COMIC.iso / mac / data_m / dialog / 00028.ls < prev    next >
Encoding:
Text File  |  1999-07-07  |  1.2 KB  |  22 lines

  1. global gObj3
  2.  
  3. on mouseDown
  4.   if the locH of sprite the clickOn < 0 then
  5.     if not (the optionDown) then
  6.       exit
  7.     end if
  8.     set the loc of sprite the clickOn to point(10, 10)
  9.     set the ink of sprite the clickOn to 0
  10.   end if
  11.   set cBalloonTypeSize to the cBalloonTypeSize of gObj3
  12.   set cBalloonType to the cBalloonType of gObj3
  13.   set bigFieldPropList to getAt(getAt(getAt(the allBalloonInfoList of gObj3, cBalloonType), cBalloonTypeSize), 2)
  14.   set theFontSize to getAt(bigFieldPropList, 1)
  15.   set thelineHeight to getAt(bigFieldPropList, 2)
  16.   set thevLocOffset to getAt(bigFieldPropList, 3)
  17.   set theOffset to getLast(getAt(the allBalloonInfoList of gObj3, cBalloonType), cBalloonTypeSize)
  18.   set inf to "offset:" && the loc of sprite 10 + [0, thevLocOffset] - the loc of sprite 9 && "/" && theOffset & RETURN & "size:" && the textSize of member the activeField of gObj3 && "/" && theFontSize & RETURN & "lineHite:" && the textHeight of member the activeField of gObj3 && "/" && thelineHeight & RETURN & "vLocOffset:" && the initialLocV of sprite(10) - the locV of sprite 10 && "/" && the vLocOffset of gObj3
  19.   put inf into field the memberNum of sprite the clickOn
  20.   updateStage()
  21. end
  22.