主题:  我该怎样设定,放完当前avi,再接着播放下面的内容呢?

gintonic

职务:普通成员
等级:1
金币:0.0
发贴:8
注册:2002/8/13 10:00:57
#12002/8/13 10:25:48
我将一段1分钟长的avi拖进score window
可是播放的时候,它不等avi放完,就接着往下跑了。。。
我该怎样设定,放完当前avi,再接着播放下面的内容呢?


需要怎样的lingo? 我查了书了,没找到亚。



特立独行

职务:普通成员
等级:1
金币:1.0
发贴:263
注册:2002/1/25 0:09:06
#22002/8/13 11:02:37
在QT的最后一帧加:
on exitframe
if the moverate of sprite x <>0 then
go the frame
end if
end exitframe

编辑历史:[这消息被特立独行编辑过(编辑时间2002-08-25 12:26:21)]


gintonic

职务:普通成员
等级:1
金币:0.0
发贴:8
注册:2002/8/13 10:00:57
#32002/8/13 11:48:32
特,对不起,它说script error. 到底哪里错了?
on exitframe
if the moverate of sprite x <>0 then
go the frame
end if
end exitframe

难道是movierate?也不对呀。。



特立独行

职务:普通成员
等级:1
金币:1.0
发贴:263
注册:2002/1/25 0:09:06
#42002/8/13 15:12:46
上面的是针对qt格式的,对于avi,用下面的:
on exitframe
if sprite(1).movietimego the frame
else
go the frame+1
end if
end exitframe



arlix

职务:普通成员
等级:1
金币:0.0
发贴:10
注册:2002/8/8 21:01:01
#52002/8/14 8:46:19
可以用特殊通道,tempo选wait for cue point在channel中选1:p1
cue point中选end即可!



5dfriend

职务:普通成员
等级:1
金币:0.0
发贴:3
注册:2001/3/9 8:24:02
#62002/8/14 15:11:32
我对代码不是很熟悉,我也是想把一个AVI文件放在一帧里,想让它播完之后再播放下一个SWF文件,该怎么办?我把这代码放在脚本通道里可就是不行啊。



3dmakesi

职务:普通成员
等级:1
金币:0.0
发贴:11
注册:2002/8/23 2:20:31
#72002/8/24 0:10:36
很简单,Navigation中拖一个Loop for x seconds给它,再在要继续播放的地方设一个Maker,将Loop for x seconds设为转向Maker就行了。



特立独行

职务:普通成员
等级:1
金币:1.0
发贴:263
注册:2002/1/25 0:09:06
#82002/8/25 12:30:09
我做个总结:
1:对于qt
on exitframe
if the moverate of sprite x <>0 then
go the frame
end if
end exitframe

2:对于avi
on exitframe
if sprite(1).movietimego the frame
else
go the frame+1
end if
end exitframe

3:对于flash
on exitframe
if sprite(1).playing then
go the frame
else
go the frame+1
end if
end