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

  1. property myRect
  2.  
  3. on beginSprite me
  4.   set adjustVLoc to 10 + the height of the member of sprite 9 + 18
  5.   set bugFix to the left of sprite 2
  6.   set myRect to the rect of sprite 2 + [0, 0, 0, adjustVLoc]
  7.   set the rect of sprite 2 to myRect
  8.   repeat with i in [1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]
  9.     set the locV of sprite i to the locV of sprite i + adjustVLoc
  10.   end repeat
  11.   checkBtnLocations(the bottom of myRect)
  12.   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))
  13.   set theRect to myRect + rect(offsetPoint, offsetPoint)
  14.   set the rect of the activeWindow to theRect
  15.   set the modal of the activeWindow to 1
  16.   set the visible of the activeWindow to 1
  17. end
  18.  
  19. on getPropertyDescriptionList
  20.   return [#myParams: [#comment: "Params:", #format: #integer, #default: VOID]]
  21. end
  22.