home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1995 November / SHOWCASE.ISO / files / gallery.dir / 00006_Script_6 < prev    next >
Text File  |  1995-06-12  |  687b  |  20 lines

  1. global cDemoQT, gPauseSprite, gPlaySprite, gStopSprite
  2. on mouseDown
  3.   puppetSprite (the clickon), 1
  4.   set the castNum of sprite gStopSprite = the number of cast "stopGallery lit"
  5.   repeat while the stilldown
  6.     updatestage
  7.   end repeat
  8. end
  9.  
  10. on mouseUp
  11.   put the clickOn into whichSprite
  12.   puppetSprite whichSprite, 1
  13.   set the movieTime of sprite cDemoQT = 0
  14.   set the movieRate of sprite cDemoQT = 0
  15.   go to the frame + 1
  16.   set the castNum of sprite gStopSprite = the number of cast "stopGallery"
  17.   set the castnum of sprite gPauseSprite = the number of cast "pauseGallery"
  18.   set the castNum of sprite gPlaySprite = the number of cast "playGallery"
  19.   updatestage
  20. end