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

:: going to marker or frame after mpg plays ::

Status
Not open for further replies.

MaTs4d

Technical User
Feb 13, 2002
48
0
0
US
hi there
is there an easy way to go to a marker or frame number after an intro mpg plays?

lets say you pop in the CD and there's an intro mpg.. once it stops playing it takes you to the main menu.. think it can be done by draggind the mpg length over the timeline but thats not very accurate.. might get chopped on slower machines..
is there a routine to do that?
thanks !
Matt
 
try this code, it jump to marker "main" after played the movie (ex. mpg) :

if sprite(me.spriteNum).movieTime = sprite(me.spriteNum).member.duration then
go to movie "main"

end if

hope this help :)
 
you could also double click on the tempo line (the first line in the upper portion of the score), and choose "wait for cue point", and select the mp3's end from the pull down list.
 
hey andy , thanks a million.. that really works great and its easy to do


thanks man !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top