home *** CD-ROM | disk | FTP | other *** search
/ Comic Book Maker: The Smurfs / COMIC.iso / mac / data_m / dialog / 00034_initPrintOptionsDialogBhvr.ls < prev    next >
Encoding:
Text File  |  1999-07-07  |  1001 b   |  25 lines

  1. property myParams
  2. global gObj6
  3.  
  4. on beginSprite me
  5.   set adjustVLoc to 10 + the height of the member of sprite 10 + 18
  6.   set bugFix to the left of sprite 2
  7.   set myRect to the rect of sprite 2 + [0, 0, 0, adjustVLoc]
  8.   set the rect of sprite 2 to myRect
  9.   repeat with i in [1, 9, 11, 12, 13, 14]
  10.     set the locV of sprite i to the locV of sprite i + adjustVLoc
  11.   end repeat
  12.   disable(sprite(14 - (the pColorMode of gObj6 * 2)))
  13.   set offsetPoint to point(getAt(the rect of the stage, 1) + ((640 - the width of myRect) / 2), getAt(the rect of the stage, 2) + ((480 - the height of myRect) / 2))
  14.   checkBtnLocations(the bottom of myRect)
  15.   set theRect to myRect + rect(offsetPoint, offsetPoint)
  16.   set the rect of the activeWindow to theRect
  17.   set the modal of the activeWindow to 1
  18.   set the visible of the activeWindow to 1
  19.   set the keyDownScript to "handleDefaultKeyDown(script 1)"
  20. end
  21.  
  22. on getPropertyDescriptionList
  23.   return [#myParams: [#comment: "Params:", #format: #integer, #default: VOID]]
  24. end
  25.