|
主题: 小问题
|
 秀成正果
职务:普通成员
等级:1
金币:0.0
发贴:2
注册:2003/6/18 10:27:59
|
#12003/6/19 10:16:53
我用一个avi作片头动画 输入的 “on exitFrame if the movieRate of sprite 2 <> 0 then go the frame 2 end exitFrame ” 总提示有错误 “Scrip error:Expectted THEN if the movieRate of sprite 2 <> 0 ?" 我很菜的,那位大侠帮忙指点。刚学办月就有任务了!苦啊!
|
 threem
职务:普通成员
等级:2
金币:1.0
发贴:338
注册:2001/6/14 13:52:15
|
#22003/6/19 11:20:31
是要等视频播放完毕自动跳转到下一帧吗? 这样:
on exitframe me if sprite(1).movietime go to the frame else go to the frame +1 end if end
|
 lovelovegm
职务:普通成员
等级:1
金币:0.0
发贴:11
注册:2002/11/6 11:13:06
|
#32003/6/19 11:22:05
应该是: on exitFrame if the movieRate of sprite 2 <> 0 then go the frame 2 end if end 吧
|
 我就是我
职务:版主
等级:6
金币:14.0
发贴:5466
注册:2004/1/13 17:02:03
|
#42003/6/19 11:56:17
on goon --自动转化程序 if playmember contains “flash文件格式“ then if the timer>member(playmember).framecount/member(playmember).framerate*60 then (你想干什么) --判断flash文件的总长度,以时间表示 end if if playmember contains “视频文件格式“ then if the timer>member(playmember).duration then (你想干什么) end if --判断视频文件的总长度,以时间表示 unloadmember(playmember) --清理内存 end 不知这样符不符合你的要求
|
 秀成正果
职务:普通成员
等级:1
金币:0.0
发贴:2
注册:2003/6/18 10:27:59
|
#52003/6/24 11:07:52
谢谢以上三位大侠帮助
|