主题:  紧急求救,D中控制FLASH的EXE文件

星客

职务:普通成员
等级:1
金币:0.0
发贴:33
注册:2001/12/15 14:36:20
#12003/5/9 17:38:42
各位大虾,请问可以在D中控制FLASH的EXE文件吗??我想这么做:先打开一个D生成的EXE文件,里面有这样的语句(open "flash.exe"打开“flash.exe”这个文件,然后判断这个窗口关闭的时候,“go to frame+1"能实现吗??



wdy6832

职务:普通成员
等级:1
金币:0.0
发贴:3
注册:2003/3/3 23:05:08
#22003/5/9 18:29:19
看看刚才的贴子,哪里就有答案
on mouseUp me
open the moviepath & "*.exe"
end



HolyKnight

职务:普通成员
等级:1
金币:1.0
发贴:175
注册:2002/12/25 12:38:14
#32003/5/9 20:00:34
我看了你完成功能,不必把flash建成exe吧?把他当成d的演员一样可以呀!!
on exitFrame me
if sprite(whichsprite).frame go to the frame
else
go to frame+1
end if

end



星客

职务:普通成员
等级:1
金币:0.0
发贴:33
注册:2001/12/15 14:36:20
#42003/5/11 12:52:27
holyknight在上个帖子中说
引用:
我看了你完成功能,不必把flash建成exe吧?把他当成d的演员一样可以呀!!
on exitFrame me
if sprite(whichsprite).frame go to the frame
else
go to frame+1
end if

end




老大,不行啊~~~~SWF播放完以后就停了,没有跳到下一桢去啊~~~



我就是我

职务:版主
等级:6
金币:14.0
发贴:5466
注册:2004/1/13 17:02:03
#52003/5/11 17:54:08
on exitFrame me
if sprite().playing then go the frame
else go the frame +1
end

这样就可以了



星客

职务:普通成员
等级:1
金币:0.0
发贴:33
注册:2001/12/15 14:36:20
#62003/5/13 9:51:11
问题解决~谢谢~~~下面这个办法能实现吗???

(各位大虾,请问可以在D中控制FLASH的EXE文件吗??我想这么做:先打开一个D生成的EXE文件,里面有这样的语句(open "flash.exe"打开“flash.exe”这个文件,然后判断这个窗口关闭的时候,“go to frame+1"能实现吗??



jiesun

职务:普通成员
等级:1
金币:1.0
发贴:182
注册:2000/12/13 9:54:52
#72003/5/14 9:39:43
那你就试一下啦,houhou