FLASH as3.0 在一个MC里是怎么实现某一个时间段按键盘A键则跳转到主时间轴第二祯。
functionreportKeyDown(event:KeyboardEvent):void{if(event.keyCode==65){parent.gotoAndS...
function reportKeyDown(event:KeyboardEvent):void
{
if(event.keyCode == 65)
{parent.gotoAndStop(2)};
//stage.removeEventListener(KeyboardEvent.KEY_DOWN,reportKeyDown);
}
stage.addEventListener(KeyboardEvent.KEY_DOWN,reportKeyDown);
但跳转那里报错,请高手帮忙 展开
{
if(event.keyCode == 65)
{parent.gotoAndStop(2)};
//stage.removeEventListener(KeyboardEvent.KEY_DOWN,reportKeyDown);
}
stage.addEventListener(KeyboardEvent.KEY_DOWN,reportKeyDown);
但跳转那里报错,请高手帮忙 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询