зеркало из https://github.com/mozilla/shumway.git
Stubs SoundClass for AS3
This commit is contained in:
Родитель
a48903d1b1
Коммит
cf0d228ba8
|
@ -120,6 +120,7 @@
|
|||
<!--
|
||||
<script src="../../src/flash/media/SoundTransform.js"></script>
|
||||
-->
|
||||
<script src="../../src/flash/media/Sound.js"></script>
|
||||
<script src="../../src/flash/media/Video.js"></script>
|
||||
<!--
|
||||
<script src="../../src/flash/text/Font.js"></script>
|
||||
|
|
|
@ -123,6 +123,7 @@
|
|||
<!--
|
||||
<script src="../../src/flash/media/SoundTransform.js"></script>
|
||||
-->
|
||||
<script src="../../src/flash/media/Sound.js"></script>
|
||||
<script src="../../src/flash/media/Video.js"></script>
|
||||
<!--
|
||||
<script src="../../src/flash/text/Font.js"></script>
|
||||
|
|
|
@ -103,6 +103,7 @@
|
|||
<!--
|
||||
<script src="../flash/media/SoundTransform.js"></script>
|
||||
-->
|
||||
<script src="../flash/media/Sound.js"></script>
|
||||
<script src="../flash/media/Video.js"></script>
|
||||
<!--
|
||||
<script src="../flash/text/Font.js"></script>
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
const SoundDefinition = (function () {
|
||||
var def = {
|
||||
initialize: function initialize() {
|
||||
}
|
||||
};
|
||||
|
||||
def.__glue__ = {
|
||||
native: {
|
||||
instance: {
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
return def;
|
||||
}).call(this);
|
|
@ -124,7 +124,8 @@ var as3error = {};
|
|||
M("flash.text.TextField", "TextFieldClass", TextFieldDefinition),
|
||||
M("flash.text.StaticText", "StaticTextClass", StaticTextDefinition),
|
||||
|
||||
M("flash.text.Video", "VideoClass", VideoDefinition),
|
||||
M("flash.media.Sound", "SoundClass", SoundDefinition),
|
||||
M("flash.media.Video", "VideoClass", VideoDefinition),
|
||||
|
||||
M("flash.utils.Timer", "TimerClass", TimerDefinition)].forEach(function (m) {
|
||||
var path = m.className.split(".");
|
||||
|
|
Загрузка…
Ссылка в новой задаче