OSDN Git Service

Version 0.6.169, add doc comment.
[pettanr/clientJs.git] / 0.6.x / js / 07_audio / 03_XSilverlightAudio.js
index 501326d..c716a9a 100644 (file)
@@ -59,7 +59,7 @@ if( X[ 'Pulgin' ][ 'SilverlightEnabled' ] ){
                                this._source     = source;\r
                                // X.Audio._slOnload_ は不可\r
                        this._onload     = 'XAudioSilverlightOnLoad' + ( ++X_Audio_SLAudio_uid );\r
-                               this._callback   = window[ this._onload ] = X_Callback_create( this, this.onSLReady );\r
+                               this._callback   = window[ this._onload ] = X_Closure_create( this, this.onSLReady );\r
                        this.xnodeObject = X_Node_body\r
                                [ 'create' ]( 'object', {\r
                                                type   : 'application/x-silverlight-2',\r
@@ -86,7 +86,7 @@ if( X[ 'Pulgin' ][ 'SilverlightEnabled' ] ){
                                        \r
                                        window[ this._onload ] = null;\r
                                        delete this._onload;\r
-                                       X_Callback_correct( this._callback );\r
+                                       X_Closure_correct( this._callback );\r
                                        delete this._callback;\r
        \r
                                        sender[ 'children' ][ 'add' ](\r
@@ -232,7 +232,7 @@ if( X[ 'Pulgin' ][ 'SilverlightEnabled' ] ){
                                                        // window への delete に ie5 は対応しないが、そもそも ie5 は Silverlight に非対応\r
                                                        window[ this._onload ] = null;\r
                                                        delete this._onload;\r
-                                                       X_Callback_correct( this._callback );\r
+                                                       X_Closure_correct( this._callback );\r
                                                };\r
                                                this.xnodeObject[ 'kill' ]();\r
                                                break;\r
@@ -290,7 +290,7 @@ if( X[ 'Pulgin' ][ 'SilverlightEnabled' ] ){
                                _onInterval : function(){\r
                                        if( !this.playing ){\r
                                                delete this._interval;\r
-                                               return X_Callback_UN_LISTEN;\r
+                                               return X_CALLBACK_UN_LISTEN;\r
                                        };\r
                                        this.target[ 'dispatch' ]( X_EVENT_MEDIA_PLAYING );\r
                                },\r
@@ -326,7 +326,7 @@ if( X[ 'Pulgin' ][ 'SilverlightEnabled' ] ){
                                \r
                                if( this.autoLoop ){\r
                                        console.log( '========= loop?' );\r
-                                       if( !( this.target[ 'dispatch' ]( X_EVENT_MEDIA_BEFORE_LOOP ) & X_Callback_PREVENT_DEFAULT ) ){\r
+                                       if( !( this.target[ 'dispatch' ]( X_EVENT_MEDIA_BEFORE_LOOP ) & X_CALLBACK_PREVENT_DEFAULT ) ){\r
                                                console.log( '========== loopした' );\r
                                                this.looped = true;\r
                                                this.target[ 'dispatch' ]( X_EVENT_MEDIA_LOOPED );\r