主题:  Flash播放完后进入其他片断,这样设置对吗?

levy

职务:普通成员
等级:1
金币:0.0
发贴:23
#12001/6/7 10:58:03
我把Flash放在第一帧,又在第一帧设置脚本
on exitFrame me
global ptt
ptt=the playing of sprite 1
if ptt=1 then
go to the frame
else
go to movie "p1"
end if
end
但是不行,请问应如何设置?



cyiyun

职务:普通成员
等级:1
金币:0.0
发贴:116
#22001/6/7 11:43:23
1.尽量不要用全局变量,多用属性和局部变量
2.去掉flash的loop属性。



zwjn

职务:普通成员
等级:1
金币:0.0
发贴:110
#32001/6/7 12:08:48
我一般是这样干的
xxx:你要判断的flash放置的帧通道
on exitframe me
if sprite(xxx).frame go the frame
end if
end


不过这样做的时候你还要确认flash文件是不是整段都用到了moveClip



daisy_5d

职务:普通成员
等级:1
金币:0.0
发贴:17
#42001/6/13 18:21:20
如果整段都用到了moveClip又怎么办?
swf不在第一桢,或者dir有好几桢时,好象前面两种方式都出现问题,它老在几帧间跳动,请教flash和director都懂的人。
帮助总结一下吧,swf到底该怎么引用!



daisy_5d

职务:普通成员
等级:1
金币:0.0
发贴:17
#52001/6/14 9:09:30
我昨晚是了很多遍,只要flash文件不是整段都用到了moveClip,上面两种判断都可实现。
如过flash文件整段都用到了moveClip,就都不能实现。sprite(xxx).member.framecount 始终是=1的,the playing of sprite (xxx)也是判断为播完场景中的那一桢就算0了。