开发者

Coding Problems-help with AS3 quiz game

开发者 https://www.devze.com 2022-12-23 14:06 出处:网络
Ok, so could someone tell me what\'s wrong with this script? stop(); Start_Game.addEventListener(Mous开发者_Go百科eEvent.CLICK, Start_function);

Ok, so could someone tell me what's wrong with this script?

stop();

Start_Game.addEventListener(Mous开发者_Go百科eEvent.CLICK, Start_function);

function Start_function(e:Event){ gotoAndPlay("Question Board"); }


stop();

Start_Game.addEventListener(MouseEvent.CLICK, Start_function);

function Start_function(e:MouseEvent){ gotoAndPlay("Question Board"); }

Instead of e:Event, write e:MouseEvent.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号