Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quicktime movies failing on exit frame

Status
Not open for further replies.

dutch222

Technical User
Jan 8, 2003
7
NL
Why does a quicktime movie (130 sec, 720x576) fail to respond on the command (behavior as well as lingoscipt) ON EXIT FRAME on end of the loop go to the next frame.
I had about 17 identical movies, nine did respond and eight did not. The reasons why they did not respond are a mistery to me. I tried several ON EXIT FRAME commands and got the interactive program working with tricks. But the essential
commands from the book failed. Suggestions are welcome.
 
Could you please post the code here. Would be easier to spot that way...
Mayuresh
 
Place your QuickTime movie cast member in the Score as a single frame Sprite and attach following Lingo as a Behaviour Script. The play-head will stay in the frame until the end of the QuickTime movie and then proceeds to the next frame.

Code:
property spriteNum
global videoDuration

on beginSprite me
  videoDuration = sprite(spriteNum).duration
end

on exitFrame me
  if sprite(spriteNum).movieTime < videoDuration then
    go the frame
  else
    go the frame + 1
  end if
end
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top