主题:  求救!

mler

职务:普通成员
等级:1
金币:3.0
发贴:268
注册:2000/10/16 15:16:52
#12002/5/2 2:55:01
on exitFrame me
updateStage
if sprite(3).movierate=1 then
go the frame
end if

end

AVI文件可以这样定义让它播放到最后一桢,但对MPG或DAT不管用,这是为什么??
怎样解决???



zzcrc

职务:普通成员
等级:3
金币:1.0
发贴:961
注册:2001/2/6 15:28:13
#22002/5/5 1:25:06
如果是MOG你可以用这个办法来解决,如果Mpg是用DirectMedia插件播放的时候
on exitFrame me
inf sprite(3).currentTime go to the frame
else
go to the frame +1
end if
end

如果是使用QT5.0直接import的,最好用
on exitFrame me
inf sprite(3).MovieTime go to the frame
else
go to the frame +1
end if
end


你自己试看比较看看