1084:语法错误:rightparen 应在 dot 之前.public function launchLink(flash.accessibility:String) :void{var _loc_2:* = new PromoContentEvent(PromoContentEvent.CONTENT_LINK,flash.accessibility);dispatchEvent(_loc_2);return;}// end function提示
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/13 03:32:08
1084:语法错误:rightparen 应在 dot 之前.public function launchLink(flash.accessibility:String) :void{var _loc_2:* = new PromoContentEvent(PromoContentEvent.CONTENT_LINK,flash.accessibility);dispatchEvent(_loc_2);return;}// end function提示
1084:语法错误:rightparen 应在 dot 之前.
public function launchLink(flash.accessibility:String) :void
{
var _loc_2:* = new PromoContentEvent(PromoContentEvent.CONTENT_LINK,flash.accessibility);
dispatchEvent(_loc_2);
return;
}// end function
提示出错的是这行:public function launchLink(flash.accessibility:String) :void
怎么修改呢?我新手.
不行,没错误提示了,但是也没了文字的那个效果·
1084:语法错误:rightparen 应在 dot 之前.public function launchLink(flash.accessibility:String) :void{var _loc_2:* = new PromoContentEvent(PromoContentEvent.CONTENT_LINK,flash.accessibility);dispatchEvent(_loc_2);return;}// end function提示
没见过flash.accessibility这样的参数,你试试改成下面的.
public function launchLink(flashaccessibility:String) :void
{
var _loc_2:* = new PromoContentEvent(PromoContentEvent.CONTENT_LINK,flashaccessibility);
dispatchEvent(_loc_2);
return;
}// end function