主题:  如何检测用directmedia播放的mpg是否播放完?


职务:普通成员
等级:1
金币:0.0
发贴:28
注册:2001/3/6 19:07:04
#12001/5/15 0:10:58
如何检测用directmedia播放的mpg是否播放完毕?然后继续向后走



5D精英

职务:普通成员
等级:3
金币:10.0
发贴:1340
注册:2000/10/24 12:13:42
#22001/5/15 21:10:43
用线索点
在节奏通道设置等待[end]



5D荣誉版主

职务:版主
等级:1
金币:10.0
发贴:177
注册:2000/9/17 8:56:36
#32001/5/16 9:27:02
on exitFrame me
set j = the duration of sprite 1
set q = the currenttime of sprite 1
if q < j then
go to the frame
else
go to the frame + 1
end if
end



zch3

职务:普通成员
等级:1
金币:0.0
发贴:25
注册:2001/4/3 16:41:10
#42001/5/16 15:22:45
on exitFrame
if sprite(2).movietime < sprite(2).duration then
go the frame
else
go marker(1)
end if
end




职务:普通成员
等级:1
金币:0.0
发贴:28
注册:2001/3/6 19:07:04
#52001/5/17 22:05:05
thanks!