这里是我的代码:为什么onPress功能不起作用?
stop();
btn_start.onPress = function()
gotoAndStop("gameon")
我有一个错误,它听起来像:“
Access of possibly undefined property onPress through a Reference with static type
flash.display:SimpleButton.
我转换的文本成一个按钮,我给了他一个ID,我不知道做什么,不判断,我是初学者。
谢谢!
我不知道你在问什么。如果您的手机无法获得有用的代码,那么您可能需要等到可以正常使用计算机并进入计算机,因为无法从您提供的内容中找出任何结果。 – andrewsi
只是“;” “{”我错过了,关于onPress功能,不工作 –