早教吧 育儿知识 作业答案 考试题库 百科 知识分享

1084:Syntaxerror:expectingrightbracebeforedot.publicfunctionscript():void{System.useCodePage=true;musicFun();\x05\x05\x05with({}){\x05\x05\x05\x05{}.fanhui=function(event:Event){navigateToURL(newURLRequest("../index.asp"),"self");retur

题目详情
1084:Syntax error:expecting rightbrace before dot.
public function script() :void
{
System.useCodePage = true;
musicFun();
\x05\x05\x05
with ({})
{
\x05\x05\x05\x05
{}.fanhui = function (event:Event)
{
navigateToURL(new URLRequest("../index.asp"),"_self");
return;
}// end function
}
\x05\x05\x05
logo_mc.addEventListener(MouseEvent.MOUSE_DOWN,function (event:Event)
{
navigateToURL(new URLRequest("../index.asp"),"_self");
return;
}// end function
\x05\x05\x05
);
var isurlS:* = String(ExternalInterface.call("function getURL(){return window.location.search;}"));
isurlS = isurlS.substring(1,isurlS.length);
zhiarr = isurlS.split("=");
Papervision3D.VERBOSE = false;
Init();
if (String(zhiarr[1]))
{
hao = int(zhiarr[1]);
imgclassF();
Create_gallery();
}
else
{
imgclassF();
}
return;
}// end function
报错行:{}.fanhui = function (event:Event)
▼优质解答
答案和解析
点前面少了右括号,没学过这种语言,你再看看代码有什么语法错误,尤其是括号的使用