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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Jumping to next sprite (movie) when 1st has finished playing

Status
Not open for further replies.

BkevinT

Technical User
Nov 30, 2004
3
NO
Hi.

I have several different Quicktime movies I need to play one after the other. Each movie takes up one frame in the score. I want the first movie to finish playing & then jump to the next movie. So far, I have only been able to play the first movie; but the second wont load; or having it skip the first movie altogether and jump straigh to the 2nd.

These are the commands I tried:
On ExitFrame Me
Go To The Frame

&

On EnterFrame Me
Go To The Frame + 1
 
The strategy would be: on exitFrame check if the QuickTime movie has reached the end, if it has then go to the next frame, if it hasn't then stay in the frame.
--
on exitFrame me
if sprite(QTMovieSpriteNum).movieTime >= sprite(QTMovieSpriteNum).member.duration then
go frame + 1
else
go the frame
end if
end exitFrame


Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top