主题:  我在dir里的Flash控制器控制Flash可播放,暂停。有

yaoxiaoyue

职务:普通成员
等级:1
金币:0.0
发贴:8
注册:2006/8/13 17:01:32
#12006/8/20 23:07:03
我在dir里的Flash控制器控制Flash可播放,暂停。有进度滑块。我想在播放到最后一帧时,自动跳到下一个有Flash控制器播放的Flash。我用以下程序无法跳转:on exitFrame me
if sprite(1).playing then
go to the frame
else
go to the Frame+1
end if
end
或用 on exitFrame me
if sprite(1).frame<sprite(1).member.framecount then
go to the fram e
else
go to the frame+1
end if
end
本Flash控制器是奥古中华库行为库的“中华--元素控制”制作的。
我把此行为的一段改了一下,想让它自动跳转。
--播放结束时,恢复状态。
if sprite(Mynum).frame=(sprite(Mynum).member.frameCount) then
sprite(Mynum).stop()
sprite(Mynum).gotoframe(1)
CanFastPlay=false
sendallsprites(#SwfButtonstateShift,False)
SetCanShowPlayPauseState me,false
end if
把以上改为
if sprite(1).frame<sprite(1).member.framecount then
go to the fram e
else
go to the frame+1
end if
当跳到下一个Flash控制器播放Flash时,进度滑块没有了,这是什么原因?请高手指教。我上传了两个dir源文件,一个是原来的Flash控制器,一个是Flash控制器播放Flash后自动跳转.



Shockwave 动画

Flash 动画