主题:  紧急求助!

daily

职务:普通成员
等级:1
金币:0.0
发贴:11
#12002/2/20 16:17:15
我有几个SWF文件,想在DIRECTOR 8.5中调用,但有人提出当每个FLASH文件放到结束的这一帧时,能暂停2秒(SWF 文件没有暂停),而后再回到主界面去选择下一个该播放的SWF文件。
在不改动FLASH源文件的情况下,能用DIRECTOR编程来实现吗?
谢谢!



D计划-混沌

职务:管理员
等级:6
金币:15.2
发贴:3528
#22002/2/21 2:08:23
on exitFrame me
if sprite(i).frame = sprite(i).member.frameCount-1 then
set the timeoutLength to 2 * 60
end if
go to the frame
end
on timeOut
alert "kk"
end timeOut

property zqflovertime
on beginsprite
set zqflovertime=0
end
on exitFrame me
if sprite(1).frame = sprite(1).member.frameCount-1 then
set zqflovertime=1
starttimer
end if
if zqflovertime=1 and the timer=2*60 then
alert "jj"
end if
go to the frame
end

编辑历史:[这消息被54zq编辑过(编辑时间2002-02-21 03:36:47)]
[这消息被54zq编辑过(编辑时间2002-02-21 03:52:12)]