FLASH MX 2004中动作—按钮的3Dzhiti_btn.onPress = function()发生了语法错误
以下是所以代码:3Dzhiti_btn.onPress=function(){jiuyi_mc._visible=false;varpd=ture;if(pd==true...
以下是所以代码:
3Dzhiti_btn.onPress = function(){
jiuyi_mc._visible = false;
var pd = ture;
if (pd == true) {
jiuyi_mc._visible = true;
pd = false;
}else{
jiuyi_mc._visible = false
;pd = true;
}
};
照着百度来的写的,Flash MX 2004 提示说:
**错误** 场景=场景 2, 图层=图层 2, 帧=1:第 2 行: 语法错误。
3Dzhiti_btn.onPress = function(){
求指教 展开
3Dzhiti_btn.onPress = function(){
jiuyi_mc._visible = false;
var pd = ture;
if (pd == true) {
jiuyi_mc._visible = true;
pd = false;
}else{
jiuyi_mc._visible = false
;pd = true;
}
};
照着百度来的写的,Flash MX 2004 提示说:
**错误** 场景=场景 2, 图层=图层 2, 帧=1:第 2 行: 语法错误。
3Dzhiti_btn.onPress = function(){
求指教 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询