#12002/7/29 10:32:00
我今天试了一下:
on mouseup me
(the stage).rect=(the desktoprectlist)[1]
( the stage).drawrect=(the desktoprectlist)[1]
end
做的过程的时候,没有任何出错信息。但是当我发布成exe,点击按钮运行的时候,却提示脚本有错。
恢复窗口原始尺寸的时候,出现:script error:variable used before assigned a value
(the stage).drawrect=rect(0,0,x,?y)
我想这两段码应该是加在按钮上的。
global x ,y
y=the stagebottom- the stagetop
x=the stagerighe- the stageleft
end 这段代码应该是放在整个影片的脚本中。不知道是哪里有错误。