配电箱的规格型号:在AuthorWare里如何控制Flash的播放进度?

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/27 22:55:28
我在AuthorWare里插入了Flash动画,但是它运得时会一直进行下去,我想加入几个按钮实现控制播放,暂停,快进等功能,在AuthorWare里应该怎样实现?

播放:CallSprite(@"flashmovie",#play)

暂停与继续(同一按钮):
if GetSpriteProperty(@"flashmovie", #playing) = FALSE then
CallSprite(@"flashmovie", #play)--继续
else if GetSpriteProperty(@"flashmovie", #playing) = TRUE then
CallSprite(@"flashmovie", #hold)--暂停
end if

快进:
currentframe:=GetSpriteProperty(@"flashmovie",#frame)
CallSprite(@"flashmovie",#gotoFrame,currentframe+10)
快退:
currentframe:=GetSpriteProperty(@"flashmovie",#frame)
CallSprite(@"flashmovie",#gotoFrame,currentframe-10)

我们在QQ里详谈,我的qq是52416399