问题标签 [swfmill]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
12 问题
0
投票
1
回答
862
浏览
audio - 在 Haxe 中使用声音资源
我在 Haxe 中播放声音资产时遇到问题。我能够毫无错误地导入 mp3 swfmill
:
在我的Main.hx
中,我创建了一个名为的类Shoot
,它的扩展Movieclip
方式与我用于.png
资源的方式相同。然后我使用这个类如下:
但是在运行时,当执行这段代码时,我得到了错误
我在我的 swf xml 文件或 haxe 代码中犯了什么明显的错误?如何进一步调试此错误?
0
投票
1
回答
49
浏览