主题:  director问题:下面的代码,大侠帮我看一下,老是出错!

菜兔儿

职务:普通成员
等级:1
金币:0.0
发贴:5
#12004/4/15 21:23:13
on mouseEnter me
cursor 280

end
on mouseLeave me
cursor -1

end

on mouseUp
aaa=new(xtra "FileXtra4"
bbb=aaa.fx_FileSaveAsDialog("F:\", "a2.rar", "wwww", 0)
aaa.fx_FileCopy("E:\tur\spoon\a2.rar",bbb)

end
这个是,用插件拷贝东西,但是拷贝不上


global onf
on mouseenter
cursor 280
end
on mouseleave
cursor -1
end
on mouseup --当弹起鼠标时告诉窗口电影。。。。

if onf = 1 then
movieRate=0
onf = 0
else
if onf = 0 then
movieRate=1
onf = 1
end if
end if

if onf = 1 then
sprite(13).member = "pause"
else
sprite(13).member = "continue"
end if
on exitframe
if onf =0 then
go the frame
else
go to the frame + 1
end if
end
这个是,在开始的时候是暂停的,必须单击一下按钮才播放,
明天就必须要给人家了,我太菜,搞不定,

那位大侠帮帮忙呀,小弟不胜感激!!



我是小马

职务:普通成员
等级:3
金币:17.0
发贴:794
#22004/4/16 21:15:26
出什么错误?

所用的FileXtra4是否是试用版?



htkfifa

职务:普通成员
等级:1
金币:0.0
发贴:127
#32004/4/20 10:01:53
第一个没有变量和设置右建功能~
第二个D里面本身就有等待鼠标点击播放的命令~不许再写了吧~~~~