home *** CD-ROM | disk | FTP | other *** search
/ PC Direct 1995 September / PCD0995.ISO / files / gallery.dir / 00044.ls < prev    next >
Encoding:
Text File  |  1994-12-18  |  379 b   |  14 lines

  1. on mouseUp
  2.   global gProductSelect, cDemoQT, gLeftFromQT, gDemoButtonSprite
  3.   if the castNum of sprite gDemoButtonSprite = the number of cast "GoDemo" then
  4.     if the castType of cast the castNum of sprite cDemoQT = #digitalVideo then
  5.       set gLeftFromQT to 1
  6.     else
  7.       set gLeftFromQT to 0
  8.     end if
  9.     playGalleryDemo(gProductSelect)
  10.   else
  11.     nothing()
  12.   end if
  13. end
  14.