home *** CD-ROM | disk | FTP | other *** search
/ Let's Get Started! with Coolpix / LetsGetStartedWithCoolpix.iso / mac / macdata / faq03_9_31.dxr / 00002_script-gotoFrame.ls next >
Encoding:
Text File  |  2003-02-23  |  382 b   |  20 lines

  1. on exitFrame me
  2.   global gLaunchVid, fastrew, backwardsflag
  3.   i = sprite(2).duration - 15
  4.   if sprite(2).movieTime >= i then
  5.     go("two")
  6.     exit
  7.   else
  8.     movcon()
  9.     switcher()
  10.     if backwardsflag = 1 then
  11.       fastrew = 1
  12.       sprite(2).movieTime = sprite(2).duration - 1000
  13.       backwardsflag = 0
  14.       go(the frame)
  15.       exit
  16.     end if
  17.     go(the frame)
  18.   end if
  19. end
  20.