为什么我做的中文下拉菜单运行起来会死机,改用英文却不会
(不是那种在顶上的menu,是在舞台上的那种)
源码如下:property pmember,pline
on beginsprite me
pmember = sprite(me.spritenum).member
pmember.border = 1
pmember.boxdropshadow = 2
end
on mouseenter me
pmember.boxdropshadow = 0
sprite(me.spritenum).loc = sprite(me.spritenum).loc + point(1,1)
put "卡片" into pmember.line[2]
put "记录" into pmember.line[3]
put "统计" into pmember.line[4]
put "打印" into pmember.line[5]
put "图表" into pmember.line[6]
put "退出" into pmember.line[7]
end
on mouseleave me
pmember.boxdropshadow = 2
sprite(me.spritenum).loc = sprite(me.spritenum).loc - point(1,1)
pmember.text = "start"
on mousewithin me
pline = the mouseline
if pline > 1 then
hilite line pline of field pmember
end if
end
on mouseUp me
if pline = 2 then
go to frame "001"
else if pline = 3 then
go to frame "02"
else if pline = 4 then
go to frame "003"
else if pline = 5 then
go to frame "004"
else if pline = 6 then
go to frame "005"
else if pline =7 then
exit
end if
end