-- -- Lingo DOM syntax handlers for all 'go' commands -- Ken Loge - http://diginoodles.com -- -- go to frame 1 of a Director Movie on mouseUp me _movie.go(1) end -- go to a frame labeled "welcome" -- of a Director Movie on mouseUp me _movie.go("welcome") end -- go to a frame labeled "welcome" -- of a Director Movie on mouseUp me _movie.go(marker("welcome")) end -- go to a frame labeled "welcome" -- of a Director Movie on mouseUp me _movie.go(label("welcome")) end -- go to the next marker in a movie on mouseUp me _movie.goNext() end -- go to the previous marker in a movie on mouseUp me _movie.goPrevious() end -- go to the first marker in a movie on mouseUp me _movie.marker(1) end -- go to the third marker in a movie on mouseUp me _movie.marker(1 + 2) end -- go to the closest previous marker in a movie on mouseUp me _movie.goLoop() end -- go to frame 1 of an external Director Movie -- named "ExtMovie". on mouseUp me _movie.go(1 , "ExternalMovie") end -- go to a frame labeled "intro" of an -- external Director Movie named "ExtMovie". on mouseUp me _movie.go("intro" , "ExtMovie") end -- USING PLAY AND PLAY DONE - METHOD 1 -- The next two handlers work together -- go to a frame labeled "part 2", but remember -- the frame where "play" was called on mouseUp me _movie.play("part 2") end -- return to the frame and movie where the "play" -- command was issued on mouseUp me play done end -- NOTE: '_movie.playDone()' should work in the example above, but -- is broken in Director MX 2004. For now the old style syntax of -- 'play done' will work until the issue is fixed, probably in the -- next version of Director. -- USING PLAY AND PLAY DONE - METHOD 2 -- The next two handlers work together -- go to a frame labeled "part 2", but remember -- the frame and movie where "play" was called on mouseUp me _movie.play("part 2", "ExtMovie") end -- return to the frame and movie where the "play" -- command was issued on mouseUp me play done end